#3E0940#3E0940

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

Color values

HEX#3E0940
RGBrgb(62, 9, 64)
HSLhsl(298, 75%, 14%)
HSVhsv(298, 86%, 25%)
CMYKcmyk(3.1%, 85.9%, 0%, 74.9%)
CIE-LABlab(13.17, 32.46, -21.32)
CIE-LCHlch(13.17, 38.83, 326.70°)
OKLaboklab(26.56% 0.0894 -0.0593)
OKLCHoklch(26.56% 0.107 326.5)
XYZxyz(3.0097, 1.5899, 4.9979)
Luminance0.0159 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E0940 #0B4009
analogous
#230940 #3E0940 #400927
triadic
#3E0940 #403E09 #09403E
tetradic
#3E0940 #402309 #0B4009 #092740
square
#3E0940 #402309 #0B4009 #092740
split-complementary
#3E0940 #274009 #094023
monochromatic
#1A041B #1A041B #3E0940 #721176 #A618AB

Accessibility & contrast

On white

15.93
#3E0940 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E0940
15.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E0940#FFFFFF#000000##FFFFFF
##3E09401.0015.931.3215.93
#FFFFFF15.931.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E41
Deuteranopia (green-blind)
#17243F
Tritanopia (blue-blind)
#401324
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #3e0940;
/* rgb */ color: rgb(62, 9, 64);
/* oklch */ color: oklch(26.6% 0.107 326.5);
Tailwind
colors: {
  custom: {
    50: '#765075',
    500: '#3e0940',
    950: '#000000',
  },
}
SCSS
$custom: #3e0940;
$custom-light: #765075;
$custom-dark: #000000;
JSON
{
  "hex": "#3e0940",
  "rgb": {
    "r": 62,
    "g": 9,
    "b": 64
  },
  "hsl": {
    "h": 297.818,
    "s": 75.342,
    "l": 14.314
  },
  "oklch": {
    "l": 0.26564,
    "c": 0.10728,
    "h": 326.5
  },
  "luminance": 0.0159
}

Semantic roles & 50–950 ramp

primary
#3E0940
secondary
#2A7E27
accent
#F2363D
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#090208
muted
#7B787B

Preview Lab

Preview with #3E0940

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

Preview Lab → · Contrast checker → · Palette generator →

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