#3E208D#3E208D

#3E208D is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.0% C 0.166 H 287.4°. Best body text is #FFFFFF at 11.69:1 contrast (WCAG AA passes).

Color values

HEX#3E208D
RGBrgb(62, 32, 141)
HSLhsl(257, 63%, 34%)
HSVhsv(257, 77%, 55%)
CMYKcmyk(56%, 77.3%, 0%, 44.7%)
CIE-LABlab(23.60, 41.92, -55.12)
CIE-LCHlch(23.60, 69.25, 307.25°)
OKLaboklab(36.02% 0.0498 -0.1586)
OKLCHoklch(36.02% 0.166 287.4)
XYZxyz(7.3094, 3.9799, 25.5772)
Luminance0.0398 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E208D #6F8D20
analogous
#20398D #3E208D #75208D
triadic
#3E208D #8D3E20 #208D3E
tetradic
#3E208D #8D2039 #6F8D20 #208D75
square
#3E208D #8D2039 #6F8D20 #208D75
split-complementary
#3E208D #8D7520 #398D20
monochromatic
#120929 #28155B #3E208D #542BBF #7550D7

Accessibility & contrast

On white

11.69
#3E208D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#3E208D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E208D
11.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E208D#FFFFFF#000000##FFFFFF
##3E208D1.0011.691.8011.69
#FFFFFF11.691.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B90
Deuteranopia (green-blind)
#00358B
Tritanopia (blue-blind)
#1C3F55
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #3e208d;
/* rgb */ color: rgb(62, 32, 141);
/* oklch */ color: oklch(36.0% 0.166 287.4);
Tailwind
colors: {
  custom: {
    50: '#7d5faf',
    500: '#3e208d',
    950: '#000000',
  },
}
SCSS
$custom: #3e208d;
$custom-light: #7d5faf;
$custom-dark: #000000;
JSON
{
  "hex": "#3e208d",
  "rgb": {
    "r": 62,
    "g": 32,
    "b": 141
  },
  "hsl": {
    "h": 256.514,
    "s": 63.006,
    "l": 33.922
  },
  "oklch": {
    "l": 0.36017,
    "c": 0.16622,
    "h": 287.4
  },
  "luminance": 0.0398
}

Semantic roles & 50–950 ramp

primary
#3E208D
secondary
#9DBA4E
accent
#E642B9
background
#F8F5FA
surface
#EFE9F5
border
#CAC5CF
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #3E208D

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

Preview Lab → · Contrast checker → · Palette generator →

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