#3E0839#3E0839

#3E0839 is a dark, moderate purple. Relative luminance 0.015; OKLCH L 26.0% C 0.102 H 332.3°. Best body text is #FFFFFF at 16.17:1 contrast (WCAG AA passes).

Color values

HEX#3E0839
RGBrgb(62, 8, 57)
HSLhsl(306, 77%, 14%)
HSVhsv(306, 87%, 24%)
CMYKcmyk(0%, 87.1%, 8.1%, 75.7%)
CIE-LABlab(12.57, 31.51, -17.29)
CIE-LCHlch(12.57, 35.95, 331.25°)
OKLaboklab(25.98% 0.0906 -0.0476)
OKLCHoklch(25.98% 0.102 332.3)
XYZxyz(2.8120, 1.4934, 4.0103)
Luminance0.0149 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E0839 #083E0D
analogous
#28083E #3E0839 #3E081E
triadic
#3E0839 #393E08 #08393E
tetradic
#3E0839 #3E2808 #083E0D #081E3E
square
#3E0839 #3E2808 #083E0D #081E3E
split-complementary
#3E0839 #1E3E08 #083E28
monochromatic
#1B0319 #1B0319 #3E0839 #740F6B #AA169D

Accessibility & contrast

On white

16.17
#3E0839 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E0839
16.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E0839#FFFFFF#000000##FFFFFF
##3E08391.0016.171.3016.17
#FFFFFF16.171.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#051C3A
Deuteranopia (green-blind)
#1A2338
Tritanopia (blue-blind)
#410E20
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #3e0839;
/* rgb */ color: rgb(62, 8, 57);
/* oklch */ color: oklch(26.0% 0.102 332.3);
Tailwind
colors: {
  custom: {
    50: '#764f6f',
    500: '#3e0839',
    950: '#000000',
  },
}
SCSS
$custom: #3e0839;
$custom-light: #764f6f;
$custom-dark: #000000;
JSON
{
  "hex": "#3e0839",
  "rgb": {
    "r": 62,
    "g": 8,
    "b": 57
  },
  "hsl": {
    "h": 305.556,
    "s": 77.143,
    "l": 13.725
  },
  "oklch": {
    "l": 0.25984,
    "c": 0.10231,
    "h": 332.3
  },
  "luminance": 0.01493
}

Semantic roles & 50–950 ramp

primary
#3E0839
secondary
#257D2D
accent
#F44634
background
#F7F4F6
surface
#EDE7EC
border
#C8C3C7
text
#090207
muted
#7B787A

Preview Lab

Preview with #3E0839

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

Preview Lab → · Contrast checker → · Palette generator →

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