#3E0836#3E0836

#3E0836 is a dark, moderate purple. Relative luminance 0.015; OKLCH L 25.8% C 0.100 H 335.0°. Best body text is #FFFFFF at 16.24:1 contrast (WCAG AA passes).

Color values

HEX#3E0836
RGBrgb(62, 8, 54)
HSLhsl(309, 77%, 14%)
HSVhsv(309, 87%, 24%)
CMYKcmyk(0%, 87.1%, 12.9%, 75.7%)
CIE-LABlab(12.38, 30.97, -15.42)
CIE-LCHlch(12.38, 34.60, 333.52°)
OKLaboklab(25.79% 0.0904 -0.0422)
OKLCHoklch(25.79% 0.1 335)
XYZxyz(2.7393, 1.4644, 3.6277)
Luminance0.0146 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E0836 #083E10
analogous
#2B083E #3E0836 #3E081B
triadic
#3E0836 #363E08 #08363E
tetradic
#3E0836 #3E2B08 #083E10 #081B3E
square
#3E0836 #3E2B08 #083E10 #081B3E
split-complementary
#3E0836 #1B3E08 #083E2B
monochromatic
#1B0318 #1B0318 #3E0836 #740F65 #AA1694

Accessibility & contrast

On white

16.24
#3E0836 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#3E0836 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E0836
16.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E0836#FFFFFF#000000##FFFFFF
##3E08361.0016.241.2916.24
#FFFFFF16.241.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#081B37
Deuteranopia (green-blind)
#1C2335
Tritanopia (blue-blind)
#420D1E
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #3e0836;
/* rgb */ color: rgb(62, 8, 54);
/* oklch */ color: oklch(25.8% 0.100 335.0);
Tailwind
colors: {
  custom: {
    50: '#764f6d',
    500: '#3e0836',
    950: '#000000',
  },
}
SCSS
$custom: #3e0836;
$custom-light: #764f6d;
$custom-dark: #000000;
JSON
{
  "hex": "#3e0836",
  "rgb": {
    "r": 62,
    "g": 8,
    "b": 54
  },
  "hsl": {
    "h": 308.889,
    "s": 77.143,
    "l": 13.725
  },
  "oklch": {
    "l": 0.2579,
    "c": 0.09977,
    "h": 335
  },
  "luminance": 0.01464
}

Semantic roles & 50–950 ramp

primary
#3E0836
secondary
#257D32
accent
#F45134
background
#F7F4F6
surface
#EDE7EB
border
#C8C3C6
text
#090207
muted
#7B787A

Preview Lab

Preview with #3E0836

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

Preview Lab → · Contrast checker → · Palette generator →

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