#3C208C#3C208C

#3C208C is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.7% C 0.165 H 286.5°. Best body text is #FFFFFF at 11.82:1 contrast (WCAG AA passes).

Color values

HEX#3C208C
RGBrgb(60, 32, 140)
HSLhsl(256, 63%, 34%)
HSVhsv(256, 77%, 55%)
CMYKcmyk(57.1%, 77.1%, 0%, 45.1%)
CIE-LABlab(23.29, 41.33, -55.02)
CIE-LCHlch(23.29, 68.81, 306.91°)
OKLaboklab(35.72% 0.0469 -0.1584)
OKLCHoklch(35.72% 0.165 286.5)
XYZxyz(7.1122, 3.8867, 25.1813)
Luminance0.0389 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C208C #708C20
analogous
#203A8C #3C208C #72208C
triadic
#3C208C #8C3C20 #208C3C
tetradic
#3C208C #8C203A #708C20 #208C72
square
#3C208C #8C203A #708C20 #208C72
split-complementary
#3C208C #8C7220 #3A8C20
monochromatic
#110928 #27155A #3C208C #512BBE #7350D7

Accessibility & contrast

On white

11.82
#3C208C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#3C208C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C208C
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C208C#FFFFFF#000000##FFFFFF
##3C208C1.0011.821.7811.82
#FFFFFF11.821.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A8F
Deuteranopia (green-blind)
#00348A
Tritanopia (blue-blind)
#173E55
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #3c208c;
/* rgb */ color: rgb(60, 32, 140);
/* oklch */ color: oklch(35.7% 0.165 286.5);
Tailwind
colors: {
  custom: {
    50: '#7b5faf',
    500: '#3c208c',
    950: '#000000',
  },
}
SCSS
$custom: #3c208c;
$custom-light: #7b5faf;
$custom-dark: #000000;
JSON
{
  "hex": "#3c208c",
  "rgb": {
    "r": 60,
    "g": 32,
    "b": 140
  },
  "hsl": {
    "h": 255.556,
    "s": 62.791,
    "l": 33.725
  },
  "oklch": {
    "l": 0.35718,
    "c": 0.16517,
    "h": 286.5
  },
  "luminance": 0.03887
}

Semantic roles & 50–950 ramp

primary
#3C208C
secondary
#9EBA4E
accent
#E642BB
background
#F8F5FA
surface
#EFE9F5
border
#CAC5CF
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #3C208C

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

Preview Lab → · Contrast checker → · Palette generator →

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