#391657#391657

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

Color values

HEX#391657
RGBrgb(57, 22, 87)
HSLhsl(272, 60%, 21%)
HSVhsv(272, 75%, 34%)
CMYKcmyk(34.5%, 74.7%, 0%, 65.9%)
CIE-LABlab(16.16, 30.73, -32.41)
CIE-LCHlch(16.16, 44.66, 313.48°)
OKLaboklab(29.08% 0.0645 -0.0921)
OKLCHoklch(29.08% 0.112 305)
XYZxyz(3.6942, 2.1318, 9.2318)
Luminance0.0213 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391657 #345716
analogous
#191657 #391657 #571655
triadic
#391657 #573916 #165739
tetradic
#391657 #571916 #345716 #165557
square
#391657 #571916 #345716 #165557
split-complementary
#391657 #555716 #165719
monochromatic
#100618 #190A26 #391657 #592288 #792FB9

Accessibility & contrast

On white

14.72
#391657 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #391657
14.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391657#FFFFFF#000000##FFFFFF
##3916571.0014.721.4314.72
#FFFFFF14.721.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.721.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #391657;
/* rgb */ color: rgb(57, 22, 87);
/* oklch */ color: oklch(29.1% 0.112 305.0);
Tailwind
colors: {
  custom: {
    50: '#735687',
    500: '#391657',
    950: '#000000',
  },
}
SCSS
$custom: #391657;
$custom-light: #735687;
$custom-dark: #000000;
JSON
{
  "hex": "#391657",
  "rgb": {
    "r": 57,
    "g": 22,
    "b": 87
  },
  "hsl": {
    "h": 272.308,
    "s": 59.633,
    "l": 21.373
  },
  "oklch": {
    "l": 0.29084,
    "c": 0.11238,
    "h": 305
  },
  "luminance": 0.02132
}

Semantic roles & 50–950 ramp

primary
#391657
secondary
#618E3A
accent
#E3458E
background
#F7F5F8
surface
#EDE9EF
border
#C8C5CA
text
#08030B
muted
#7B787C

Preview Lab

Preview with #391657

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

Preview Lab → · Contrast checker → · Palette generator →

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