#391159#391159

#391159 is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.6% C 0.121 H 305.0°. Best body text is #FFFFFF at 15.02:1 contrast (WCAG AA passes).

Color values

HEX#391159
RGBrgb(57, 17, 89)
HSLhsl(273, 68%, 21%)
HSVhsv(273, 81%, 35%)
CMYKcmyk(36%, 80.9%, 0%, 65.1%)
CIE-LABlab(15.45, 33.77, -34.92)
CIE-LCHlch(15.45, 48.58, 314.04°)
OKLaboklab(28.63% 0.0697 -0.0994)
OKLCHoklch(28.63% 0.121 305)
XYZxyz(3.6906, 1.9920, 9.6393)
Luminance0.0199 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391159 #315911
analogous
#151159 #391159 #591155
triadic
#391159 #593911 #115939
tetradic
#391159 #591511 #315911 #115559
square
#391159 #591511 #315911 #115559
split-complementary
#391159 #555911 #115915
monochromatic
#10051A #180726 #391159 #5A1B8C #7B25C0

Accessibility & contrast

On white

15.02
#391159 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#391159 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391159
15.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391159#FFFFFF#000000##FFFFFF
##3911591.0015.021.4015.02
#FFFFFF15.021.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00265B
Deuteranopia (green-blind)
#002758
Tritanopia (blue-blind)
#332334
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #391159;
/* rgb */ color: rgb(57, 17, 89);
/* oklch */ color: oklch(28.6% 0.121 305.0);
Tailwind
colors: {
  custom: {
    50: '#735488',
    500: '#391159',
    950: '#000000',
  },
}
SCSS
$custom: #391159;
$custom-light: #735488;
$custom-dark: #000000;
JSON
{
  "hex": "#391159",
  "rgb": {
    "r": 57,
    "g": 17,
    "b": 89
  },
  "hsl": {
    "h": 273.333,
    "s": 67.925,
    "l": 20.784
  },
  "oklch": {
    "l": 0.28628,
    "c": 0.1214,
    "h": 305
  },
  "luminance": 0.01992
}

Semantic roles & 50–950 ramp

primary
#391159
secondary
#5E9234
accent
#EB3D8A
background
#F7F5F8
surface
#EDE8F0
border
#C8C4CB
text
#08030B
muted
#7B787C

Preview Lab

Preview with #391159

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

Preview Lab → · Contrast checker → · Palette generator →

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