#3C207A#3C207A

#3C207A is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.0% C 0.143 H 291.1°. Best body text is #FFFFFF at 12.50:1 contrast (WCAG AA passes).

Color values

HEX#3C207A
RGBrgb(60, 32, 122)
HSLhsl(259, 58%, 30%)
HSVhsv(259, 74%, 48%)
CMYKcmyk(50.8%, 73.8%, 0%, 52.2%)
CIE-LABlab(21.57, 35.92, -46.49)
CIE-LCHlch(21.57, 58.76, 307.69°)
OKLaboklab(33.98% 0.0514 -0.1334)
OKLCHoklch(33.98% 0.143 291.1)
XYZxyz(5.8918, 3.3986, 18.7541)
Luminance0.0340 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C207A #5E7A20
analogous
#20317A #3C207A #69207A
triadic
#3C207A #7A3C20 #207A3C
tetradic
#3C207A #7A2031 #5E7A20 #207A69
square
#3C207A #7A2031 #5E7A20 #207A69
split-complementary
#3C207A #7A6920 #317A20
monochromatic
#0C0719 #24134A #3C207A #542DAA #7046CE

Accessibility & contrast

On white

12.50
#3C207A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#3C207A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C207A
12.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C207A#FFFFFF#000000##FFFFFF
##3C207A1.0012.501.6812.50
#FFFFFF12.501.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00357D
Deuteranopia (green-blind)
#003278
Tritanopia (blue-blind)
#28374A
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #3c207a;
/* rgb */ color: rgb(60, 32, 122);
/* oklch */ color: oklch(34.0% 0.143 291.1);
Tailwind
colors: {
  custom: {
    50: '#785ea1',
    500: '#3c207a',
    950: '#000000',
  },
}
SCSS
$custom: #3c207a;
$custom-light: #785ea1;
$custom-dark: #000000;
JSON
{
  "hex": "#3c207a",
  "rgb": {
    "r": 60,
    "g": 32,
    "b": 122
  },
  "hsl": {
    "h": 258.667,
    "s": 58.442,
    "l": 30.196
  },
  "oklch": {
    "l": 0.33978,
    "c": 0.14294,
    "h": 291.1
  },
  "luminance": 0.03399
}

Semantic roles & 50–950 ramp

primary
#3C207A
secondary
#8EAD49
accent
#E246B1
background
#F7F5FA
surface
#EEE9F3
border
#C9C5CD
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #3C207A

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

Preview Lab → · Contrast checker → · Palette generator →

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