#3E0E5B#3E0E5B

#3E0E5B is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.2% C 0.128 H 308.5°. Best body text is #FFFFFF at 14.80:1 contrast (WCAG AA passes).

Color values

HEX#3E0E5B
RGBrgb(62, 14, 91)
HSLhsl(277, 73%, 21%)
HSVhsv(277, 85%, 36%)
CMYKcmyk(31.9%, 84.6%, 0%, 64.3%)
CIE-LABlab(15.97, 36.57, -35.37)
CIE-LCHlch(15.97, 50.88, 315.95°)
OKLaboklab(29.22% 0.0799 -0.1005)
OKLCHoklch(29.22% 0.128 308.5)
XYZxyz(4.0316, 2.0936, 10.0872)
Luminance0.0209 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E0E5B #2B5B0E
analogous
#180E5B #3E0E5B #5B0E51
triadic
#3E0E5B #5B3E0E #0E5B3E
tetradic
#3E0E5B #5B180E #2B5B0E #0E515B
square
#3E0E5B #5B180E #2B5B0E #0E515B
split-complementary
#3E0E5B #515B0E #0E5B18
monochromatic
#12041B #1A0626 #3E0E5B #621690 #861EC5

Accessibility & contrast

On white

14.80
#3E0E5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#3E0E5B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E0E5B
14.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E0E5B#FFFFFF#000000##FFFFFF
##3E0E5B1.0014.801.4214.80
#FFFFFF14.801.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00265D
Deuteranopia (green-blind)
#002859
Tritanopia (blue-blind)
#392235
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #3e0e5b;
/* rgb */ color: rgb(62, 14, 91);
/* oklch */ color: oklch(29.2% 0.128 308.5);
Tailwind
colors: {
  custom: {
    50: '#77538a',
    500: '#3e0e5b',
    950: '#000000',
  },
}
SCSS
$custom: #3e0e5b;
$custom-light: #77538a;
$custom-dark: #000000;
JSON
{
  "hex": "#3e0e5b",
  "rgb": {
    "r": 62,
    "g": 14,
    "b": 91
  },
  "hsl": {
    "h": 277.403,
    "s": 73.333,
    "l": 20.588
  },
  "oklch": {
    "l": 0.29219,
    "c": 0.12842,
    "h": 308.5
  },
  "luminance": 0.02094
}

Semantic roles & 50–950 ramp

primary
#3E0E5B
secondary
#569530
accent
#F0387D
background
#F7F4F8
surface
#EDE8F0
border
#C8C4CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3E0E5B

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

Preview Lab → · Contrast checker → · Palette generator →

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