#3E1B86#3E1B86

#3E1B86 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.7% C 0.163 H 290.0°. Best body text is #FFFFFF at 12.31:1 contrast (WCAG AA passes).

Color values

HEX#3E1B86
RGBrgb(62, 27, 134)
HSLhsl(260, 66%, 32%)
HSVhsv(260, 80%, 53%)
CMYKcmyk(53.7%, 79.9%, 0%, 47.5%)
CIE-LABlab(22.05, 42.34, -53.30)
CIE-LCHlch(22.05, 68.07, 308.46°)
OKLaboklab(34.72% 0.0557 -0.1532)
OKLCHoklch(34.72% 0.163 290)
XYZxyz(6.6804, 3.5289, 22.8788)
Luminance0.0353 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1B86 #63861B
analogous
#1B2E86 #3E1B86 #741B86
triadic
#3E1B86 #863E1B #1B863E
tetradic
#3E1B86 #861B2E #63861B #1B8674
square
#3E1B86 #861B2E #63861B #1B8674
split-complementary
#3E1B86 #86741B #2E861B
monochromatic
#0F0620 #261153 #3E1B86 #5625B9 #7442D9

Accessibility & contrast

On white

12.31
#3E1B86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#3E1B86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E1B86
12.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1B86#FFFFFF#000000##FFFFFF
##3E1B861.0012.311.7112.31
#FFFFFF12.311.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003789
Deuteranopia (green-blind)
#003284
Tritanopia (blue-blind)
#233A50
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #3e1b86;
/* rgb */ color: rgb(62, 27, 134);
/* oklch */ color: oklch(34.7% 0.163 290.0);
Tailwind
colors: {
  custom: {
    50: '#7c5caa',
    500: '#3e1b86',
    950: '#000000',
  },
}
SCSS
$custom: #3e1b86;
$custom-light: #7c5caa;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1b86",
  "rgb": {
    "r": 62,
    "g": 27,
    "b": 134
  },
  "hsl": {
    "h": 259.626,
    "s": 66.46,
    "l": 31.569
  },
  "oklch": {
    "l": 0.34718,
    "c": 0.16304,
    "h": 290
  },
  "luminance": 0.03529
}

Semantic roles & 50–950 ramp

primary
#3E1B86
secondary
#93B944
accent
#E93EB1
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #3E1B86

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

Preview Lab → · Contrast checker → · Palette generator →

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