#3E2B85#3E2B85

#3E2B85 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 36.9% C 0.143 H 286.8°. Best body text is #FFFFFF at 11.12:1 contrast (WCAG AA passes).

Color values

HEX#3E2B85
RGBrgb(62, 43, 133)
HSLhsl(253, 51%, 35%)
HSVhsv(253, 68%, 52%)
CMYKcmyk(53.4%, 67.7%, 0%, 47.8%)
CIE-LABlab(25.09, 33.29, -47.69)
CIE-LCHlch(25.09, 58.16, 304.92°)
OKLaboklab(36.85% 0.0414 -0.1369)
OKLCHoklch(36.85% 0.143 286.8)
XYZxyz(7.0829, 4.4450, 22.6705)
Luminance0.0445 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2B85 #72852B
analogous
#2B4585 #3E2B85 #6B2B85
triadic
#3E2B85 #853E2B #2B853E
tetradic
#3E2B85 #852B45 #72852B #2B856B
square
#3E2B85 #852B45 #72852B #2B856B
split-complementary
#3E2B85 #856B2B #45852B
monochromatic
#130D29 #281C57 #3E2B85 #543AB3 #765FCB

Accessibility & contrast

On white

11.12
#3E2B85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#3E2B85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2B85
11.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2B85#FFFFFF#000000##FFFFFF
##3E2B851.0011.121.8911.12
#FFFFFF11.121.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E88
Deuteranopia (green-blind)
#003983
Tritanopia (blue-blind)
#234154
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #3e2b85;
/* rgb */ color: rgb(62, 43, 133);
/* oklch */ color: oklch(36.9% 0.143 286.8);
Tailwind
colors: {
  custom: {
    50: '#7a66a9',
    500: '#3e2b85',
    950: '#000000',
  },
}
SCSS
$custom: #3e2b85;
$custom-light: #7a66a9;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2b85",
  "rgb": {
    "r": 62,
    "g": 43,
    "b": 133
  },
  "hsl": {
    "h": 252.667,
    "s": 51.136,
    "l": 34.51
  },
  "oklch": {
    "l": 0.3685,
    "c": 0.14298,
    "h": 286.8
  },
  "luminance": 0.04445
}

Semantic roles & 50–950 ramp

primary
#3E2B85
secondary
#9FB15B
accent
#DB4DBD
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #3E2B85

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

Preview Lab → · Contrast checker → · Palette generator →

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