#3E208A#3E208A

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

Color values

HEX#3E208A
RGBrgb(62, 32, 138)
HSLhsl(257, 62%, 33%)
HSVhsv(257, 77%, 54%)
CMYKcmyk(55.1%, 76.8%, 0%, 45.9%)
CIE-LABlab(23.31, 41.03, -53.73)
CIE-LCHlch(23.31, 67.61, 307.36°)
OKLaboklab(35.72% 0.0506 -0.1545)
OKLCHoklch(35.72% 0.163 288.1)
XYZxyz(7.0892, 3.8918, 24.4175)
Luminance0.0389 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E208A #6C8A20
analogous
#20378A #3E208A #73208A
triadic
#3E208A #8A3E20 #208A3E
tetradic
#3E208A #8A2037 #6C8A20 #208A73
square
#3E208A #8A2037 #6C8A20 #208A73
split-complementary
#3E208A #8A7320 #378A20
monochromatic
#110927 #281458 #3E208A #542CBC #754ED6

Accessibility & contrast

On white

11.81
#3E208A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E208A
11.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E208A#FFFFFF#000000##FFFFFF
##3E208A1.0011.811.7811.81
#FFFFFF11.811.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A8D
Deuteranopia (green-blind)
#003588
Tritanopia (blue-blind)
#1F3D53
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #3e208a;
/* rgb */ color: rgb(62, 32, 138);
/* oklch */ color: oklch(35.7% 0.163 288.1);
Tailwind
colors: {
  custom: {
    50: '#7c5fad',
    500: '#3e208a',
    950: '#000000',
  },
}
SCSS
$custom: #3e208a;
$custom-light: #7c5fad;
$custom-dark: #000000;
JSON
{
  "hex": "#3e208a",
  "rgb": {
    "r": 62,
    "g": 32,
    "b": 138
  },
  "hsl": {
    "h": 256.981,
    "s": 62.353,
    "l": 33.333
  },
  "oklch": {
    "l": 0.35721,
    "c": 0.1626,
    "h": 288.1
  },
  "luminance": 0.03892
}

Semantic roles & 50–950 ramp

primary
#3E208A
secondary
#9AB94D
accent
#E542B7
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #3E208A

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

Preview Lab → · Contrast checker → · Palette generator →

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