#3E0F49#3E0F49

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

Color values

HEX#3E0F49
RGBrgb(62, 15, 73)
HSLhsl(289, 66%, 17%)
HSVhsv(289, 79%, 29%)
CMYKcmyk(15.1%, 79.5%, 0%, 71.4%)
CIE-LABlab(14.66, 31.93, -25.22)
CIE-LCHlch(14.66, 40.69, 321.69°)
OKLaboklab(27.84% 0.0822 -0.0707)
OKLCHoklch(27.84% 0.108 319.3)
XYZxyz(3.3599, 1.8470, 6.4816)
Luminance0.0185 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E0F49 #1A490F
analogous
#210F49 #3E0F49 #490F37
triadic
#3E0F49 #493E0F #0F493E
tetradic
#3E0F49 #49210F #1A490F #0F3749
square
#3E0F49 #49210F #1A490F #0F3749
split-complementary
#3E0F49 #37490F #0F4921
monochromatic
#160519 #160519 #3E0F49 #69197C #9424AF

Accessibility & contrast

On white

15.34
#3E0F49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E0F49
15.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E0F49#FFFFFF#000000##FFFFFF
##3E0F491.0015.341.3715.34
#FFFFFF15.341.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00224B
Deuteranopia (green-blind)
#132748
Tritanopia (blue-blind)
#3E1A2B
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #3e0f49;
/* rgb */ color: rgb(62, 15, 73);
/* oklch */ color: oklch(27.8% 0.108 319.3);
Tailwind
colors: {
  custom: {
    50: '#76537c',
    500: '#3e0f49',
    950: '#000000',
  },
}
SCSS
$custom: #3e0f49;
$custom-light: #76537c;
$custom-dark: #000000;
JSON
{
  "hex": "#3e0f49",
  "rgb": {
    "r": 62,
    "g": 15,
    "b": 73
  },
  "hsl": {
    "h": 288.621,
    "s": 65.909,
    "l": 17.255
  },
  "oklch": {
    "l": 0.27836,
    "c": 0.10843,
    "h": 319.3
  },
  "luminance": 0.01847
}

Semantic roles & 50–950 ramp

primary
#3E0F49
secondary
#408330
accent
#E93F5F
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#090209
muted
#7B787B

Preview Lab

Preview with #3E0F49

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

Preview Lab → · Contrast checker → · Palette generator →

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