#3E0341#3E0341

#3E0341 is a dark, moderate purple. Relative luminance 0.015; OKLCH L 26.1% C 0.116 H 326.0°. Best body text is #FFFFFF at 16.23:1 contrast (WCAG AA passes).

Color values

HEX#3E0341
RGBrgb(62, 3, 65)
HSLhsl(297, 91%, 13%)
HSVhsv(297, 95%, 25%)
CMYKcmyk(4.6%, 95.4%, 0%, 74.5%)
CIE-LABlab(12.42, 35.03, -23.22)
CIE-LCHlch(12.42, 42.03, 326.46°)
OKLaboklab(26.06% 0.0959 -0.0647)
OKLCHoklch(26.06% 0.116 326)
XYZxyz(2.9732, 1.4711, 5.1274)
Luminance0.0147 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E0341 #064103
analogous
#1F0341 #3E0341 #410325
triadic
#3E0341 #413E03 #03413E
tetradic
#3E0341 #411F03 #064103 #032541
square
#3E0341 #411F03 #064103 #032541
split-complementary
#3E0341 #254103 #03411F
monochromatic
#1C011D #1C011D #3E0341 #76067B #AE08B6

Accessibility & contrast

On white

16.23
#3E0341 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E0341
16.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E0341#FFFFFF#000000##FFFFFF
##3E03411.0016.231.2916.23
#FFFFFF16.231.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C43
Deuteranopia (green-blind)
#132340
Tritanopia (blue-blind)
#400F23
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #3e0341;
/* rgb */ color: rgb(62, 3, 65);
/* oklch */ color: oklch(26.1% 0.116 326.0);
Tailwind
colors: {
  custom: {
    50: '#764d76',
    500: '#3e0341',
    950: '#000000',
  },
}
SCSS
$custom: #3e0341;
$custom-light: #764d76;
$custom-dark: #000000;
JSON
{
  "hex": "#3e0341",
  "rgb": {
    "r": 62,
    "g": 3,
    "b": 65
  },
  "hsl": {
    "h": 297.097,
    "s": 91.176,
    "l": 13.333
  },
  "oklch": {
    "l": 0.2606,
    "c": 0.11575,
    "h": 326
  },
  "luminance": 0.01471
}

Semantic roles & 50–950 ramp

primary
#3E0341
secondary
#22831D
accent
#FF2933
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#090208
muted
#7B787B

Preview Lab

Preview with #3E0341

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

Preview Lab → · Contrast checker → · Palette generator →

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