#3E0838#3E0838

#3E0838 is a dark, moderate purple. Relative luminance 0.015; OKLCH L 25.9% C 0.101 H 333.2°. Best body text is #FFFFFF at 16.20:1 contrast (WCAG AA passes).

Color values

HEX#3E0838
RGBrgb(62, 8, 56)
HSLhsl(307, 77%, 14%)
HSVhsv(307, 87%, 24%)
CMYKcmyk(0%, 87.1%, 9.7%, 75.7%)
CIE-LABlab(12.50, 31.33, -16.67)
CIE-LCHlch(12.50, 35.49, 331.98°)
OKLaboklab(25.92% 0.0905 -0.0458)
OKLCHoklch(25.92% 0.101 333.2)
XYZxyz(2.7873, 1.4836, 3.8802)
Luminance0.0148 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E0838 #083E0E
analogous
#29083E #3E0838 #3E081D
triadic
#3E0838 #383E08 #08383E
tetradic
#3E0838 #3E2908 #083E0E #081D3E
square
#3E0838 #3E2908 #083E0E #081D3E
split-complementary
#3E0838 #1D3E08 #083E29
monochromatic
#1B0318 #1B0318 #3E0838 #740F69 #AA169A

Accessibility & contrast

On white

16.20
#3E0838 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#3E0838 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E0838
16.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E0838#FFFFFF#000000##FFFFFF
##3E08381.0016.201.3016.20
#FFFFFF16.201.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#061C39
Deuteranopia (green-blind)
#1B2337
Tritanopia (blue-blind)
#410E1F
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #3e0838;
/* rgb */ color: rgb(62, 8, 56);
/* oklch */ color: oklch(25.9% 0.101 333.2);
Tailwind
colors: {
  custom: {
    50: '#764f6f',
    500: '#3e0838',
    950: '#000000',
  },
}
SCSS
$custom: #3e0838;
$custom-light: #764f6f;
$custom-dark: #000000;
JSON
{
  "hex": "#3e0838",
  "rgb": {
    "r": 62,
    "g": 8,
    "b": 56
  },
  "hsl": {
    "h": 306.667,
    "s": 77.143,
    "l": 13.725
  },
  "oklch": {
    "l": 0.25918,
    "c": 0.10146,
    "h": 333.2
  },
  "luminance": 0.01483
}

Semantic roles & 50–950 ramp

primary
#3E0838
secondary
#257D2F
accent
#F44934
background
#F7F4F6
surface
#EDE7EC
border
#C8C3C7
text
#090207
muted
#7B787A

Preview Lab

Preview with #3E0838

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

Preview Lab → · Contrast checker → · Palette generator →

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