#3E2A90#3E2A90

#3E2A90 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 37.7% C 0.159 H 284.8°. Best body text is #FFFFFF at 10.83:1 contrast (WCAG AA passes).

Color values

HEX#3E2A90
RGBrgb(62, 42, 144)
HSLhsl(252, 55%, 36%)
HSVhsv(252, 71%, 56%)
CMYKcmyk(56.9%, 70.8%, 0%, 43.5%)
CIE-LABlab(25.84, 37.36, -53.31)
CIE-LCHlch(25.84, 65.10, 305.03°)
OKLaboklab(37.69% 0.0406 -0.1533)
OKLCHoklch(37.69% 0.159 284.8)
XYZxyz(7.8471, 4.6932, 26.8725)
Luminance0.0469 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2A90 #7C902A
analogous
#2A4990 #3E2A90 #712A90
triadic
#3E2A90 #903E2A #2A903E
tetradic
#3E2A90 #902A49 #7C902A #2A9071
square
#3E2A90 #902A49 #7C902A #2A9071
split-complementary
#3E2A90 #90712A #49902A
monochromatic
#150E31 #2A1C61 #3E2A90 #5238BF #7963D1

Accessibility & contrast

On white

10.83
#3E2A90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#3E2A90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2A90
10.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2A90#FFFFFF#000000##FFFFFF
##3E2A901.0010.831.9410.83
#FFFFFF10.831.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004093
Deuteranopia (green-blind)
#003A8E
Tritanopia (blue-blind)
#174559
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #3e2a90;
/* rgb */ color: rgb(62, 42, 144);
/* oklch */ color: oklch(37.7% 0.159 284.8);
Tailwind
colors: {
  custom: {
    50: '#7c65b1',
    500: '#3e2a90',
    950: '#000000',
  },
}
SCSS
$custom: #3e2a90;
$custom-light: #7c65b1;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2a90",
  "rgb": {
    "r": 62,
    "g": 42,
    "b": 144
  },
  "hsl": {
    "h": 251.765,
    "s": 54.839,
    "l": 36.471
  },
  "oklch": {
    "l": 0.3769,
    "c": 0.15864,
    "h": 284.8
  },
  "luminance": 0.04694
}

Semantic roles & 50–950 ramp

primary
#3E2A90
secondary
#A6B75E
accent
#DE4AC1
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #3E2A90

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

Preview Lab → · Contrast checker → · Palette generator →

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