#3E0F48#3E0F48

#3E0F48 is a dark, moderate purple. Relative luminance 0.018; OKLCH L 27.8% C 0.107 H 320.0°. Best body text is #FFFFFF at 15.36:1 contrast (WCAG AA passes).

Color values

HEX#3E0F48
RGBrgb(62, 15, 72)
HSLhsl(289, 66%, 17%)
HSVhsv(289, 79%, 28%)
CMYKcmyk(13.9%, 79.2%, 0%, 71.8%)
CIE-LABlab(14.59, 31.71, -24.65)
CIE-LCHlch(14.59, 40.16, 322.14°)
OKLaboklab(27.76% 0.0823 -0.069)
OKLCHoklch(27.76% 0.107 320)
XYZxyz(3.3270, 1.8338, 6.3084)
Luminance0.0183 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E0F48 #19480F
analogous
#220F48 #3E0F48 #480F36
triadic
#3E0F48 #483E0F #0F483E
tetradic
#3E0F48 #48220F #19480F #0F3648
square
#3E0F48 #48220F #19480F #0F3648
split-complementary
#3E0F48 #36480F #0F4822
monochromatic
#160519 #160519 #3E0F48 #6A1A7B #9524AD

Accessibility & contrast

On white

15.36
#3E0F48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#3E0F48 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E0F48
15.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E0F48#FFFFFF#000000##FFFFFF
##3E0F481.0015.361.3715.36
#FFFFFF15.361.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00224A
Deuteranopia (green-blind)
#142647
Tritanopia (blue-blind)
#3E1A2A
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #3e0f48;
/* rgb */ color: rgb(62, 15, 72);
/* oklch */ color: oklch(27.8% 0.107 320.0);
Tailwind
colors: {
  custom: {
    50: '#76537b',
    500: '#3e0f48',
    950: '#000000',
  },
}
SCSS
$custom: #3e0f48;
$custom-light: #76537b;
$custom-dark: #000000;
JSON
{
  "hex": "#3e0f48",
  "rgb": {
    "r": 62,
    "g": 15,
    "b": 72
  },
  "hsl": {
    "h": 289.474,
    "s": 65.517,
    "l": 17.059
  },
  "oklch": {
    "l": 0.2776,
    "c": 0.1074,
    "h": 320
  },
  "luminance": 0.01834
}

Semantic roles & 50–950 ramp

primary
#3E0F48
secondary
#3F8230
accent
#E83F5D
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#090209
muted
#7B787B

Preview Lab

Preview with #3E0F48

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

Preview Lab → · Contrast checker → · Palette generator →

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