#3E1C85#3E1C85

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

Color values

HEX#3E1C85
RGBrgb(62, 28, 133)
HSLhsl(259, 65%, 32%)
HSVhsv(259, 79%, 52%)
CMYKcmyk(53.4%, 78.9%, 0%, 47.8%)
CIE-LABlab(22.12, 41.57, -52.56)
CIE-LCHlch(22.12, 67.01, 308.34°)
OKLaboklab(34.74% 0.0553 -0.1511)
OKLCHoklch(34.74% 0.161 290.1)
XYZxyz(6.6343, 3.5478, 22.5210)
Luminance0.0355 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1C85 #63851C
analogous
#1C2F85 #3E1C85 #731C85
triadic
#3E1C85 #853E1C #1C853E
tetradic
#3E1C85 #851C2F #63851C #1C8573
square
#3E1C85 #851C2F #63851C #1C8573
split-complementary
#3E1C85 #85731C #2F851C
monochromatic
#0F0720 #261152 #3E1C85 #5627B8 #7444D8

Accessibility & contrast

On white

12.28
#3E1C85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E1C85
12.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1C85#FFFFFF#000000##FFFFFF
##3E1C851.0012.281.7112.28
#FFFFFF12.281.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.281.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3e1c85;
/* rgb */ color: rgb(62, 28, 133);
/* oklch */ color: oklch(34.7% 0.161 290.1);
Tailwind
colors: {
  custom: {
    50: '#7c5da9',
    500: '#3e1c85',
    950: '#000000',
  },
}
SCSS
$custom: #3e1c85;
$custom-light: #7c5da9;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1c85",
  "rgb": {
    "r": 62,
    "g": 28,
    "b": 133
  },
  "hsl": {
    "h": 259.429,
    "s": 65.217,
    "l": 31.569
  },
  "oklch": {
    "l": 0.34735,
    "c": 0.16086,
    "h": 290.1
  },
  "luminance": 0.03548
}

Semantic roles & 50–950 ramp

primary
#3E1C85
secondary
#93B845
accent
#E840B2
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #3E1C85

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

Preview Lab → · Contrast checker → · Palette generator →

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