#391557#391557

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

Color values

HEX#391557
RGBrgb(57, 21, 87)
HSLhsl(273, 61%, 21%)
HSVhsv(273, 76%, 34%)
CMYKcmyk(34.5%, 75.9%, 0%, 65.9%)
CIE-LABlab(15.97, 31.26, -32.71)
CIE-LCHlch(15.97, 45.25, 313.70°)
OKLaboklab(28.95% 0.0657 -0.0929)
OKLCHoklch(28.95% 0.114 305.2)
XYZxyz(3.6754, 2.0943, 9.2256)
Luminance0.0209 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391557 #335715
analogous
#181557 #391557 #571554
triadic
#391557 #573915 #155739
tetradic
#391557 #571815 #335715 #155457
square
#391557 #571815 #335715 #155457
split-complementary
#391557 #545715 #155718
monochromatic
#100619 #190926 #391557 #592188 #7A2DBA

Accessibility & contrast

On white

14.80
#391557 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #391557
14.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391557#FFFFFF#000000##FFFFFF
##3915571.0014.801.4214.80
#FFFFFF14.801.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002759
Deuteranopia (green-blind)
#002856
Tritanopia (blue-blind)
#342434
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #391557;
/* rgb */ color: rgb(57, 21, 87);
/* oklch */ color: oklch(28.9% 0.114 305.2);
Tailwind
colors: {
  custom: {
    50: '#735687',
    500: '#391557',
    950: '#000000',
  },
}
SCSS
$custom: #391557;
$custom-light: #735687;
$custom-dark: #000000;
JSON
{
  "hex": "#391557",
  "rgb": {
    "r": 57,
    "g": 21,
    "b": 87
  },
  "hsl": {
    "h": 272.727,
    "s": 61.111,
    "l": 21.176
  },
  "oklch": {
    "l": 0.28949,
    "c": 0.11379,
    "h": 305.2
  },
  "luminance": 0.02094
}

Semantic roles & 50–950 ramp

primary
#391557
secondary
#608F39
accent
#E4448D
background
#F7F5F8
surface
#EDE9EF
border
#C8C5CA
text
#08030B
muted
#7B787C

Preview Lab

Preview with #391557

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

Preview Lab → · Contrast checker → · Palette generator →

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