#3C209C#3C209C

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

Color values

HEX#3C209C
RGBrgb(60, 32, 156)
HSLhsl(254, 66%, 37%)
HSVhsv(254, 79%, 61%)
CMYKcmyk(61.5%, 79.5%, 0%, 38.8%)
CIE-LABlab(24.93, 46.10, -62.20)
CIE-LCHlch(24.93, 77.42, 306.55°)
OKLaboklab(37.36% 0.0423 -0.1793)
OKLCHoklch(37.36% 0.184 283.3)
XYZxyz(8.3789, 4.3934, 31.8525)
Luminance0.0439 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C209C #809C20
analogous
#20429C #3C209C #7A209C
triadic
#3C209C #9C3C20 #209C3C
tetradic
#3C209C #9C2042 #809C20 #209C7A
square
#3C209C #9C2042 #809C20 #209C7A
split-complementary
#3C209C #9C7A20 #429C20
monochromatic
#150B36 #281669 #3C209C #502ACF #7759DD

Accessibility & contrast

On white

11.18
#3C209C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#3C209C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C209C
11.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C209C#FFFFFF#000000##FFFFFF
##3C209C1.0011.181.8811.18
#FFFFFF11.181.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.181.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: #3c209c;
/* rgb */ color: rgb(60, 32, 156);
/* oklch */ color: oklch(37.4% 0.184 283.3);
Tailwind
colors: {
  custom: {
    50: '#7e60ba',
    500: '#3c209c',
    950: '#000000',
  },
}
SCSS
$custom: #3c209c;
$custom-light: #7e60ba;
$custom-dark: #000000;
JSON
{
  "hex": "#3c209c",
  "rgb": {
    "r": 60,
    "g": 32,
    "b": 156
  },
  "hsl": {
    "h": 253.548,
    "s": 65.957,
    "l": 36.863
  },
  "oklch": {
    "l": 0.37357,
    "c": 0.18425,
    "h": 283.3
  },
  "luminance": 0.04394
}

Semantic roles & 50–950 ramp

primary
#3C209C
secondary
#A9C157
accent
#E93FC3
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #3C209C

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

Preview Lab → · Contrast checker → · Palette generator →

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