#3D209E#3D209E

#3D209E is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.7% C 0.186 H 283.4°. Best body text is #FFFFFF at 11.06:1 contrast (WCAG AA passes).

Color values

HEX#3D209E
RGBrgb(61, 32, 158)
HSLhsl(254, 66%, 37%)
HSVhsv(254, 80%, 62%)
CMYKcmyk(61.4%, 79.7%, 0%, 38%)
CIE-LABlab(25.24, 46.81, -62.91)
CIE-LCHlch(25.24, 78.41, 306.65°)
OKLaboklab(37.66% 0.0432 -0.1814)
OKLCHoklch(37.66% 0.186 283.4)
XYZxyz(8.6106, 4.4932, 32.7546)
Luminance0.0449 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D209E #819E20
analogous
#20429E #3D209E #7C209E
triadic
#3D209E #9E3D20 #209E3D
tetradic
#3D209E #9E2042 #819E20 #209E7C
square
#3D209E #9E2042 #819E20 #209E7C
split-complementary
#3D209E #9E7C20 #429E20
monochromatic
#160B38 #29166B #3D209E #512AD1 #795BDE

Accessibility & contrast

On white

11.06
#3D209E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#3D209E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D209E
11.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D209E#FFFFFF#000000##FFFFFF
##3D209E1.0011.061.9011.06
#FFFFFF11.061.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A1
Deuteranopia (green-blind)
#00389C
Tritanopia (blue-blind)
#00455F
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #3d209e;
/* rgb */ color: rgb(61, 32, 158);
/* oklch */ color: oklch(37.7% 0.186 283.4);
Tailwind
colors: {
  custom: {
    50: '#7f60bc',
    500: '#3d209e',
    950: '#000000',
  },
}
SCSS
$custom: #3d209e;
$custom-light: #7f60bc;
$custom-dark: #000000;
JSON
{
  "hex": "#3d209e",
  "rgb": {
    "r": 61,
    "g": 32,
    "b": 158
  },
  "hsl": {
    "h": 253.81,
    "s": 66.316,
    "l": 37.255
  },
  "oklch": {
    "l": 0.37657,
    "c": 0.18646,
    "h": 283.4
  },
  "luminance": 0.04494
}

Semantic roles & 50–950 ramp

primary
#3D209E
secondary
#A9C258
accent
#E93FC2
background
#F8F5FB
surface
#EFEAF7
border
#CAC6D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #3D209E

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

Preview Lab → · Contrast checker → · Palette generator →

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