#3D209C#3D209C

#3D209C is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.4% C 0.184 H 283.8°. Best body text is #FFFFFF at 11.14:1 contrast (WCAG AA passes).

Color values

HEX#3D209C
RGBrgb(61, 32, 156)
HSLhsl(254, 66%, 37%)
HSVhsv(254, 79%, 61%)
CMYKcmyk(60.9%, 79.5%, 0%, 38.8%)
CIE-LABlab(25.03, 46.22, -62.03)
CIE-LCHlch(25.03, 77.36, 306.69°)
OKLaboklab(37.45% 0.0438 -0.1788)
OKLCHoklch(37.45% 0.184 283.8)
XYZxyz(8.4399, 4.4249, 31.8554)
Luminance0.0442 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D209C #7F9C20
analogous
#20419C #3D209C #7B209C
triadic
#3D209C #9C3D20 #209C3D
tetradic
#3D209C #9C2041 #7F9C20 #209C7B
square
#3D209C #9C2041 #7F9C20 #209C7B
split-complementary
#3D209C #9C7B20 #419C20
monochromatic
#150B36 #291669 #3D209C #512ACF #7859DD

Accessibility & contrast

On white

11.14
#3D209C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#3D209C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D209C
11.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D209C#FFFFFF#000000##FFFFFF
##3D209C1.0011.141.8911.14
#FFFFFF11.141.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F9F
Deuteranopia (green-blind)
#00379A
Tritanopia (blue-blind)
#00455E
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #3d209c;
/* rgb */ color: rgb(61, 32, 156);
/* oklch */ color: oklch(37.4% 0.184 283.8);
Tailwind
colors: {
  custom: {
    50: '#7f60ba',
    500: '#3d209c',
    950: '#000000',
  },
}
SCSS
$custom: #3d209c;
$custom-light: #7f60ba;
$custom-dark: #000000;
JSON
{
  "hex": "#3d209c",
  "rgb": {
    "r": 61,
    "g": 32,
    "b": 156
  },
  "hsl": {
    "h": 254.032,
    "s": 65.957,
    "l": 36.863
  },
  "oklch": {
    "l": 0.37448,
    "c": 0.18412,
    "h": 283.8
  },
  "luminance": 0.04425
}

Semantic roles & 50–950 ramp

primary
#3D209C
secondary
#A8C157
accent
#E93FC1
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #3D209C

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

Preview Lab → · Contrast checker → · Palette generator →

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