#391B59#391B59

#391B59 is a dark, moderate violet. Relative luminance 0.024; OKLCH L 30.0% C 0.107 H 302.6°. Best body text is #FFFFFF at 14.24:1 contrast (WCAG AA passes).

Color values

HEX#391B59
RGBrgb(57, 27, 89)
HSLhsl(269, 53%, 23%)
HSVhsv(269, 70%, 35%)
CMYKcmyk(36%, 69.7%, 0%, 65.1%)
CIE-LABlab(17.34, 28.47, -31.84)
CIE-LCHlch(17.34, 42.71, 311.80°)
OKLaboklab(29.98% 0.0579 -0.0904)
OKLCHoklch(29.98% 0.107 302.6)
XYZxyz(3.8820, 2.3750, 9.7032)
Luminance0.0238 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391B59 #3B591B
analogous
#1B1C59 #391B59 #581B59
triadic
#391B59 #59391B #1B5939
tetradic
#391B59 #591B1C #3B591B #1B5958
square
#391B59 #591B1C #3B591B #1B5958
split-complementary
#391B59 #59581B #1C591B
monochromatic
#0F0717 #1B0D2A #391B59 #572988 #7537B7

Accessibility & contrast

On white

14.24
#391B59 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#391B59 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391B59
14.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391B59#FFFFFF#000000##FFFFFF
##391B591.0014.241.4814.24
#FFFFFF14.241.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A5B
Deuteranopia (green-blind)
#062A58
Tritanopia (blue-blind)
#332937
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #391b59;
/* rgb */ color: rgb(57, 27, 89);
/* oklch */ color: oklch(30.0% 0.107 302.6);
Tailwind
colors: {
  custom: {
    50: '#725988',
    500: '#391b59',
    950: '#000000',
  },
}
SCSS
$custom: #391b59;
$custom-light: #725988;
$custom-dark: #000000;
JSON
{
  "hex": "#391b59",
  "rgb": {
    "r": 57,
    "g": 27,
    "b": 89
  },
  "hsl": {
    "h": 269.032,
    "s": 53.448,
    "l": 22.745
  },
  "oklch": {
    "l": 0.29981,
    "c": 0.10735,
    "h": 302.6
  },
  "luminance": 0.02375
}

Semantic roles & 50–950 ramp

primary
#391B59
secondary
#698F41
accent
#DD4B96
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08040B
muted
#7B797C

Preview Lab

Preview with #391B59

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

Preview Lab → · Contrast checker → · Palette generator →

#391B59 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva