#3E043F#3E043F

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

Color values

HEX#3E043F
RGBrgb(62, 4, 63)
HSLhsl(299, 88%, 13%)
HSVhsv(299, 94%, 25%)
CMYKcmyk(1.6%, 93.7%, 0%, 75.3%)
CIE-LABlab(12.42, 34.24, -21.81)
CIE-LCHlch(12.42, 40.60, 327.50°)
OKLaboklab(26.01% 0.095 -0.0607)
OKLCHoklch(26.01% 0.113 327.4)
XYZxyz(2.9272, 1.4701, 4.8312)
Luminance0.0147 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E043F #053F04
analogous
#20043F #3E043F #3F0422
triadic
#3E043F #3F3E04 #043F3E
tetradic
#3E043F #3F2004 #053F04 #04223F
square
#3E043F #3F2004 #053F04 #04223F
split-complementary
#3E043F #223F04 #043F20
monochromatic
#1C021D #1C021D #3E043F #770879 #AF0BB2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3E043F#FFFFFF#000000##FFFFFF
##3E043F1.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)
#001C40
Deuteranopia (green-blind)
#15233E
Tritanopia (blue-blind)
#400F22
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #3e043f;
/* rgb */ color: rgb(62, 4, 63);
/* oklch */ color: oklch(26.0% 0.113 327.4);
Tailwind
colors: {
  custom: {
    50: '#764d74',
    500: '#3e043f',
    950: '#000000',
  },
}
SCSS
$custom: #3e043f;
$custom-light: #764d74;
$custom-dark: #000000;
JSON
{
  "hex": "#3e043f",
  "rgb": {
    "r": 62,
    "g": 4,
    "b": 63
  },
  "hsl": {
    "h": 298.983,
    "s": 88.06,
    "l": 13.137
  },
  "oklch": {
    "l": 0.26008,
    "c": 0.11274,
    "h": 327.4
  },
  "luminance": 0.0147
}

Semantic roles & 50–950 ramp

primary
#3E043F
secondary
#20801E
accent
#FE2A2D
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#090208
muted
#7B787B

Preview Lab

Preview with #3E043F

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

Preview Lab → · Contrast checker → · Palette generator →

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