#3E207B#3E207B

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

Color values

HEX#3E207B
RGBrgb(62, 32, 123)
HSLhsl(260, 59%, 30%)
HSVhsv(260, 74%, 48%)
CMYKcmyk(49.6%, 74%, 0%, 51.8%)
CIE-LABlab(21.90, 36.59, -46.59)
CIE-LCHlch(21.90, 59.24, 308.14°)
OKLaboklab(34.29% 0.0543 -0.1336)
OKLCHoklch(34.29% 0.144 292.1)
XYZxyz(6.0773, 3.4870, 19.0879)
Luminance0.0349 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E207B #5D7B20
analogous
#202F7B #3E207B #6B207B
triadic
#3E207B #7B3E20 #207B3E
tetradic
#3E207B #7B202F #5D7B20 #207B6B
square
#3E207B #7B202F #5D7B20 #207B6B
split-complementary
#3E207B #7B6B20 #2F7B20
monochromatic
#0D071A #26134A #3E207B #562DAC #7346CF

Accessibility & contrast

On white

12.37
#3E207B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E207B
12.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E207B#FFFFFF#000000##FFFFFF
##3E207B1.0012.371.7012.37
#FFFFFF12.371.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00367E
Deuteranopia (green-blind)
#003379
Tritanopia (blue-blind)
#2B384B
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #3e207b;
/* rgb */ color: rgb(62, 32, 123);
/* oklch */ color: oklch(34.3% 0.144 292.1);
Tailwind
colors: {
  custom: {
    50: '#7a5ea2',
    500: '#3e207b',
    950: '#000000',
  },
}
SCSS
$custom: #3e207b;
$custom-light: #7a5ea2;
$custom-dark: #000000;
JSON
{
  "hex": "#3e207b",
  "rgb": {
    "r": 62,
    "g": 32,
    "b": 123
  },
  "hsl": {
    "h": 259.78,
    "s": 58.71,
    "l": 30.392
  },
  "oklch": {
    "l": 0.3429,
    "c": 0.14422,
    "h": 292.1
  },
  "luminance": 0.03487
}

Semantic roles & 50–950 ramp

primary
#3E207B
secondary
#8DAE49
accent
#E246AE
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #3E207B

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

Preview Lab → · Contrast checker → · Palette generator →

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