#3E0641#3E0641

#3E0641 is a dark, moderate purple. Relative luminance 0.015; OKLCH L 26.4% C 0.112 H 325.8°. Best body text is #FFFFFF at 16.06:1 contrast (WCAG AA passes).

Color values

HEX#3E0641
RGBrgb(62, 6, 65)
HSLhsl(297, 83%, 14%)
HSVhsv(297, 91%, 25%)
CMYKcmyk(4.6%, 90.8%, 0%, 74.5%)
CIE-LABlab(12.84, 33.82, -22.56)
CIE-LCHlch(12.84, 40.65, 326.30°)
OKLaboklab(26.35% 0.0926 -0.0628)
OKLCHoklch(26.35% 0.112 325.8)
XYZxyz(3.0058, 1.5362, 5.1382)
Luminance0.0154 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E0641 #094106
analogous
#210641 #3E0641 #410627
triadic
#3E0641 #413E06 #06413E
tetradic
#3E0641 #412106 #094106 #062741
square
#3E0641 #412106 #094106 #062741
split-complementary
#3E0641 #274106 #064121
monochromatic
#1B031C #1B031C #3E0641 #730B79 #A910B1

Accessibility & contrast

On white

16.06
#3E0641 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#3E0641 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E0641
16.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E0641#FFFFFF#000000##FFFFFF
##3E06411.0016.061.3116.06
#FFFFFF16.061.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D43
Deuteranopia (green-blind)
#142440
Tritanopia (blue-blind)
#401124
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #3e0641;
/* rgb */ color: rgb(62, 6, 65);
/* oklch */ color: oklch(26.4% 0.112 325.8);
Tailwind
colors: {
  custom: {
    50: '#764e76',
    500: '#3e0641',
    950: '#000000',
  },
}
SCSS
$custom: #3e0641;
$custom-light: #764e76;
$custom-dark: #000000;
JSON
{
  "hex": "#3e0641",
  "rgb": {
    "r": 62,
    "g": 6,
    "b": 65
  },
  "hsl": {
    "h": 296.949,
    "s": 83.099,
    "l": 13.922
  },
  "oklch": {
    "l": 0.26352,
    "c": 0.11191,
    "h": 325.8
  },
  "luminance": 0.01536
}

Semantic roles & 50–950 ramp

primary
#3E0641
secondary
#278122
accent
#F92E39
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#090208
muted
#7B787B

Preview Lab

Preview with #3E0641

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

Preview Lab → · Contrast checker → · Palette generator →

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