#3E2A92#3E2A92

#3E2A92 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 37.9% C 0.161 H 284.5°. Best body text is #FFFFFF at 10.76:1 contrast (WCAG AA passes).

Color values

HEX#3E2A92
RGBrgb(62, 42, 146)
HSLhsl(252, 55%, 37%)
HSVhsv(252, 71%, 57%)
CMYKcmyk(57.5%, 71.2%, 0%, 42.7%)
CIE-LABlab(26.02, 37.99, -54.25)
CIE-LCHlch(26.02, 66.23, 305.01°)
OKLaboklab(37.88% 0.0403 -0.1561)
OKLCHoklch(37.88% 0.161 284.5)
XYZxyz(8.0013, 4.7549, 27.6847)
Luminance0.0476 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2A92 #7E922A
analogous
#2A4A92 #3E2A92 #722A92
triadic
#3E2A92 #923E2A #2A923E
tetradic
#3E2A92 #922A4A #7E922A #2A9272
square
#3E2A92 #922A4A #7E922A #2A9272
split-complementary
#3E2A92 #92722A #4A922A
monochromatic
#160F33 #2A1C62 #3E2A92 #5238C2 #7964D2

Accessibility & contrast

On white

10.76
#3E2A92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#3E2A92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2A92
10.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2A92#FFFFFF#000000##FFFFFF
##3E2A921.0010.761.9510.76
#FFFFFF10.761.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004195
Deuteranopia (green-blind)
#003A90
Tritanopia (blue-blind)
#15455B
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3e2a92;
/* rgb */ color: rgb(62, 42, 146);
/* oklch */ color: oklch(37.9% 0.161 284.5);
Tailwind
colors: {
  custom: {
    50: '#7d65b3',
    500: '#3e2a92',
    950: '#000000',
  },
}
SCSS
$custom: #3e2a92;
$custom-light: #7d65b3;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2a92",
  "rgb": {
    "r": 62,
    "g": 42,
    "b": 146
  },
  "hsl": {
    "h": 251.538,
    "s": 55.319,
    "l": 36.863
  },
  "oklch": {
    "l": 0.37877,
    "c": 0.1612,
    "h": 284.5
  },
  "luminance": 0.04755
}

Semantic roles & 50–950 ramp

primary
#3E2A92
secondary
#A7B85F
accent
#DF49C2
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #3E2A92

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

Preview Lab → · Contrast checker → · Palette generator →

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