#391237#391237

#391237 is a dark, moderate purple. Relative luminance 0.016; OKLCH L 26.1% C 0.082 H 329.7°. Best body text is #FFFFFF at 15.96:1 contrast (WCAG AA passes).

Color values

HEX#391237
RGBrgb(57, 18, 55)
HSLhsl(303, 52%, 15%)
HSVhsv(303, 68%, 22%)
CMYKcmyk(0%, 68.4%, 3.5%, 77.6%)
CIE-LABlab(13.10, 25.10, -15.08)
CIE-LCHlch(13.10, 29.28, 328.99°)
OKLaboklab(26.14% 0.0708 -0.0414)
OKLCHoklch(26.14% 0.082 329.7)
XYZxyz(2.5932, 1.5785, 3.7818)
Luminance0.0158 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391237 #123914
analogous
#281239 #391237 #391224
triadic
#391237 #373912 #123739
tetradic
#391237 #392812 #123914 #122439
square
#391237 #392812 #123914 #122439
split-complementary
#391237 #243912 #123928
monochromatic
#170716 #170716 #391237 #682164 #962F91

Accessibility & contrast

On white

15.96
#391237 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#391237 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391237
15.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391237#FFFFFF#000000##FFFFFF
##3912371.0015.961.3215.96
#FFFFFF15.961.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F1E38
Deuteranopia (green-blind)
#1C2436
Tritanopia (blue-blind)
#3B1622
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #391237;
/* rgb */ color: rgb(57, 18, 55);
/* oklch */ color: oklch(26.1% 0.082 329.7);
Tailwind
colors: {
  custom: {
    50: '#71536e',
    500: '#391237',
    950: '#000000',
  },
}
SCSS
$custom: #391237;
$custom-light: #71536e;
$custom-dark: #000000;
JSON
{
  "hex": "#391237",
  "rgb": {
    "r": 57,
    "g": 18,
    "b": 55
  },
  "hsl": {
    "h": 303.077,
    "s": 52,
    "l": 14.706
  },
  "oklch": {
    "l": 0.2614,
    "c": 0.08204,
    "h": 329.7
  },
  "luminance": 0.01578
}

Semantic roles & 50–950 ramp

primary
#391237
secondary
#357238
accent
#DB544C
background
#F6F4F6
surface
#ECE7EB
border
#C7C3C6
text
#080207
muted
#7B787A

Preview Lab

Preview with #391237

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

Preview Lab → · Contrast checker → · Palette generator →

#391237 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva