#3E0841#3E0841

#3E0841 is a dark, moderate purple. Relative luminance 0.016; OKLCH L 26.5% C 0.109 H 325.7°. Best body text is #FFFFFF at 15.96:1 contrast (WCAG AA passes).

Color values

HEX#3E0841
RGBrgb(62, 8, 65)
HSLhsl(297, 78%, 14%)
HSVhsv(297, 88%, 25%)
CMYKcmyk(4.6%, 87.7%, 0%, 74.5%)
CIE-LABlab(13.11, 33.04, -22.12)
CIE-LCHlch(13.11, 39.76, 326.19°)
OKLaboklab(26.54% 0.0904 -0.0616)
OKLCHoklch(26.54% 0.109 325.7)
XYZxyz(3.0275, 1.5797, 5.1454)
Luminance0.0158 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E0841 #0B4108
analogous
#220841 #3E0841 #410828
triadic
#3E0841 #413E08 #08413E
tetradic
#3E0841 #412208 #0B4108 #082841
square
#3E0841 #412208 #0B4108 #082841
split-complementary
#3E0841 #284108 #084122
monochromatic
#1A031B #1A031B #3E0841 #720F77 #A615AE

Accessibility & contrast

On white

15.96
#3E0841 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#3E0841 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E0841
15.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E0841#FFFFFF#000000##FFFFFF
##3E08411.0015.961.3215.96
#FFFFFF15.961.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E43
Deuteranopia (green-blind)
#152440
Tritanopia (blue-blind)
#401324
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #3e0841;
/* rgb */ color: rgb(62, 8, 65);
/* oklch */ color: oklch(26.5% 0.109 325.7);
Tailwind
colors: {
  custom: {
    50: '#764f76',
    500: '#3e0841',
    950: '#000000',
  },
}
SCSS
$custom: #3e0841;
$custom-light: #764f76;
$custom-dark: #000000;
JSON
{
  "hex": "#3e0841",
  "rgb": {
    "r": 62,
    "g": 8,
    "b": 65
  },
  "hsl": {
    "h": 296.842,
    "s": 78.082,
    "l": 14.314
  },
  "oklch": {
    "l": 0.26542,
    "c": 0.10941,
    "h": 325.7
  },
  "luminance": 0.01579
}

Semantic roles & 50–950 ramp

primary
#3E0841
secondary
#2A7F25
accent
#F5333D
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#090208
muted
#7B787B

Preview Lab

Preview with #3E0841

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

Preview Lab → · Contrast checker → · Palette generator →

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