#391554#391554

#391554 is a dark, moderate violet. Relative luminance 0.020; OKLCH L 28.7% C 0.110 H 306.9°. Best body text is #FFFFFF at 14.90:1 contrast (WCAG AA passes).

Color values

HEX#391554
RGBrgb(57, 21, 84)
HSLhsl(274, 60%, 21%)
HSVhsv(274, 75%, 33%)
CMYKcmyk(32.1%, 75%, 0%, 67.1%)
CIE-LABlab(15.73, 30.46, -31.09)
CIE-LCHlch(15.73, 43.52, 314.42°)
OKLaboklab(28.69% 0.0661 -0.0882)
OKLCHoklch(28.69% 0.11 306.9)
XYZxyz(3.5554, 2.0463, 8.5935)
Luminance0.0205 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391554 #305415
analogous
#1A1554 #391554 #54154F
triadic
#391554 #543915 #155439
tetradic
#391554 #541A15 #305415 #154F54
square
#391554 #541A15 #305415 #154F54
split-complementary
#391554 #4F5415 #15541A
monochromatic
#110618 #180923 #391554 #5A2185 #7B2DB6

Accessibility & contrast

On white

14.90
#391554 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#391554 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391554
14.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391554#FFFFFF#000000##FFFFFF
##3915541.0014.901.4114.90
#FFFFFF14.901.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002656
Deuteranopia (green-blind)
#042753
Tritanopia (blue-blind)
#342332
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #391554;
/* rgb */ color: rgb(57, 21, 84);
/* oklch */ color: oklch(28.7% 0.110 306.9);
Tailwind
colors: {
  custom: {
    50: '#725685',
    500: '#391554',
    950: '#000000',
  },
}
SCSS
$custom: #391554;
$custom-light: #725685;
$custom-dark: #000000;
JSON
{
  "hex": "#391554",
  "rgb": {
    "r": 57,
    "g": 21,
    "b": 84
  },
  "hsl": {
    "h": 274.286,
    "s": 60,
    "l": 20.588
  },
  "oklch": {
    "l": 0.28695,
    "c": 0.1102,
    "h": 306.9
  },
  "luminance": 0.02046
}

Semantic roles & 50–950 ramp

primary
#391554
secondary
#5C8C39
accent
#E34589
background
#F7F5F8
surface
#EDE9EF
border
#C8C5CA
text
#08030B
muted
#7B787C

Preview Lab

Preview with #391554

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

Preview Lab → · Contrast checker → · Palette generator →

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