#3C207C#3C207C

#3C207C is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.2% C 0.145 H 290.5°. Best body text is #FFFFFF at 12.43:1 contrast (WCAG AA passes).

Color values

HEX#3C207C
RGBrgb(60, 32, 124)
HSLhsl(258, 59%, 31%)
HSVhsv(258, 74%, 49%)
CMYKcmyk(51.6%, 74.2%, 0%, 51.4%)
CIE-LABlab(21.76, 36.52, -47.47)
CIE-LCHlch(21.76, 59.89, 307.58°)
OKLaboklab(34.17% 0.051 -0.1362)
OKLCHoklch(34.17% 0.145 290.5)
XYZxyz(6.0170, 3.4487, 19.4135)
Luminance0.0345 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C207C #607C20
analogous
#20327C #3C207C #6A207C
triadic
#3C207C #7C3C20 #207C3C
tetradic
#3C207C #7C2032 #607C20 #207C6A
square
#3C207C #7C2032 #607C20 #207C6A
split-complementary
#3C207C #7C6A20 #327C20
monochromatic
#0D071B #24134B #3C207C #542DAD #7047CF

Accessibility & contrast

On white

12.43
#3C207C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#3C207C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C207C
12.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C207C#FFFFFF#000000##FFFFFF
##3C207C1.0012.431.6912.43
#FFFFFF12.431.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00367F
Deuteranopia (green-blind)
#00327A
Tritanopia (blue-blind)
#26384C
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #3c207c;
/* rgb */ color: rgb(60, 32, 124);
/* oklch */ color: oklch(34.2% 0.145 290.5);
Tailwind
colors: {
  custom: {
    50: '#795ea3',
    500: '#3c207c',
    950: '#000000',
  },
}
SCSS
$custom: #3c207c;
$custom-light: #795ea3;
$custom-dark: #000000;
JSON
{
  "hex": "#3c207c",
  "rgb": {
    "r": 60,
    "g": 32,
    "b": 124
  },
  "hsl": {
    "h": 258.261,
    "s": 58.974,
    "l": 30.588
  },
  "oklch": {
    "l": 0.34165,
    "c": 0.14546,
    "h": 290.5
  },
  "luminance": 0.03449
}

Semantic roles & 50–950 ramp

primary
#3C207C
secondary
#90AF49
accent
#E246B3
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #3C207C

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

Preview Lab → · Contrast checker → · Palette generator →

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