#391151#391151

#391151 is a dark, moderate violet. Relative luminance 0.019; OKLCH L 27.9% C 0.112 H 309.5°. Best body text is #FFFFFF at 15.29:1 contrast (WCAG AA passes).

Color values

HEX#391151
RGBrgb(57, 17, 81)
HSLhsl(278, 65%, 19%)
HSVhsv(278, 79%, 32%)
CMYKcmyk(29.6%, 79%, 0%, 68.2%)
CIE-LABlab(14.76, 31.71, -30.61)
CIE-LCHlch(14.76, 44.07, 316.01°)
OKLaboklab(27.93% 0.0714 -0.0867)
OKLCHoklch(27.93% 0.112 309.5)
XYZxyz(3.3727, 1.8649, 7.9653)
Luminance0.0186 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391151 #295111
analogous
#191151 #391151 #511149
triadic
#391151 #513911 #115139
tetradic
#391151 #511911 #295111 #114951
square
#391151 #511911 #295111 #114951
split-complementary
#391151 #495111 #115119
monochromatic
#120519 #15061E #391151 #5D1C84 #8026B6

Accessibility & contrast

On white

15.29
#391151 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #391151
15.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391151#FFFFFF#000000##FFFFFF
##3911511.0015.291.3715.29
#FFFFFF15.291.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002453
Deuteranopia (green-blind)
#042650
Tritanopia (blue-blind)
#352030
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #391151;
/* rgb */ color: rgb(57, 17, 81);
/* oklch */ color: oklch(27.9% 0.112 309.5);
Tailwind
colors: {
  custom: {
    50: '#725382',
    500: '#391151',
    950: '#000000',
  },
}
SCSS
$custom: #391151;
$custom-light: #725382;
$custom-dark: #000000;
JSON
{
  "hex": "#391151",
  "rgb": {
    "r": 57,
    "g": 17,
    "b": 81
  },
  "hsl": {
    "h": 277.5,
    "s": 65.306,
    "l": 19.216
  },
  "oklch": {
    "l": 0.2793,
    "c": 0.11233,
    "h": 309.5
  },
  "luminance": 0.01865
}

Semantic roles & 50–950 ramp

primary
#391151
secondary
#548A34
accent
#E8407F
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#08030A
muted
#7B787C

Preview Lab

Preview with #391151

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

Preview Lab → · Contrast checker → · Palette generator →

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