#3E2A84#3E2A84

#3E2A84 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.6% C 0.143 H 287.3°. Best body text is #FFFFFF at 11.23:1 contrast (WCAG AA passes).

Color values

HEX#3E2A84
RGBrgb(62, 42, 132)
HSLhsl(253, 52%, 34%)
HSVhsv(253, 68%, 52%)
CMYKcmyk(53%, 68.2%, 0%, 48.2%)
CIE-LABlab(24.78, 33.58, -47.57)
CIE-LCHlch(24.78, 58.23, 305.22°)
OKLaboklab(36.6% 0.0426 -0.1365)
OKLCHoklch(36.6% 0.143 287.3)
XYZxyz(6.9782, 4.3457, 22.2964)
Luminance0.0435 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2A84 #70842A
analogous
#2A4384 #3E2A84 #6B2A84
triadic
#3E2A84 #843E2A #2A843E
tetradic
#3E2A84 #842A43 #70842A #2A846B
square
#3E2A84 #842A43 #70842A #2A846B
split-complementary
#3E2A84 #846B2A #43842A
monochromatic
#120C27 #281B56 #3E2A84 #5439B2 #765DCB

Accessibility & contrast

On white

11.23
#3E2A84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#3E2A84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2A84
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2A84#FFFFFF#000000##FFFFFF
##3E2A841.0011.231.8711.23
#FFFFFF11.231.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D87
Deuteranopia (green-blind)
#003882
Tritanopia (blue-blind)
#244053
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #3e2a84;
/* rgb */ color: rgb(62, 42, 132);
/* oklch */ color: oklch(36.6% 0.143 287.3);
Tailwind
colors: {
  custom: {
    50: '#7a65a9',
    500: '#3e2a84',
    950: '#000000',
  },
}
SCSS
$custom: #3e2a84;
$custom-light: #7a65a9;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2a84",
  "rgb": {
    "r": 62,
    "g": 42,
    "b": 132
  },
  "hsl": {
    "h": 253.333,
    "s": 51.724,
    "l": 34.118
  },
  "oklch": {
    "l": 0.36601,
    "c": 0.14297,
    "h": 287.3
  },
  "luminance": 0.04346
}

Semantic roles & 50–950 ramp

primary
#3E2A84
secondary
#9DB159
accent
#DB4DBB
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #3E2A84

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

Preview Lab → · Contrast checker → · Palette generator →

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