#3E0D40#3E0D40

#3E0D40 is a dark, moderate purple. Relative luminance 0.017; OKLCH L 27.0% C 0.102 H 326.3°. Best body text is #FFFFFF at 15.71:1 contrast (WCAG AA passes).

Color values

HEX#3E0D40
RGBrgb(62, 13, 64)
HSLhsl(298, 66%, 15%)
HSVhsv(298, 80%, 25%)
CMYKcmyk(3.1%, 79.7%, 0%, 74.9%)
CIE-LABlab(13.72, 30.87, -20.44)
CIE-LCHlch(13.72, 37.02, 326.50°)
OKLaboklab(26.96% 0.085 -0.0567)
OKLCHoklch(26.96% 0.102 326.3)
XYZxyz(3.0559, 1.6823, 5.0133)
Luminance0.0168 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E0D40 #0F400D
analogous
#240D40 #3E0D40 #400D28
triadic
#3E0D40 #403E0D #0D403E
tetradic
#3E0D40 #40240D #0F400D #0D2840
square
#3E0D40 #40240D #0F400D #0D2840
split-complementary
#3E0D40 #28400D #0D4024
monochromatic
#190519 #190519 #3E0D40 #6F1773 #A122A6

Accessibility & contrast

On white

15.71
#3E0D40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#3E0D40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E0D40
15.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E0D40#FFFFFF#000000##FFFFFF
##3E0D401.0015.711.3415.71
#FFFFFF15.711.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#041F41
Deuteranopia (green-blind)
#19253F
Tritanopia (blue-blind)
#401525
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #3e0d40;
/* rgb */ color: rgb(62, 13, 64);
/* oklch */ color: oklch(27.0% 0.102 326.3);
Tailwind
colors: {
  custom: {
    50: '#755175',
    500: '#3e0d40',
    950: '#000000',
  },
}
SCSS
$custom: #3e0d40;
$custom-light: #755175;
$custom-dark: #000000;
JSON
{
  "hex": "#3e0d40",
  "rgb": {
    "r": 62,
    "g": 13,
    "b": 64
  },
  "hsl": {
    "h": 297.647,
    "s": 66.234,
    "l": 15.098
  },
  "oklch": {
    "l": 0.26961,
    "c": 0.10218,
    "h": 326.3
  },
  "luminance": 0.01682
}

Semantic roles & 50–950 ramp

primary
#3E0D40
secondary
#307C2D
accent
#E93F45
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#090208
muted
#7B787B

Preview Lab

Preview with #3E0D40

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

Preview Lab → · Contrast checker → · Palette generator →

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