#391C59#391C59

#391C59 is a dark, moderate violet. Relative luminance 0.024; OKLCH L 30.1% C 0.106 H 302.3°. Best body text is #FFFFFF at 14.15:1 contrast (WCAG AA passes).

Color values

HEX#391C59
RGBrgb(57, 28, 89)
HSLhsl(269, 52%, 23%)
HSVhsv(269, 69%, 35%)
CMYKcmyk(36%, 68.5%, 0%, 65.1%)
CIE-LABlab(17.56, 27.88, -31.49)
CIE-LCHlch(17.56, 42.06, 311.51°)
OKLaboklab(30.14% 0.0566 -0.0894)
OKLCHoklch(30.14% 0.106 302.3)
XYZxyz(3.9053, 2.4216, 9.7109)
Luminance0.0242 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391C59 #3C591C
analogous
#1C1D59 #391C59 #571C59
triadic
#391C59 #59391C #1C5939
tetradic
#391C59 #591C1D #3C591C #1C5957
square
#391C59 #591C1D #3C591C #1C5957
split-complementary
#391C59 #59571C #1D591C
monochromatic
#0F0717 #1B0D2A #391C59 #572B88 #7539B6

Accessibility & contrast

On white

14.15
#391C59 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #391C59
14.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391C59#FFFFFF#000000##FFFFFF
##391C591.0014.151.4814.15
#FFFFFF14.151.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B5B
Deuteranopia (green-blind)
#072B58
Tritanopia (blue-blind)
#332937
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #391c59;
/* rgb */ color: rgb(57, 28, 89);
/* oklch */ color: oklch(30.1% 0.106 302.3);
Tailwind
colors: {
  custom: {
    50: '#725a88',
    500: '#391c59',
    950: '#000000',
  },
}
SCSS
$custom: #391c59;
$custom-light: #725a88;
$custom-dark: #000000;
JSON
{
  "hex": "#391c59",
  "rgb": {
    "r": 57,
    "g": 28,
    "b": 89
  },
  "hsl": {
    "h": 268.525,
    "s": 52.137,
    "l": 22.941
  },
  "oklch": {
    "l": 0.30138,
    "c": 0.10578,
    "h": 302.3
  },
  "luminance": 0.02422
}

Semantic roles & 50–950 ramp

primary
#391C59
secondary
#6A8F42
accent
#DC4C97
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08040B
muted
#7B797C

Preview Lab

Preview with #391C59

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

Preview Lab → · Contrast checker → · Palette generator →

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