#3C207E#3C207E

#3C207E is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.4% C 0.148 H 290.0°. Best body text is #FFFFFF at 12.35:1 contrast (WCAG AA passes).

Color values

HEX#3C207E
RGBrgb(60, 32, 126)
HSLhsl(258, 59%, 31%)
HSVhsv(258, 75%, 49%)
CMYKcmyk(52.4%, 74.6%, 0%, 50.6%)
CIE-LABlab(21.94, 37.12, -48.43)
CIE-LCHlch(21.94, 61.02, 307.47°)
OKLaboklab(34.35% 0.0505 -0.1391)
OKLCHoklch(34.35% 0.148 290)
XYZxyz(6.1448, 3.4998, 20.0864)
Luminance0.0350 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C207E #627E20
analogous
#20337E #3C207E #6B207E
triadic
#3C207E #7E3C20 #207E3C
tetradic
#3C207E #7E2033 #627E20 #207E6B
square
#3C207E #7E2033 #627E20 #207E6B
split-complementary
#3C207E #7E6B20 #337E20
monochromatic
#0E071C #25144D #3C207E #532CAF #7148D0

Accessibility & contrast

On white

12.35
#3C207E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#3C207E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C207E
12.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C207E#FFFFFF#000000##FFFFFF
##3C207E1.0012.351.7012.35
#FFFFFF12.351.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003681
Deuteranopia (green-blind)
#00327C
Tritanopia (blue-blind)
#25394D
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #3c207e;
/* rgb */ color: rgb(60, 32, 126);
/* oklch */ color: oklch(34.4% 0.148 290.0);
Tailwind
colors: {
  custom: {
    50: '#795ea4',
    500: '#3c207e',
    950: '#000000',
  },
}
SCSS
$custom: #3c207e;
$custom-light: #795ea4;
$custom-dark: #000000;
JSON
{
  "hex": "#3c207e",
  "rgb": {
    "r": 60,
    "g": 32,
    "b": 126
  },
  "hsl": {
    "h": 257.872,
    "s": 59.494,
    "l": 30.98
  },
  "oklch": {
    "l": 0.34354,
    "c": 0.14796,
    "h": 290
  },
  "luminance": 0.035
}

Semantic roles & 50–950 ramp

primary
#3C207E
secondary
#92B149
accent
#E345B4
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #3C207E

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

Preview Lab → · Contrast checker → · Palette generator →

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