#3E1D82#3E1D82

#3E1D82 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.6% C 0.156 H 290.7°. Best body text is #FFFFFF at 12.33:1 contrast (WCAG AA passes).

Color values

HEX#3E1D82
RGBrgb(62, 29, 130)
HSLhsl(260, 64%, 31%)
HSVhsv(260, 78%, 51%)
CMYKcmyk(52.3%, 77.7%, 0%, 49%)
CIE-LABlab(22.00, 40.21, -50.87)
CIE-LCHlch(22.00, 64.84, 308.33°)
OKLaboklab(34.56% 0.0553 -0.1461)
OKLCHoklch(34.56% 0.156 290.7)
XYZxyz(6.4541, 3.5143, 21.4530)
Luminance0.0352 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1D82 #61821D
analogous
#1D2E82 #3E1D82 #701D82
triadic
#3E1D82 #823E1D #1D823E
tetradic
#3E1D82 #821D2E #61821D #1D8270
square
#3E1D82 #821D2E #61821D #1D8270
split-complementary
#3E1D82 #82701D #2E821D
monochromatic
#0E071E #261250 #3E1D82 #5628B4 #7444D5

Accessibility & contrast

On white

12.33
#3E1D82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#3E1D82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E1D82
12.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1D82#FFFFFF#000000##FFFFFF
##3E1D821.0012.331.7012.33
#FFFFFF12.331.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003685
Deuteranopia (green-blind)
#003280
Tritanopia (blue-blind)
#26394E
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #3e1d82;
/* rgb */ color: rgb(62, 29, 130);
/* oklch */ color: oklch(34.6% 0.156 290.7);
Tailwind
colors: {
  custom: {
    50: '#7b5da7',
    500: '#3e1d82',
    950: '#000000',
  },
}
SCSS
$custom: #3e1d82;
$custom-light: #7b5da7;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1d82",
  "rgb": {
    "r": 62,
    "g": 29,
    "b": 130
  },
  "hsl": {
    "h": 259.604,
    "s": 63.522,
    "l": 31.176
  },
  "oklch": {
    "l": 0.34561,
    "c": 0.15623,
    "h": 290.7
  },
  "luminance": 0.03515
}

Semantic roles & 50–950 ramp

primary
#3E1D82
secondary
#91B546
accent
#E741B1
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #3E1D82

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

Preview Lab → · Contrast checker → · Palette generator →

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