#3D1A63#3D1A63

#3D1A63 is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.2% C 0.122 H 301.6°. Best body text is #FFFFFF at 13.76:1 contrast (WCAG AA passes).

Color values

HEX#3D1A63
RGBrgb(61, 26, 99)
HSLhsl(269, 58%, 25%)
HSVhsv(269, 74%, 39%)
CMYKcmyk(38.4%, 73.7%, 0%, 61.2%)
CIE-LABlab(18.50, 32.77, -36.59)
CIE-LCHlch(18.50, 49.11, 311.85°)
OKLaboklab(31.19% 0.064 -0.1042)
OKLCHoklch(31.19% 0.122 301.6)
XYZxyz(4.5455, 2.6317, 12.0705)
Luminance0.0263 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1A63 #40631A
analogous
#1A1C63 #3D1A63 #621A63
triadic
#3D1A63 #633D1A #1A633D
tetradic
#3D1A63 #631A1C #40631A #1A6362
square
#3D1A63 #631A1C #40631A #1A6362
split-complementary
#3D1A63 #63621A #1C631A
monochromatic
#0F0618 #1F0D33 #3D1A63 #5B2793 #7933C4

Accessibility & contrast

On white

13.76
#3D1A63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#3D1A63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D1A63
13.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1A63#FFFFFF#000000##FFFFFF
##3D1A631.0013.761.5313.76
#FFFFFF13.761.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D65
Deuteranopia (green-blind)
#002D61
Tritanopia (blue-blind)
#352B3C
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #3d1a63;
/* rgb */ color: rgb(61, 26, 99);
/* oklch */ color: oklch(31.2% 0.122 301.6);
Tailwind
colors: {
  custom: {
    50: '#765a90',
    500: '#3d1a63',
    950: '#000000',
  },
}
SCSS
$custom: #3d1a63;
$custom-light: #765a90;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1a63",
  "rgb": {
    "r": 61,
    "g": 26,
    "b": 99
  },
  "hsl": {
    "h": 268.767,
    "s": 58.4,
    "l": 24.51
  },
  "oklch": {
    "l": 0.31193,
    "c": 0.12227,
    "h": 301.6
  },
  "luminance": 0.02632
}

Semantic roles & 50–950 ramp

primary
#3D1A63
secondary
#6E9940
accent
#E24697
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09040C
muted
#7B797D

Preview Lab

Preview with #3D1A63

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#3D1A63 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva