#391338#391338

#391338 is a dark, moderate purple. Relative luminance 0.016; OKLCH L 26.4% C 0.081 H 328.6°. Best body text is #FFFFFF at 15.86:1 contrast (WCAG AA passes).

Color values

HEX#391338
RGBrgb(57, 19, 56)
HSLhsl(302, 50%, 15%)
HSVhsv(302, 67%, 22%)
CMYKcmyk(0%, 66.7%, 1.8%, 77.6%)
CIE-LABlab(13.36, 24.76, -15.39)
CIE-LCHlch(13.36, 29.15, 328.13°)
OKLaboklab(26.35% 0.0694 -0.0423)
OKLCHoklch(26.35% 0.081 328.6)
XYZxyz(2.6340, 1.6213, 3.9148)
Luminance0.0162 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391338 #133914
analogous
#271339 #391338 #391325
triadic
#391338 #383913 #133839
tetradic
#391338 #392713 #133914 #132539
square
#391338 #392713 #133914 #132539
split-complementary
#391338 #253913 #133927
monochromatic
#170817 #170817 #391338 #672265 #953292

Accessibility & contrast

On white

15.86
#391338 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #391338
15.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391338#FFFFFF#000000##FFFFFF
##3913381.0015.861.3215.86
#FFFFFF15.861.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#101F39
Deuteranopia (green-blind)
#1C2437
Tritanopia (blue-blind)
#3B1723
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #391338;
/* rgb */ color: rgb(57, 19, 56);
/* oklch */ color: oklch(26.4% 0.081 328.6);
Tailwind
colors: {
  custom: {
    50: '#71536e',
    500: '#391338',
    950: '#000000',
  },
}
SCSS
$custom: #391338;
$custom-light: #71536e;
$custom-dark: #000000;
JSON
{
  "hex": "#391338",
  "rgb": {
    "r": 57,
    "g": 19,
    "b": 56
  },
  "hsl": {
    "h": 301.579,
    "s": 50,
    "l": 14.902
  },
  "oklch": {
    "l": 0.2635,
    "c": 0.08127,
    "h": 328.6
  },
  "luminance": 0.01621
}

Semantic roles & 50–950 ramp

primary
#391338
secondary
#377138
accent
#DA524E
background
#F6F4F6
surface
#ECE7EC
border
#C7C3C7
text
#080207
muted
#7B787A

Preview Lab

Preview with #391338

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

Preview Lab → · Contrast checker → · Palette generator →

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