#3C208A#3C208A

#3C208A is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.5% C 0.163 H 287.0°. Best body text is #FFFFFF at 11.89:1 contrast (WCAG AA passes).

Color values

HEX#3C208A
RGBrgb(60, 32, 138)
HSLhsl(256, 62%, 33%)
HSVhsv(256, 77%, 54%)
CMYKcmyk(56.5%, 76.8%, 0%, 45.9%)
CIE-LABlab(23.10, 40.73, -54.09)
CIE-LCHlch(23.10, 67.71, 306.98°)
OKLaboklab(35.52% 0.0475 -0.1557)
OKLCHoklch(35.52% 0.163 287)
XYZxyz(6.9661, 3.8283, 24.4117)
Luminance0.0383 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C208A #6E8A20
analogous
#20398A #3C208A #71208A
triadic
#3C208A #8A3C20 #208A3C
tetradic
#3C208A #8A2039 #6E8A20 #208A71
square
#3C208A #8A2039 #6E8A20 #208A71
split-complementary
#3C208A #8A7120 #398A20
monochromatic
#110927 #261458 #3C208A #522CBC #724ED6

Accessibility & contrast

On white

11.89
#3C208A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3C208A
11.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C208A#FFFFFF#000000##FFFFFF
##3C208A1.0011.891.7711.89
#FFFFFF11.891.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A8D
Deuteranopia (green-blind)
#003488
Tritanopia (blue-blind)
#1A3D53
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #3c208a;
/* rgb */ color: rgb(60, 32, 138);
/* oklch */ color: oklch(35.5% 0.163 287.0);
Tailwind
colors: {
  custom: {
    50: '#7b5fad',
    500: '#3c208a',
    950: '#000000',
  },
}
SCSS
$custom: #3c208a;
$custom-light: #7b5fad;
$custom-dark: #000000;
JSON
{
  "hex": "#3c208a",
  "rgb": {
    "r": 60,
    "g": 32,
    "b": 138
  },
  "hsl": {
    "h": 255.849,
    "s": 62.353,
    "l": 33.333
  },
  "oklch": {
    "l": 0.35519,
    "c": 0.16274,
    "h": 287
  },
  "luminance": 0.03829
}

Semantic roles & 50–950 ramp

primary
#3C208A
secondary
#9CB94D
accent
#E542BA
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #3C208A

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

Preview Lab → · Contrast checker → · Palette generator →

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