#391956#391956

#391956 is a dark, moderate violet. Relative luminance 0.022; OKLCH L 29.4% C 0.107 H 304.8°. Best body text is #FFFFFF at 14.51:1 contrast (WCAG AA passes).

Color values

HEX#391956
RGBrgb(57, 25, 86)
HSLhsl(271, 55%, 22%)
HSVhsv(271, 71%, 34%)
CMYKcmyk(33.7%, 70.9%, 0%, 66.3%)
CIE-LABlab(16.68, 28.79, -30.89)
CIE-LCHlch(16.68, 42.23, 312.98°)
OKLaboklab(29.43% 0.0608 -0.0876)
OKLCHoklch(29.43% 0.107 304.8)
XYZxyz(3.7143, 2.2370, 9.0384)
Luminance0.0224 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391956 #365619
analogous
#1A1956 #391956 #561955
triadic
#391956 #563919 #195639
tetradic
#391956 #561A19 #365619 #195556
square
#391956 #561A19 #365619 #195556
split-complementary
#391956 #555619 #19561A
monochromatic
#100718 #1A0B27 #391956 #582785 #7835B5

Accessibility & contrast

On white

14.51
#391956 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#391956 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391956
14.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391956#FFFFFF#000000##FFFFFF
##3919561.0014.511.4514.51
#FFFFFF14.511.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002858
Deuteranopia (green-blind)
#072955
Tritanopia (blue-blind)
#342635
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #391956;
/* rgb */ color: rgb(57, 25, 86);
/* oklch */ color: oklch(29.4% 0.107 304.8);
Tailwind
colors: {
  custom: {
    50: '#725886',
    500: '#391956',
    950: '#000000',
  },
}
SCSS
$custom: #391956;
$custom-light: #725886;
$custom-dark: #000000;
JSON
{
  "hex": "#391956",
  "rgb": {
    "r": 57,
    "g": 25,
    "b": 86
  },
  "hsl": {
    "h": 271.475,
    "s": 54.955,
    "l": 21.765
  },
  "oklch": {
    "l": 0.29432,
    "c": 0.10664,
    "h": 304.8
  },
  "luminance": 0.02237
}

Semantic roles & 50–950 ramp

primary
#391956
secondary
#638C3E
accent
#DE4A90
background
#F7F5F8
surface
#EDE9EF
border
#C8C5CA
text
#08030B
muted
#7B787C

Preview Lab

Preview with #391956

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

Preview Lab → · Contrast checker → · Palette generator →

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