#3D209A#3D209A

#3D209A is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.2% C 0.182 H 284.2°. Best body text is #FFFFFF at 11.22:1 contrast (WCAG AA passes).

Color values

HEX#3D209A
RGBrgb(61, 32, 154)
HSLhsl(254, 66%, 36%)
HSVhsv(254, 79%, 60%)
CMYKcmyk(60.4%, 79.2%, 0%, 39.6%)
CIE-LABlab(24.82, 45.63, -61.15)
CIE-LCHlch(24.82, 76.30, 306.73°)
OKLaboklab(37.24% 0.0444 -0.1762)
OKLCHoklch(37.24% 0.182 284.2)
XYZxyz(8.2719, 4.3577, 30.9708)
Luminance0.0436 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D209A #7D9A20
analogous
#20409A #3D209A #7A209A
triadic
#3D209A #9A3D20 #209A3D
tetradic
#3D209A #9A2040 #7D9A20 #209A7A
square
#3D209A #9A2040 #7D9A20 #209A7A
split-complementary
#3D209A #9A7A20 #409A20
monochromatic
#150B35 #291567 #3D209A #512BCD #7858DC

Accessibility & contrast

On white

11.22
#3D209A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#3D209A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D209A
11.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D209A#FFFFFF#000000##FFFFFF
##3D209A1.0011.221.8711.22
#FFFFFF11.221.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E9D
Deuteranopia (green-blind)
#003798
Tritanopia (blue-blind)
#00445D
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #3d209a;
/* rgb */ color: rgb(61, 32, 154);
/* oklch */ color: oklch(37.2% 0.182 284.2);
Tailwind
colors: {
  custom: {
    50: '#7f60b9',
    500: '#3d209a',
    950: '#000000',
  },
}
SCSS
$custom: #3d209a;
$custom-light: #7f60b9;
$custom-dark: #000000;
JSON
{
  "hex": "#3d209a",
  "rgb": {
    "r": 61,
    "g": 32,
    "b": 154
  },
  "hsl": {
    "h": 254.262,
    "s": 65.591,
    "l": 36.471
  },
  "oklch": {
    "l": 0.3724,
    "c": 0.18177,
    "h": 284.2
  },
  "luminance": 0.04358
}

Semantic roles & 50–950 ramp

primary
#3D209A
secondary
#A7C056
accent
#E93FC0
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #3D209A

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

Preview Lab → · Contrast checker → · Palette generator →

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