#3E2A86#3E2A86

#3E2A86 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 36.8% C 0.146 H 286.9°. Best body text is #FFFFFF at 11.17:1 contrast (WCAG AA passes).

Color values

HEX#3E2A86
RGBrgb(62, 42, 134)
HSLhsl(253, 52%, 35%)
HSVhsv(253, 69%, 53%)
CMYKcmyk(53.7%, 68.7%, 0%, 47.5%)
CIE-LABlab(24.95, 34.21, -48.54)
CIE-LCHlch(24.95, 59.38, 305.17°)
OKLaboklab(36.78% 0.0423 -0.1393)
OKLCHoklch(36.78% 0.146 286.9)
XYZxyz(7.1164, 4.4009, 23.0241)
Luminance0.0440 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2A86 #72862A
analogous
#2A4486 #3E2A86 #6C2A86
triadic
#3E2A86 #863E2A #2A863E
tetradic
#3E2A86 #862A44 #72862A #2A866C
square
#3E2A86 #862A44 #72862A #2A866C
split-complementary
#3E2A86 #866C2A #44862A
monochromatic
#130D29 #281B57 #3E2A86 #5439B5 #765ECD

Accessibility & contrast

On white

11.17
#3E2A86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#3E2A86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2A86
11.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2A86#FFFFFF#000000##FFFFFF
##3E2A861.0011.171.8811.17
#FFFFFF11.171.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D89
Deuteranopia (green-blind)
#003984
Tritanopia (blue-blind)
#224154
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #3e2a86;
/* rgb */ color: rgb(62, 42, 134);
/* oklch */ color: oklch(36.8% 0.146 286.9);
Tailwind
colors: {
  custom: {
    50: '#7b65aa',
    500: '#3e2a86',
    950: '#000000',
  },
}
SCSS
$custom: #3e2a86;
$custom-light: #7b65aa;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2a86",
  "rgb": {
    "r": 62,
    "g": 42,
    "b": 134
  },
  "hsl": {
    "h": 253.043,
    "s": 52.273,
    "l": 34.51
  },
  "oklch": {
    "l": 0.36779,
    "c": 0.14562,
    "h": 286.9
  },
  "luminance": 0.04401
}

Semantic roles & 50–950 ramp

primary
#3E2A86
secondary
#9FB25A
accent
#DC4CBC
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #3E2A86

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

Preview Lab → · Contrast checker → · Palette generator →

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