#391559#391559

#391559 is a dark, moderate violet. Relative luminance 0.021; OKLCH L 29.1% C 0.116 H 304.2°. Best body text is #FFFFFF at 14.73:1 contrast (WCAG AA passes).

Color values

HEX#391559
RGBrgb(57, 21, 89)
HSLhsl(272, 62%, 22%)
HSVhsv(272, 76%, 35%)
CMYKcmyk(36%, 76.4%, 0%, 65.1%)
CIE-LABlab(16.14, 31.80, -33.79)
CIE-LCHlch(16.14, 46.40, 313.26°)
OKLaboklab(29.12% 0.0653 -0.0961)
OKLCHoklch(29.12% 0.116 304.2)
XYZxyz(3.7583, 2.1275, 9.6619)
Luminance0.0213 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391559 #355915
analogous
#171559 #391559 #591557
triadic
#391559 #593915 #155939
tetradic
#391559 #591715 #355915 #155759
square
#391559 #591715 #355915 #155759
split-complementary
#391559 #575915 #155917
monochromatic
#100619 #190927 #391559 #59218B #782CBC

Accessibility & contrast

On white

14.73
#391559 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#391559 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391559
14.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391559#FFFFFF#000000##FFFFFF
##3915591.0014.731.4314.73
#FFFFFF14.731.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00275B
Deuteranopia (green-blind)
#002858
Tritanopia (blue-blind)
#332535
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #391559;
/* rgb */ color: rgb(57, 21, 89);
/* oklch */ color: oklch(29.1% 0.116 304.2);
Tailwind
colors: {
  custom: {
    50: '#735688',
    500: '#391559',
    950: '#000000',
  },
}
SCSS
$custom: #391559;
$custom-light: #735688;
$custom-dark: #000000;
JSON
{
  "hex": "#391559",
  "rgb": {
    "r": 57,
    "g": 21,
    "b": 89
  },
  "hsl": {
    "h": 271.765,
    "s": 61.818,
    "l": 21.569
  },
  "oklch": {
    "l": 0.29121,
    "c": 0.11619,
    "h": 304.2
  },
  "luminance": 0.02127
}

Semantic roles & 50–950 ramp

primary
#391559
secondary
#629139
accent
#E5438F
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030B
muted
#7B787C

Preview Lab

Preview with #391559

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

Preview Lab → · Contrast checker → · Palette generator →

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