#3E0939#3E0939

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

Color values

HEX#3E0939
RGBrgb(62, 9, 57)
HSLhsl(306, 75%, 14%)
HSVhsv(306, 85%, 24%)
CMYKcmyk(0%, 85.5%, 8.1%, 75.7%)
CIE-LABlab(12.70, 31.11, -17.07)
CIE-LCHlch(12.70, 35.49, 331.25°)
OKLaboklab(26.08% 0.0894 -0.0469)
OKLCHoklch(26.08% 0.101 332.3)
XYZxyz(2.8228, 1.5152, 4.0139)
Luminance0.0152 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E0939 #093E0E
analogous
#29093E #3E0939 #3E091F
triadic
#3E0939 #393E09 #09393E
tetradic
#3E0939 #3E2909 #093E0E #091F3E
square
#3E0939 #3E2909 #093E0E #091F3E
split-complementary
#3E0939 #1F3E09 #093E29
monochromatic
#1B0419 #1B0419 #3E0939 #73116A #A9199B

Accessibility & contrast

On white

16.12
#3E0939 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E0939
16.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E0939#FFFFFF#000000##FFFFFF
##3E09391.0016.121.3016.12
#FFFFFF16.121.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#061C3A
Deuteranopia (green-blind)
#1B2438
Tritanopia (blue-blind)
#410F20
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #3e0939;
/* rgb */ color: rgb(62, 9, 57);
/* oklch */ color: oklch(26.1% 0.101 332.3);
Tailwind
colors: {
  custom: {
    50: '#764f6f',
    500: '#3e0939',
    950: '#000000',
  },
}
SCSS
$custom: #3e0939;
$custom-light: #764f6f;
$custom-dark: #000000;
JSON
{
  "hex": "#3e0939",
  "rgb": {
    "r": 62,
    "g": 9,
    "b": 57
  },
  "hsl": {
    "h": 305.66,
    "s": 74.648,
    "l": 13.922
  },
  "oklch": {
    "l": 0.26083,
    "c": 0.10101,
    "h": 332.3
  },
  "luminance": 0.01515
}

Semantic roles & 50–950 ramp

primary
#3E0939
secondary
#277C2F
accent
#F14837
background
#F7F4F6
surface
#EDE7EC
border
#C8C3C7
text
#090207
muted
#7B787A

Preview Lab

Preview with #3E0939

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

Preview Lab → · Contrast checker → · Palette generator →

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