#3E1D85#3E1D85

#3E1D85 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.9% C 0.160 H 289.9°. Best body text is #FFFFFF at 12.21:1 contrast (WCAG AA passes).

Color values

HEX#3E1D85
RGBrgb(62, 29, 133)
HSLhsl(259, 64%, 32%)
HSVhsv(259, 78%, 52%)
CMYKcmyk(53.4%, 78.2%, 0%, 47.8%)
CIE-LABlab(22.29, 41.08, -52.28)
CIE-LCHlch(22.29, 66.49, 308.16°)
OKLaboklab(34.86% 0.0545 -0.1502)
OKLCHoklch(34.86% 0.16 289.9)
XYZxyz(6.6584, 3.5960, 22.5290)
Luminance0.0360 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1D85 #64851D
analogous
#1D3085 #3E1D85 #721D85
triadic
#3E1D85 #853E1D #1D853E
tetradic
#3E1D85 #851D30 #64851D #1D8572
square
#3E1D85 #851D30 #64851D #1D8572
split-complementary
#3E1D85 #85721D #30851D
monochromatic
#0F0721 #271253 #3E1D85 #5528B7 #7446D7

Accessibility & contrast

On white

12.21
#3E1D85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#3E1D85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E1D85
12.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1D85#FFFFFF#000000##FFFFFF
##3E1D851.0012.211.7212.21
#FFFFFF12.211.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003788
Deuteranopia (green-blind)
#003383
Tritanopia (blue-blind)
#243A50
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #3e1d85;
/* rgb */ color: rgb(62, 29, 133);
/* oklch */ color: oklch(34.9% 0.160 289.9);
Tailwind
colors: {
  custom: {
    50: '#7c5da9',
    500: '#3e1d85',
    950: '#000000',
  },
}
SCSS
$custom: #3e1d85;
$custom-light: #7c5da9;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1d85",
  "rgb": {
    "r": 62,
    "g": 29,
    "b": 133
  },
  "hsl": {
    "h": 259.038,
    "s": 64.198,
    "l": 31.765
  },
  "oklch": {
    "l": 0.34855,
    "c": 0.15981,
    "h": 289.9
  },
  "luminance": 0.03596
}

Semantic roles & 50–950 ramp

primary
#3E1D85
secondary
#94B846
accent
#E741B2
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #3E1D85

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

Preview Lab → · Contrast checker → · Palette generator →

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