#3E0938#3E0938

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

Color values

HEX#3E0938
RGBrgb(62, 9, 56)
HSLhsl(307, 75%, 14%)
HSVhsv(307, 85%, 24%)
CMYKcmyk(0%, 85.5%, 9.7%, 75.7%)
CIE-LABlab(12.64, 30.93, -16.45)
CIE-LCHlch(12.64, 35.04, 331.99°)
OKLaboklab(26.02% 0.0894 -0.0452)
OKLCHoklch(26.02% 0.1 333.2)
XYZxyz(2.7981, 1.5053, 3.8838)
Luminance0.0150 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E0938 #093E0F
analogous
#2A093E #3E0938 #3E091E
triadic
#3E0938 #383E09 #09383E
tetradic
#3E0938 #3E2A09 #093E0F #091E3E
square
#3E0938 #3E2A09 #093E0F #091E3E
split-complementary
#3E0938 #1E3E09 #093E2A
monochromatic
#1B0418 #1B0418 #3E0938 #731168 #A91999

Accessibility & contrast

On white

16.14
#3E0938 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#3E0938 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E0938
16.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E0938#FFFFFF#000000##FFFFFF
##3E09381.0016.141.3016.14
#FFFFFF16.141.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#071C39
Deuteranopia (green-blind)
#1B2337
Tritanopia (blue-blind)
#410F20
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #3e0938;
/* rgb */ color: rgb(62, 9, 56);
/* oklch */ color: oklch(26.0% 0.100 333.2);
Tailwind
colors: {
  custom: {
    50: '#764f6f',
    500: '#3e0938',
    950: '#000000',
  },
}
SCSS
$custom: #3e0938;
$custom-light: #764f6f;
$custom-dark: #000000;
JSON
{
  "hex": "#3e0938",
  "rgb": {
    "r": 62,
    "g": 9,
    "b": 56
  },
  "hsl": {
    "h": 306.792,
    "s": 74.648,
    "l": 13.922
  },
  "oklch": {
    "l": 0.26017,
    "c": 0.10013,
    "h": 333.2
  },
  "luminance": 0.01505
}

Semantic roles & 50–950 ramp

primary
#3E0938
secondary
#277C30
accent
#F14C37
background
#F7F4F6
surface
#EDE7EC
border
#C8C3C7
text
#090207
muted
#7B787A

Preview Lab

Preview with #3E0938

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

Preview Lab → · Contrast checker → · Palette generator →

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