#391D59#391D59

#391D59 is a dark, moderate violet. Relative luminance 0.025; OKLCH L 30.3% C 0.104 H 302.0°. Best body text is #FFFFFF at 14.06:1 contrast (WCAG AA passes).

Color values

HEX#391D59
RGBrgb(57, 29, 89)
HSLhsl(268, 51%, 23%)
HSVhsv(268, 67%, 35%)
CMYKcmyk(36%, 67.4%, 0%, 65.1%)
CIE-LABlab(17.78, 27.28, -31.14)
CIE-LCHlch(17.78, 41.40, 311.22°)
OKLaboklab(30.3% 0.0552 -0.0883)
OKLCHoklch(30.3% 0.104 302)
XYZxyz(3.9295, 2.4698, 9.7190)
Luminance0.0247 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391D59 #3D591D
analogous
#1D1F59 #391D59 #571D59
triadic
#391D59 #59391D #1D5939
tetradic
#391D59 #591D1F #3D591D #1D5957
square
#391D59 #591D1F #3D591D #1D5957
split-complementary
#391D59 #59571D #1F591D
monochromatic
#0F0817 #1B0E2B #391D59 #572C87 #743BB5

Accessibility & contrast

On white

14.06
#391D59 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#391D59 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391D59
14.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391D59#FFFFFF#000000##FFFFFF
##391D591.0014.061.4914.06
#FFFFFF14.061.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B5B
Deuteranopia (green-blind)
#092B58
Tritanopia (blue-blind)
#332A38
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #391d59;
/* rgb */ color: rgb(57, 29, 89);
/* oklch */ color: oklch(30.3% 0.104 302.0);
Tailwind
colors: {
  custom: {
    50: '#725b88',
    500: '#391d59',
    950: '#000000',
  },
}
SCSS
$custom: #391d59;
$custom-light: #725b88;
$custom-dark: #000000;
JSON
{
  "hex": "#391d59",
  "rgb": {
    "r": 57,
    "g": 29,
    "b": 89
  },
  "hsl": {
    "h": 268,
    "s": 50.847,
    "l": 23.137
  },
  "oklch": {
    "l": 0.30298,
    "c": 0.10418,
    "h": 302
  },
  "luminance": 0.0247
}

Semantic roles & 50–950 ramp

primary
#391D59
secondary
#6B8E44
accent
#DA4D99
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08040B
muted
#7B797C

Preview Lab

Preview with #391D59

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

Preview Lab → · Contrast checker → · Palette generator →

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