#3C209B#3C209B

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

Color values

HEX#3C209B
RGBrgb(60, 32, 155)
HSLhsl(254, 66%, 37%)
HSVhsv(254, 79%, 61%)
CMYKcmyk(61.3%, 79.4%, 0%, 39.2%)
CIE-LABlab(24.83, 45.80, -61.76)
CIE-LCHlch(24.83, 76.89, 306.56°)
OKLaboklab(37.25% 0.0426 -0.1781)
OKLCHoklch(37.25% 0.183 283.5)
XYZxyz(8.2946, 4.3597, 31.4084)
Luminance0.0436 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C209B #7F9B20
analogous
#20419B #3C209B #7A209B
triadic
#3C209B #9B3C20 #209B3C
tetradic
#3C209B #9B2041 #7F9B20 #209B7A
square
#3C209B #9B2041 #7F9B20 #209B7A
split-complementary
#3C209B #9B7A20 #419B20
monochromatic
#150B36 #281668 #3C209B #502ACE #7759DD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3C209B#FFFFFF#000000##FFFFFF
##3C209B1.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)
#003F9E
Deuteranopia (green-blind)
#003799
Tritanopia (blue-blind)
#00445D
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #3c209b;
/* rgb */ color: rgb(60, 32, 155);
/* oklch */ color: oklch(37.3% 0.183 283.5);
Tailwind
colors: {
  custom: {
    50: '#7e60ba',
    500: '#3c209b',
    950: '#000000',
  },
}
SCSS
$custom: #3c209b;
$custom-light: #7e60ba;
$custom-dark: #000000;
JSON
{
  "hex": "#3c209b",
  "rgb": {
    "r": 60,
    "g": 32,
    "b": 155
  },
  "hsl": {
    "h": 253.659,
    "s": 65.775,
    "l": 36.667
  },
  "oklch": {
    "l": 0.37252,
    "c": 0.18308,
    "h": 283.5
  },
  "luminance": 0.0436
}

Semantic roles & 50–950 ramp

primary
#3C209B
secondary
#A8C156
accent
#E93FC2
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #3C209B

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

Preview Lab → · Contrast checker → · Palette generator →

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