#3E0E5A#3E0E5A

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

Color values

HEX#3E0E5A
RGBrgb(62, 14, 90)
HSLhsl(278, 73%, 20%)
HSVhsv(278, 84%, 35%)
CMYKcmyk(31.1%, 84.4%, 0%, 64.7%)
CIE-LABlab(15.88, 36.32, -34.85)
CIE-LCHlch(15.88, 50.34, 316.19°)
OKLaboklab(29.13% 0.0802 -0.099)
OKLCHoklch(29.13% 0.127 309)
XYZxyz(3.9887, 2.0765, 9.8616)
Luminance0.0208 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E0E5A #2A5A0E
analogous
#180E5A #3E0E5A #5A0E50
triadic
#3E0E5A #5A3E0E #0E5A3E
tetradic
#3E0E5A #5A180E #2A5A0E #0E505A
square
#3E0E5A #5A180E #2A5A0E #0E505A
split-complementary
#3E0E5A #505A0E #0E5A18
monochromatic
#12041A #1A0625 #3E0E5A #62168F #871EC4

Accessibility & contrast

On white

14.84
#3E0E5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E0E5A
14.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E0E5A#FFFFFF#000000##FFFFFF
##3E0E5A1.0014.841.4214.84
#FFFFFF14.841.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00265C
Deuteranopia (green-blind)
#002858
Tritanopia (blue-blind)
#3A2134
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #3e0e5a;
/* rgb */ color: rgb(62, 14, 90);
/* oklch */ color: oklch(29.1% 0.127 309.0);
Tailwind
colors: {
  custom: {
    50: '#775389',
    500: '#3e0e5a',
    950: '#000000',
  },
}
SCSS
$custom: #3e0e5a;
$custom-light: #775389;
$custom-dark: #000000;
JSON
{
  "hex": "#3e0e5a",
  "rgb": {
    "r": 62,
    "g": 14,
    "b": 90
  },
  "hsl": {
    "h": 277.895,
    "s": 73.077,
    "l": 20.392
  },
  "oklch": {
    "l": 0.29131,
    "c": 0.12738,
    "h": 309
  },
  "luminance": 0.02076
}

Semantic roles & 50–950 ramp

primary
#3E0E5A
secondary
#559430
accent
#F0387C
background
#F7F4F8
surface
#EDE8F0
border
#C8C4CB
text
#09030B
muted
#7B787C

Preview Lab

Preview with #3E0E5A

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

Preview Lab → · Contrast checker → · Palette generator →

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