#391556#391556

#391556 is a dark, moderate violet. Relative luminance 0.021; OKLCH L 28.9% C 0.113 H 305.8°. Best body text is #FFFFFF at 14.83:1 contrast (WCAG AA passes).

Color values

HEX#391556
RGBrgb(57, 21, 86)
HSLhsl(273, 61%, 21%)
HSVhsv(273, 76%, 34%)
CMYKcmyk(33.7%, 75.6%, 0%, 66.3%)
CIE-LABlab(15.89, 30.99, -32.17)
CIE-LCHlch(15.89, 44.67, 313.93°)
OKLaboklab(28.86% 0.0658 -0.0913)
OKLCHoklch(28.86% 0.113 305.8)
XYZxyz(3.6349, 2.0781, 9.0119)
Luminance0.0208 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391556 #325615
analogous
#181556 #391556 #561552
triadic
#391556 #563915 #155639
tetradic
#391556 #561815 #325615 #155256
square
#391556 #561815 #325615 #155256
split-complementary
#391556 #525615 #155618
monochromatic
#100619 #180925 #391556 #5A2187 #7A2DB8

Accessibility & contrast

On white

14.83
#391556 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#391556 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391556
14.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391556#FFFFFF#000000##FFFFFF
##3915561.0014.831.4214.83
#FFFFFF14.831.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002658
Deuteranopia (green-blind)
#012855
Tritanopia (blue-blind)
#342433
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #391556;
/* rgb */ color: rgb(57, 21, 86);
/* oklch */ color: oklch(28.9% 0.113 305.8);
Tailwind
colors: {
  custom: {
    50: '#735686',
    500: '#391556',
    950: '#000000',
  },
}
SCSS
$custom: #391556;
$custom-light: #735686;
$custom-dark: #000000;
JSON
{
  "hex": "#391556",
  "rgb": {
    "r": 57,
    "g": 21,
    "b": 86
  },
  "hsl": {
    "h": 273.231,
    "s": 60.748,
    "l": 20.98
  },
  "oklch": {
    "l": 0.28864,
    "c": 0.1126,
    "h": 305.8
  },
  "luminance": 0.02078
}

Semantic roles & 50–950 ramp

primary
#391556
secondary
#5F8E39
accent
#E4448B
background
#F7F5F8
surface
#EDE9EF
border
#C8C5CA
text
#08030B
muted
#7B787C

Preview Lab

Preview with #391556

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

Preview Lab → · Contrast checker → · Palette generator →

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