#3E0843#3E0843

#3E0843 is a dark, moderate purple. Relative luminance 0.016; OKLCH L 26.7% C 0.111 H 324.2°. Best body text is #FFFFFF at 15.90:1 contrast (WCAG AA passes).

Color values

HEX#3E0843
RGBrgb(62, 8, 67)
HSLhsl(295, 79%, 15%)
HSVhsv(295, 88%, 26%)
CMYKcmyk(7.5%, 88.1%, 0%, 73.7%)
CIE-LABlab(13.25, 33.44, -23.30)
CIE-LCHlch(13.25, 40.76, 325.13°)
OKLaboklab(26.69% 0.0903 -0.065)
OKLCHoklch(26.69% 0.111 324.2)
XYZxyz(3.0865, 1.6032, 5.4560)
Luminance0.0160 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E0843 #0D4308
analogous
#200843 #3E0843 #43082B
triadic
#3E0843 #433E08 #08433E
tetradic
#3E0843 #432008 #0D4308 #082B43
square
#3E0843 #432008 #0D4308 #082B43
split-complementary
#3E0843 #2B4308 #084320
monochromatic
#19031B #19031B #3E0843 #710F7A #A315B0

Accessibility & contrast

On white

15.90
#3E0843 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E0843
15.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E0843#FFFFFF#000000##FFFFFF
##3E08431.0015.901.3215.90
#FFFFFF15.901.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E45
Deuteranopia (green-blind)
#142442
Tritanopia (blue-blind)
#3F1426
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #3e0843;
/* rgb */ color: rgb(62, 8, 67);
/* oklch */ color: oklch(26.7% 0.111 324.2);
Tailwind
colors: {
  custom: {
    50: '#764f77',
    500: '#3e0843',
    950: '#000000',
  },
}
SCSS
$custom: #3e0843;
$custom-light: #764f77;
$custom-dark: #000000;
JSON
{
  "hex": "#3e0843",
  "rgb": {
    "r": 62,
    "g": 8,
    "b": 67
  },
  "hsl": {
    "h": 294.915,
    "s": 78.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.26691,
    "c": 0.11125,
    "h": 324.2
  },
  "luminance": 0.01603
}

Semantic roles & 50–950 ramp

primary
#3E0843
secondary
#2D8125
accent
#F53343
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#090209
muted
#7B787B

Preview Lab

Preview with #3E0843

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

Preview Lab → · Contrast checker → · Palette generator →

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