#3E1B76#3E1B76

#3E1B76 is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.2% C 0.144 H 294.8°. Best body text is #FFFFFF at 12.94:1 contrast (WCAG AA passes).

Color values

HEX#3E1B76
RGBrgb(62, 27, 118)
HSLhsl(263, 63%, 28%)
HSVhsv(263, 77%, 46%)
CMYKcmyk(47.5%, 77.1%, 0%, 53.7%)
CIE-LABlab(20.50, 37.77, -45.68)
CIE-LCHlch(20.50, 59.28, 309.59°)
OKLaboklab(33.16% 0.0604 -0.1309)
OKLCHoklch(33.16% 0.144 294.8)
XYZxyz(5.6477, 3.1159, 17.4399)
Luminance0.0312 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1B76 #53761B
analogous
#1B2576 #3E1B76 #6B1B76
triadic
#3E1B76 #763E1B #1B763E
tetradic
#3E1B76 #761B25 #53761B #1B766B
square
#3E1B76 #761B25 #53761B #1B766B
split-complementary
#3E1B76 #766B1B #25761B
monochromatic
#0D0619 #241044 #3E1B76 #5826A8 #743AD2

Accessibility & contrast

On white

12.94
#3E1B76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#3E1B76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E1B76
12.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1B76#FFFFFF#000000##FFFFFF
##3E1B761.0012.941.6212.94
#FFFFFF12.941.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003279
Deuteranopia (green-blind)
#003074
Tritanopia (blue-blind)
#2E3347
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #3e1b76;
/* rgb */ color: rgb(62, 27, 118);
/* oklch */ color: oklch(33.2% 0.144 294.8);
Tailwind
colors: {
  custom: {
    50: '#795b9e',
    500: '#3e1b76',
    950: '#000000',
  },
}
SCSS
$custom: #3e1b76;
$custom-light: #795b9e;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1b76",
  "rgb": {
    "r": 62,
    "g": 27,
    "b": 118
  },
  "hsl": {
    "h": 263.077,
    "s": 62.759,
    "l": 28.431
  },
  "oklch": {
    "l": 0.33161,
    "c": 0.14413,
    "h": 294.8
  },
  "luminance": 0.03116
}

Semantic roles & 50–950 ramp

primary
#3E1B76
secondary
#82AA42
accent
#E642A7
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #3E1B76

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

Preview Lab → · Contrast checker → · Palette generator →

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