#3E0943#3E0943

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

Color values

HEX#3E0943
RGBrgb(62, 9, 67)
HSLhsl(295, 76%, 15%)
HSVhsv(295, 87%, 26%)
CMYKcmyk(7.5%, 86.6%, 0%, 73.7%)
CIE-LABlab(13.38, 33.06, -23.09)
CIE-LCHlch(13.38, 40.33, 325.07°)
OKLaboklab(26.78% 0.0892 -0.0644)
OKLCHoklch(26.78% 0.11 324.2)
XYZxyz(3.0973, 1.6250, 5.4596)
Luminance0.0163 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E0943 #0E4309
analogous
#210943 #3E0943 #43092B
triadic
#3E0943 #433E09 #09433E
tetradic
#3E0943 #432109 #0E4309 #092B43
square
#3E0943 #432109 #0E4309 #092B43
split-complementary
#3E0943 #2B4309 #094321
monochromatic
#19041B #19041B #3E0943 #701079 #A217AF

Accessibility & contrast

On white

15.85
#3E0943 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#3E0943 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E0943
15.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E0943#FFFFFF#000000##FFFFFF
##3E09431.0015.851.3315.85
#FFFFFF15.851.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.851.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3e0943;
/* rgb */ color: rgb(62, 9, 67);
/* oklch */ color: oklch(26.8% 0.110 324.2);
Tailwind
colors: {
  custom: {
    50: '#765077',
    500: '#3e0943',
    950: '#000000',
  },
}
SCSS
$custom: #3e0943;
$custom-light: #765077;
$custom-dark: #000000;
JSON
{
  "hex": "#3e0943",
  "rgb": {
    "r": 62,
    "g": 9,
    "b": 67
  },
  "hsl": {
    "h": 294.828,
    "s": 76.316,
    "l": 14.902
  },
  "oklch": {
    "l": 0.26784,
    "c": 0.11005,
    "h": 324.2
  },
  "luminance": 0.01625
}

Semantic roles & 50–950 ramp

primary
#3E0943
secondary
#2F8127
accent
#F33545
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#090209
muted
#7B787B

Preview Lab

Preview with #3E0943

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

Preview Lab → · Contrast checker → · Palette generator →

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