#3E0837#3E0837

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

Color values

HEX#3E0837
RGBrgb(62, 8, 55)
HSLhsl(308, 77%, 14%)
HSVhsv(308, 87%, 24%)
CMYKcmyk(0%, 87.1%, 11.3%, 75.7%)
CIE-LABlab(12.44, 31.15, -16.05)
CIE-LCHlch(12.44, 35.04, 332.74°)
OKLaboklab(25.85% 0.0905 -0.044)
OKLCHoklch(25.85% 0.101 334.1)
XYZxyz(2.7631, 1.4739, 3.7527)
Luminance0.0147 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E0837 #083E0F
analogous
#2A083E #3E0837 #3E081C
triadic
#3E0837 #373E08 #08373E
tetradic
#3E0837 #3E2A08 #083E0F #081C3E
square
#3E0837 #3E2A08 #083E0F #081C3E
split-complementary
#3E0837 #1C3E08 #083E2A
monochromatic
#1B0318 #1B0318 #3E0837 #740F67 #AA1697

Accessibility & contrast

On white

16.22
#3E0837 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E0837
16.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E0837#FFFFFF#000000##FFFFFF
##3E08371.0016.221.2916.22
#FFFFFF16.221.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#071B38
Deuteranopia (green-blind)
#1B2336
Tritanopia (blue-blind)
#410D1F
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #3e0837;
/* rgb */ color: rgb(62, 8, 55);
/* oklch */ color: oklch(25.9% 0.101 334.1);
Tailwind
colors: {
  custom: {
    50: '#764f6e',
    500: '#3e0837',
    950: '#000000',
  },
}
SCSS
$custom: #3e0837;
$custom-light: #764f6e;
$custom-dark: #000000;
JSON
{
  "hex": "#3e0837",
  "rgb": {
    "r": 62,
    "g": 8,
    "b": 55
  },
  "hsl": {
    "h": 307.778,
    "s": 77.143,
    "l": 13.725
  },
  "oklch": {
    "l": 0.25854,
    "c": 0.10061,
    "h": 334.1
  },
  "luminance": 0.01474
}

Semantic roles & 50–950 ramp

primary
#3E0837
secondary
#257D31
accent
#F44D34
background
#F7F4F6
surface
#EDE7EB
border
#C8C3C6
text
#090207
muted
#7B787A

Preview Lab

Preview with #3E0837

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

Preview Lab → · Contrast checker → · Palette generator →

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