#3E1B85#3E1B85

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

Color values

HEX#3E1B85
RGBrgb(62, 27, 133)
HSLhsl(260, 66%, 31%)
HSVhsv(260, 80%, 52%)
CMYKcmyk(53.4%, 79.7%, 0%, 47.8%)
CIE-LABlab(21.95, 42.05, -52.84)
CIE-LCHlch(21.95, 67.53, 308.52°)
OKLaboklab(34.62% 0.056 -0.1519)
OKLCHoklch(34.62% 0.162 290.3)
XYZxyz(6.6110, 3.5012, 22.5132)
Luminance0.0350 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1B85 #62851B
analogous
#1B2D85 #3E1B85 #731B85
triadic
#3E1B85 #853E1B #1B853E
tetradic
#3E1B85 #851B2D #62851B #1B8573
square
#3E1B85 #851B2D #62851B #1B8573
split-complementary
#3E1B85 #85731B #2D851B
monochromatic
#0F061F #261152 #3E1B85 #5625B8 #7442D9

Accessibility & contrast

On white

12.35
#3E1B85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E1B85
12.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1B85#FFFFFF#000000##FFFFFF
##3E1B851.0012.351.7012.35
#FFFFFF12.351.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003688
Deuteranopia (green-blind)
#003283
Tritanopia (blue-blind)
#24394F
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #3e1b85;
/* rgb */ color: rgb(62, 27, 133);
/* oklch */ color: oklch(34.6% 0.162 290.3);
Tailwind
colors: {
  custom: {
    50: '#7c5caa',
    500: '#3e1b85',
    950: '#000000',
  },
}
SCSS
$custom: #3e1b85;
$custom-light: #7c5caa;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1b85",
  "rgb": {
    "r": 62,
    "g": 27,
    "b": 133
  },
  "hsl": {
    "h": 259.811,
    "s": 66.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.34617,
    "c": 0.16187,
    "h": 290.3
  },
  "luminance": 0.03501
}

Semantic roles & 50–950 ramp

primary
#3E1B85
secondary
#92B844
accent
#E93FB1
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #3E1B85

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

Preview Lab → · Contrast checker → · Palette generator →

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