#3C207D#3C207D

#3C207D is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.3% C 0.147 H 290.2°. Best body text is #FFFFFF at 12.39:1 contrast (WCAG AA passes).

Color values

HEX#3C207D
RGBrgb(60, 32, 125)
HSLhsl(258, 59%, 31%)
HSVhsv(258, 74%, 49%)
CMYKcmyk(52%, 74.4%, 0%, 51%)
CIE-LABlab(21.85, 36.82, -47.95)
CIE-LCHlch(21.85, 60.46, 307.52°)
OKLaboklab(34.26% 0.0507 -0.1376)
OKLCHoklch(34.26% 0.147 290.2)
XYZxyz(6.0806, 3.4741, 19.7482)
Luminance0.0347 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C207D #617D20
analogous
#20327D #3C207D #6A207D
triadic
#3C207D #7D3C20 #207D3C
tetradic
#3C207D #7D2032 #617D20 #207D6A
square
#3C207D #7D2032 #617D20 #207D6A
split-complementary
#3C207D #7D6A20 #327D20
monochromatic
#0D071C #25144C #3C207D #532CAE #7147D0

Accessibility & contrast

On white

12.39
#3C207D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3C207D
12.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C207D#FFFFFF#000000##FFFFFF
##3C207D1.0012.391.6912.39
#FFFFFF12.391.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003680
Deuteranopia (green-blind)
#00327B
Tritanopia (blue-blind)
#26384C
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #3c207d;
/* rgb */ color: rgb(60, 32, 125);
/* oklch */ color: oklch(34.3% 0.147 290.2);
Tailwind
colors: {
  custom: {
    50: '#795ea3',
    500: '#3c207d',
    950: '#000000',
  },
}
SCSS
$custom: #3c207d;
$custom-light: #795ea3;
$custom-dark: #000000;
JSON
{
  "hex": "#3c207d",
  "rgb": {
    "r": 60,
    "g": 32,
    "b": 125
  },
  "hsl": {
    "h": 258.065,
    "s": 59.236,
    "l": 30.784
  },
  "oklch": {
    "l": 0.34259,
    "c": 0.1467,
    "h": 290.2
  },
  "luminance": 0.03474
}

Semantic roles & 50–950 ramp

primary
#3C207D
secondary
#91B049
accent
#E245B3
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #3C207D

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

Preview Lab → · Contrast checker → · Palette generator →

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