#3C208B#3C208B

#3C208B is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.6% C 0.164 H 286.7°. Best body text is #FFFFFF at 11.85:1 contrast (WCAG AA passes).

Color values

HEX#3C208B
RGBrgb(60, 32, 139)
HSLhsl(256, 63%, 34%)
HSVhsv(256, 77%, 55%)
CMYKcmyk(56.8%, 77%, 0%, 45.5%)
CIE-LABlab(23.19, 41.03, -54.56)
CIE-LCHlch(23.19, 68.26, 306.95°)
OKLaboklab(35.62% 0.0472 -0.157)
OKLCHoklch(35.62% 0.164 286.7)
XYZxyz(7.0388, 3.8574, 24.7947)
Luminance0.0386 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C208B #6F8B20
analogous
#20398B #3C208B #71208B
triadic
#3C208B #8B3C20 #208B3C
tetradic
#3C208B #8B2039 #6F8B20 #208B71
square
#3C208B #8B2039 #6F8B20 #208B71
split-complementary
#3C208B #8B7120 #398B20
monochromatic
#110928 #271559 #3C208B #512BBD #724FD6

Accessibility & contrast

On white

11.85
#3C208B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#3C208B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C208B
11.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C208B#FFFFFF#000000##FFFFFF
##3C208B1.0011.851.7711.85
#FFFFFF11.851.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A8E
Deuteranopia (green-blind)
#003489
Tritanopia (blue-blind)
#193E54
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #3c208b;
/* rgb */ color: rgb(60, 32, 139);
/* oklch */ color: oklch(35.6% 0.164 286.7);
Tailwind
colors: {
  custom: {
    50: '#7b5fae',
    500: '#3c208b',
    950: '#000000',
  },
}
SCSS
$custom: #3c208b;
$custom-light: #7b5fae;
$custom-dark: #000000;
JSON
{
  "hex": "#3c208b",
  "rgb": {
    "r": 60,
    "g": 32,
    "b": 139
  },
  "hsl": {
    "h": 255.701,
    "s": 62.573,
    "l": 33.529
  },
  "oklch": {
    "l": 0.35619,
    "c": 0.16395,
    "h": 286.7
  },
  "luminance": 0.03858
}

Semantic roles & 50–950 ramp

primary
#3C208B
secondary
#9DBA4D
accent
#E642BB
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #3C208B

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

Preview Lab → · Contrast checker → · Palette generator →

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