#3C209F#3C209F

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

Color values

HEX#3C209F
RGBrgb(60, 32, 159)
HSLhsl(253, 66%, 37%)
HSVhsv(253, 80%, 62%)
CMYKcmyk(62.3%, 79.9%, 0%, 37.6%)
CIE-LABlab(25.25, 46.99, -63.50)
CIE-LCHlch(25.25, 79.00, 306.50°)
OKLaboklab(37.67% 0.0414 -0.1831)
OKLCHoklch(37.67% 0.188 282.7)
XYZxyz(8.6361, 4.4963, 33.2070)
Luminance0.0450 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C209F #839F20
analogous
#20449F #3C209F #7B209F
triadic
#3C209F #9F3C20 #209F3C
tetradic
#3C209F #9F2044 #839F20 #209F7B
square
#3C209F #9F2044 #839F20 #209F7B
split-complementary
#3C209F #9F7B20 #449F20
monochromatic
#160B39 #29166C #3C209F #4F2AD2 #785BDE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3C209F#FFFFFF#000000##FFFFFF
##3C209F1.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)
#0040A3
Deuteranopia (green-blind)
#00379D
Tritanopia (blue-blind)
#00465F
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #3c209f;
/* rgb */ color: rgb(60, 32, 159);
/* oklch */ color: oklch(37.7% 0.188 282.7);
Tailwind
colors: {
  custom: {
    50: '#7f60bd',
    500: '#3c209f',
    950: '#000000',
  },
}
SCSS
$custom: #3c209f;
$custom-light: #7f60bd;
$custom-dark: #000000;
JSON
{
  "hex": "#3c209f",
  "rgb": {
    "r": 60,
    "g": 32,
    "b": 159
  },
  "hsl": {
    "h": 253.228,
    "s": 66.492,
    "l": 37.451
  },
  "oklch": {
    "l": 0.37672,
    "c": 0.18777,
    "h": 282.7
  },
  "luminance": 0.04497
}

Semantic roles & 50–950 ramp

primary
#3C209F
secondary
#ABC259
accent
#E93EC4
background
#F8F5FB
surface
#EFEAF7
border
#CAC6D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #3C209F

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

Preview Lab → · Contrast checker → · Palette generator →

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