#3C208E#3C208E

#3C208E is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.9% C 0.168 H 286.1°. Best body text is #FFFFFF at 11.74:1 contrast (WCAG AA passes).

Color values

HEX#3C208E
RGBrgb(60, 32, 142)
HSLhsl(255, 63%, 34%)
HSVhsv(255, 77%, 56%)
CMYKcmyk(57.7%, 77.5%, 0%, 44.3%)
CIE-LABlab(23.49, 41.93, -55.93)
CIE-LCHlch(23.49, 69.90, 306.86°)
OKLaboklab(35.92% 0.0464 -0.161)
OKLCHoklch(35.92% 0.168 286.1)
XYZxyz(7.2610, 3.9463, 25.9650)
Luminance0.0395 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C208E #728E20
analogous
#203B8E #3C208E #73208E
triadic
#3C208E #8E3C20 #208E3C
tetradic
#3C208E #8E203B #728E20 #208E73
square
#3C208E #8E203B #728E20 #208E73
split-complementary
#3C208E #8E7320 #3B8E20
monochromatic
#12092A #27155C #3C208E #512BC0 #7351D8

Accessibility & contrast

On white

11.74
#3C208E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#3C208E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C208E
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C208E#FFFFFF#000000##FFFFFF
##3C208E1.0011.741.7911.74
#FFFFFF11.741.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B91
Deuteranopia (green-blind)
#00358C
Tritanopia (blue-blind)
#153F56
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #3c208e;
/* rgb */ color: rgb(60, 32, 142);
/* oklch */ color: oklch(35.9% 0.168 286.1);
Tailwind
colors: {
  custom: {
    50: '#7c5fb0',
    500: '#3c208e',
    950: '#000000',
  },
}
SCSS
$custom: #3c208e;
$custom-light: #7c5fb0;
$custom-dark: #000000;
JSON
{
  "hex": "#3c208e",
  "rgb": {
    "r": 60,
    "g": 32,
    "b": 142
  },
  "hsl": {
    "h": 255.273,
    "s": 63.218,
    "l": 34.118
  },
  "oklch": {
    "l": 0.35919,
    "c": 0.16759,
    "h": 286.1
  },
  "luminance": 0.03947
}

Semantic roles & 50–950 ramp

primary
#3C208E
secondary
#9FBB4F
accent
#E642BC
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #3C208E

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

Preview Lab → · Contrast checker → · Palette generator →

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