#3E20A0#3E20A0

#3E20A0 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 38.0% C 0.189 H 283.5°. Best body text is #FFFFFF at 10.94:1 contrast (WCAG AA passes).

Color values

HEX#3E20A0
RGBrgb(62, 32, 160)
HSLhsl(254, 67%, 38%)
HSVhsv(254, 80%, 63%)
CMYKcmyk(61.2%, 80%, 0%, 37.3%)
CIE-LABlab(25.55, 47.51, -63.62)
CIE-LCHlch(25.55, 79.40, 306.75°)
OKLaboklab(37.96% 0.0442 -0.1834)
OKLCHoklch(37.96% 0.189 283.5)
XYZxyz(8.8463, 4.5946, 33.6716)
Luminance0.0459 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E20A0 #82A020
analogous
#2042A0 #3E20A0 #7E20A0
triadic
#3E20A0 #A03E20 #20A03E
tetradic
#3E20A0 #A02042 #82A020 #20A07E
square
#3E20A0 #A02042 #82A020 #20A07E
split-complementary
#3E20A0 #A07E20 #42A020
monochromatic
#160C3A #2A166D #3E20A0 #522AD3 #7B5CDE

Accessibility & contrast

On white

10.94
#3E20A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#3E20A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E20A0
10.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E20A0#FFFFFF#000000##FFFFFF
##3E20A01.0010.941.9210.94
#FFFFFF10.941.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A4
Deuteranopia (green-blind)
#00389E
Tritanopia (blue-blind)
#004660
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #3e20a0;
/* rgb */ color: rgb(62, 32, 160);
/* oklch */ color: oklch(38.0% 0.189 283.5);
Tailwind
colors: {
  custom: {
    50: '#8060bd',
    500: '#3e20a0',
    950: '#000000',
  },
}
SCSS
$custom: #3e20a0;
$custom-light: #8060bd;
$custom-dark: #000000;
JSON
{
  "hex": "#3e20a0",
  "rgb": {
    "r": 62,
    "g": 32,
    "b": 160
  },
  "hsl": {
    "h": 254.063,
    "s": 66.667,
    "l": 37.647
  },
  "oklch": {
    "l": 0.37958,
    "c": 0.18865,
    "h": 283.5
  },
  "luminance": 0.04595
}

Semantic roles & 50–950 ramp

primary
#3E20A0
secondary
#AAC359
accent
#EA3EC1
background
#F8F5FB
surface
#F0EAF7
border
#CBC6D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #3E20A0

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

Preview Lab → · Contrast checker → · Palette generator →

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