#3E1B77#3E1B77

#3E1B77 is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.3% C 0.145 H 294.4°. Best body text is #FFFFFF at 12.90:1 contrast (WCAG AA passes).

Color values

HEX#3E1B77
RGBrgb(62, 27, 119)
HSLhsl(263, 63%, 29%)
HSVhsv(263, 77%, 47%)
CMYKcmyk(47.9%, 77.3%, 0%, 53.3%)
CIE-LABlab(20.59, 38.06, -46.17)
CIE-LCHlch(20.59, 59.83, 309.50°)
OKLaboklab(33.26% 0.0601 -0.1323)
OKLCHoklch(33.26% 0.145 294.4)
XYZxyz(5.7074, 3.1397, 17.7545)
Luminance0.0314 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1B77 #54771B
analogous
#1B2677 #3E1B77 #6C1B77
triadic
#3E1B77 #773E1B #1B773E
tetradic
#3E1B77 #771B26 #54771B #1B776C
square
#3E1B77 #771B26 #54771B #1B776C
split-complementary
#3E1B77 #776C1B #26771B
monochromatic
#0D0619 #241045 #3E1B77 #5826A9 #743AD2

Accessibility & contrast

On white

12.90
#3E1B77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E1B77
12.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1B77#FFFFFF#000000##FFFFFF
##3E1B771.0012.901.6312.90
#FFFFFF12.901.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00327A
Deuteranopia (green-blind)
#003075
Tritanopia (blue-blind)
#2D3347
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #3e1b77;
/* rgb */ color: rgb(62, 27, 119);
/* oklch */ color: oklch(33.3% 0.145 294.4);
Tailwind
colors: {
  custom: {
    50: '#7a5b9f',
    500: '#3e1b77',
    950: '#000000',
  },
}
SCSS
$custom: #3e1b77;
$custom-light: #7a5b9f;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1b77",
  "rgb": {
    "r": 62,
    "g": 27,
    "b": 119
  },
  "hsl": {
    "h": 262.826,
    "s": 63.014,
    "l": 28.627
  },
  "oklch": {
    "l": 0.33255,
    "c": 0.14533,
    "h": 294.4
  },
  "luminance": 0.0314
}

Semantic roles & 50–950 ramp

primary
#3E1B77
secondary
#83AB42
accent
#E642A8
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040F
muted
#7C797E

Preview Lab

Preview with #3E1B77

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

Preview Lab → · Contrast checker → · Palette generator →

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