#3E0941#3E0941

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

Color values

HEX#3E0941
RGBrgb(62, 9, 65)
HSLhsl(297, 76%, 15%)
HSVhsv(297, 86%, 25%)
CMYKcmyk(4.6%, 86.2%, 0%, 74.5%)
CIE-LABlab(13.24, 32.66, -21.91)
CIE-LCHlch(13.24, 39.33, 326.14°)
OKLaboklab(26.64% 0.0894 -0.061)
OKLCHoklch(26.64% 0.108 325.7)
XYZxyz(3.0384, 1.6014, 5.1491)
Luminance0.0160 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E0941 #0C4109
analogous
#220941 #3E0941 #410928
triadic
#3E0941 #413E09 #09413E
tetradic
#3E0941 #412209 #0C4109 #092841
square
#3E0941 #412209 #0C4109 #092841
split-complementary
#3E0941 #284109 #094122
monochromatic
#1A041B #1A041B #3E0941 #711077 #A518AD

Accessibility & contrast

On white

15.91
#3E0941 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E0941
15.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E0941#FFFFFF#000000##FFFFFF
##3E09411.0015.911.3215.91
#FFFFFF15.911.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E42
Deuteranopia (green-blind)
#162440
Tritanopia (blue-blind)
#401325
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #3e0941;
/* rgb */ color: rgb(62, 9, 65);
/* oklch */ color: oklch(26.6% 0.108 325.7);
Tailwind
colors: {
  custom: {
    50: '#765076',
    500: '#3e0941',
    950: '#000000',
  },
}
SCSS
$custom: #3e0941;
$custom-light: #765076;
$custom-dark: #000000;
JSON
{
  "hex": "#3e0941",
  "rgb": {
    "r": 62,
    "g": 9,
    "b": 65
  },
  "hsl": {
    "h": 296.786,
    "s": 75.676,
    "l": 14.51
  },
  "oklch": {
    "l": 0.26637,
    "c": 0.1082,
    "h": 325.7
  },
  "luminance": 0.01601
}

Semantic roles & 50–950 ramp

primary
#3E0941
secondary
#2C7F27
accent
#F23640
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#090208
muted
#7B787B

Preview Lab

Preview with #3E0941

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

Preview Lab → · Contrast checker → · Palette generator →

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