#3E1E71#3E1E71

#3E1E71 is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.1% C 0.134 H 295.8°. Best body text is #FFFFFF at 12.89:1 contrast (WCAG AA passes).

Color values

HEX#3E1E71
RGBrgb(62, 30, 113)
HSLhsl(263, 58%, 28%)
HSVhsv(263, 73%, 44%)
CMYKcmyk(45.1%, 73.5%, 0%, 55.7%)
CIE-LABlab(20.61, 34.76, -42.28)
CIE-LCHlch(20.61, 54.73, 309.42°)
OKLaboklab(33.1% 0.0585 -0.1209)
OKLCHoklch(33.1% 0.134 295.8)
XYZxyz(5.4307, 3.1448, 15.9405)
Luminance0.0314 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1E71 #51711E
analogous
#1E2771 #3E1E71 #671E71
triadic
#3E1E71 #713E1E #1E713E
tetradic
#3E1E71 #711E27 #51711E #1E7167
square
#3E1E71 #711E27 #51711E #1E7167
split-complementary
#3E1E71 #71671E #27711E
monochromatic
#0D0618 #231141 #3E1E71 #592BA1 #743ECC

Accessibility & contrast

On white

12.89
#3E1E71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#3E1E71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E1E71
12.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1E71#FFFFFF#000000##FFFFFF
##3E1E711.0012.891.6312.89
#FFFFFF12.891.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003273
Deuteranopia (green-blind)
#00306F
Tritanopia (blue-blind)
#303345
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #3e1e71;
/* rgb */ color: rgb(62, 30, 113);
/* oklch */ color: oklch(33.1% 0.134 295.8);
Tailwind
colors: {
  custom: {
    50: '#785d9b',
    500: '#3e1e71',
    950: '#000000',
  },
}
SCSS
$custom: #3e1e71;
$custom-light: #785d9b;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1e71",
  "rgb": {
    "r": 62,
    "g": 30,
    "b": 113
  },
  "hsl": {
    "h": 263.133,
    "s": 58.042,
    "l": 28.039
  },
  "oklch": {
    "l": 0.33101,
    "c": 0.13431,
    "h": 295.8
  },
  "luminance": 0.03145
}

Semantic roles & 50–950 ramp

primary
#3E1E71
secondary
#80A546
accent
#E147A6
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #3E1E71

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

Preview Lab → · Contrast checker → · Palette generator →

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