#3E0D5B#3E0D5B

#3E0D5B is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.1% C 0.129 H 308.6°. Best body text is #FFFFFF at 14.86:1 contrast (WCAG AA passes).

Color values

HEX#3E0D5B
RGBrgb(62, 13, 91)
HSLhsl(278, 75%, 20%)
HSVhsv(278, 86%, 36%)
CMYKcmyk(31.9%, 85.7%, 0%, 64.3%)
CIE-LABlab(15.84, 36.96, -35.59)
CIE-LCHlch(15.84, 51.31, 316.08°)
OKLaboklab(29.13% 0.0808 -0.1011)
OKLCHoklch(29.13% 0.129 308.6)
XYZxyz(4.0185, 2.0674, 10.0829)
Luminance0.0207 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E0D5B #2A5B0D
analogous
#170D5B #3E0D5B #5B0D51
triadic
#3E0D5B #5B3E0D #0D5B3E
tetradic
#3E0D5B #5B170D #2A5B0D #0D515B
square
#3E0D5B #5B170D #2A5B0D #0D515B
split-complementary
#3E0D5B #515B0D #0D5B17
monochromatic
#12041B #1A0525 #3E0D5B #621591 #871CC6

Accessibility & contrast

On white

14.86
#3E0D5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#3E0D5B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E0D5B
14.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E0D5B#FFFFFF#000000##FFFFFF
##3E0D5B1.0014.861.4114.86
#FFFFFF14.861.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.861.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3e0d5b;
/* rgb */ color: rgb(62, 13, 91);
/* oklch */ color: oklch(29.1% 0.129 308.6);
Tailwind
colors: {
  custom: {
    50: '#77538a',
    500: '#3e0d5b',
    950: '#000000',
  },
}
SCSS
$custom: #3e0d5b;
$custom-light: #77538a;
$custom-dark: #000000;
JSON
{
  "hex": "#3e0d5b",
  "rgb": {
    "r": 62,
    "g": 13,
    "b": 91
  },
  "hsl": {
    "h": 277.692,
    "s": 75,
    "l": 20.392
  },
  "oklch": {
    "l": 0.29126,
    "c": 0.12949,
    "h": 308.6
  },
  "luminance": 0.02067
}

Semantic roles & 50–950 ramp

primary
#3E0D5B
secondary
#55952F
accent
#F2367C
background
#F7F4F8
surface
#EDE7F0
border
#C8C3CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3E0D5B

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

Preview Lab → · Contrast checker → · Palette generator →

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