#3E0E5D#3E0E5D

#3E0E5D is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.4% C 0.131 H 307.5°. Best body text is #FFFFFF at 14.73:1 contrast (WCAG AA passes).

Color values

HEX#3E0E5D
RGBrgb(62, 14, 93)
HSLhsl(276, 74%, 21%)
HSVhsv(276, 85%, 36%)
CMYKcmyk(33.3%, 84.9%, 0%, 63.5%)
CIE-LABlab(16.15, 37.06, -36.43)
CIE-LCHlch(16.15, 51.96, 315.49°)
OKLaboklab(29.4% 0.0794 -0.1036)
OKLCHoklch(29.4% 0.131 307.5)
XYZxyz(4.1190, 2.1286, 10.5477)
Luminance0.0213 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E0E5D #2D5D0E
analogous
#160E5D #3E0E5D #5D0E54
triadic
#3E0E5D #5D3E0E #0E5D3E
tetradic
#3E0E5D #5D160E #2D5D0E #0E545D
square
#3E0E5D #5D160E #2D5D0E #0E545D
split-complementary
#3E0E5D #545D0E #0E5D16
monochromatic
#12041B #1B0628 #3E0E5D #611692 #851EC7

Accessibility & contrast

On white

14.73
#3E0E5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#3E0E5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E0E5D
14.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E0E5D#FFFFFF#000000##FFFFFF
##3E0E5D1.0014.731.4314.73
#FFFFFF14.731.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00265F
Deuteranopia (green-blind)
#00285B
Tritanopia (blue-blind)
#392336
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #3e0e5d;
/* rgb */ color: rgb(62, 14, 93);
/* oklch */ color: oklch(29.4% 0.131 307.5);
Tailwind
colors: {
  custom: {
    50: '#77538c',
    500: '#3e0e5d',
    950: '#000000',
  },
}
SCSS
$custom: #3e0e5d;
$custom-light: #77538c;
$custom-dark: #000000;
JSON
{
  "hex": "#3e0e5d",
  "rgb": {
    "r": 62,
    "g": 14,
    "b": 93
  },
  "hsl": {
    "h": 276.456,
    "s": 73.832,
    "l": 20.98
  },
  "oklch": {
    "l": 0.29398,
    "c": 0.13053,
    "h": 307.5
  },
  "luminance": 0.02129
}

Semantic roles & 50–950 ramp

primary
#3E0E5D
secondary
#589730
accent
#F03780
background
#F7F5F8
surface
#EDE8F0
border
#C8C4CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3E0E5D

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

Preview Lab → · Contrast checker → · Palette generator →

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