#391545#391545

#391545 is a dark, moderate purple. Relative luminance 0.018; OKLCH L 27.5% C 0.092 H 316.7°. Best body text is #FFFFFF at 15.36:1 contrast (WCAG AA passes).

Color values

HEX#391545
RGBrgb(57, 21, 69)
HSLhsl(285, 53%, 18%)
HSVhsv(285, 70%, 27%)
CMYKcmyk(17.4%, 69.6%, 0%, 72.9%)
CIE-LABlab(14.60, 26.63, -22.59)
CIE-LCHlch(14.60, 34.92, 319.68°)
OKLaboklab(27.53% 0.0672 -0.0633)
OKLCHoklch(27.53% 0.092 316.7)
XYZxyz(3.0295, 1.8360, 5.8239)
Luminance0.0184 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391545 #214515
analogous
#211545 #391545 #451539
triadic
#391545 #453915 #154539
tetradic
#391545 #452115 #214515 #153945
square
#391545 #452115 #214515 #153945
split-complementary
#391545 #394515 #154521
monochromatic
#130717 #130717 #391545 #602374 #8732A3

Accessibility & contrast

On white

15.36
#391545 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#391545 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##391545#FFFFFF#000000##FFFFFF
##3915451.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)
#062346
Deuteranopia (green-blind)
#162644
Tritanopia (blue-blind)
#381D2A
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #391545;
/* rgb */ color: rgb(57, 21, 69);
/* oklch */ color: oklch(27.5% 0.092 316.7);
Tailwind
colors: {
  custom: {
    50: '#715579',
    500: '#391545',
    950: '#000000',
  },
}
SCSS
$custom: #391545;
$custom-light: #715579;
$custom-dark: #000000;
JSON
{
  "hex": "#391545",
  "rgb": {
    "r": 57,
    "g": 21,
    "b": 69
  },
  "hsl": {
    "h": 285,
    "s": 53.333,
    "l": 17.647
  },
  "oklch": {
    "l": 0.27525,
    "c": 0.09232,
    "h": 316.7
  },
  "luminance": 0.01836
}

Semantic roles & 50–950 ramp

primary
#391545
secondary
#4A7D39
accent
#DD4B6F
background
#F7F5F7
surface
#EDE9ED
border
#C8C5C8
text
#080309
muted
#7B787B

Preview Lab

Preview with #391545

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

Preview Lab → · Contrast checker → · Palette generator →

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