#391959#391959

#391959 is a dark, moderate violet. Relative luminance 0.023; OKLCH L 29.7% C 0.110 H 303.2°. Best body text is #FFFFFF at 14.41:1 contrast (WCAG AA passes).

Color values

HEX#391959
RGBrgb(57, 25, 89)
HSLhsl(270, 56%, 22%)
HSVhsv(270, 72%, 35%)
CMYKcmyk(36%, 71.9%, 0%, 65.1%)
CIE-LABlab(16.92, 29.62, -32.52)
CIE-LCHlch(16.92, 43.99, 312.33°)
OKLaboklab(29.68% 0.0605 -0.0924)
OKLCHoklch(29.68% 0.11 303.2)
XYZxyz(3.8377, 2.2864, 9.6884)
Luminance0.0229 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391959 #395919
analogous
#191959 #391959 #591959
triadic
#391959 #593919 #195939
tetradic
#391959 #591919 #395919 #195959
square
#391959 #591919 #395919 #195959
split-complementary
#391959 #595919 #195919
monochromatic
#0F0718 #1A0C29 #391959 #582689 #7634B9

Accessibility & contrast

On white

14.41
#391959 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#391959 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391959
14.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391959#FFFFFF#000000##FFFFFF
##3919591.0014.411.4614.41
#FFFFFF14.411.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00295B
Deuteranopia (green-blind)
#022A58
Tritanopia (blue-blind)
#332736
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #391959;
/* rgb */ color: rgb(57, 25, 89);
/* oklch */ color: oklch(29.7% 0.110 303.2);
Tailwind
colors: {
  custom: {
    50: '#735888',
    500: '#391959',
    950: '#000000',
  },
}
SCSS
$custom: #391959;
$custom-light: #735888;
$custom-dark: #000000;
JSON
{
  "hex": "#391959",
  "rgb": {
    "r": 57,
    "g": 25,
    "b": 89
  },
  "hsl": {
    "h": 270,
    "s": 56.14,
    "l": 22.353
  },
  "oklch": {
    "l": 0.29679,
    "c": 0.11042,
    "h": 303.2
  },
  "luminance": 0.02286
}

Semantic roles & 50–950 ramp

primary
#391959
secondary
#678F3E
accent
#DF4894
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030B
muted
#7B787C

Preview Lab

Preview with #391959

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

Preview Lab → · Contrast checker → · Palette generator →

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