#391856#391856

#391856 is a dark, moderate violet. Relative luminance 0.022; OKLCH L 29.3% C 0.108 H 305.0°. Best body text is #FFFFFF at 14.59:1 contrast (WCAG AA passes).

Color values

HEX#391856
RGBrgb(57, 24, 86)
HSLhsl(272, 56%, 22%)
HSVhsv(272, 72%, 34%)
CMYKcmyk(33.7%, 72.1%, 0%, 66.3%)
CIE-LABlab(16.48, 29.36, -31.22)
CIE-LCHlch(16.48, 42.86, 313.24°)
OKLaboklab(29.28% 0.0621 -0.0886)
OKLCHoklch(29.28% 0.108 305)
XYZxyz(3.6933, 2.1950, 9.0314)
Luminance0.0220 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391856 #355618
analogous
#1A1856 #391856 #561854
triadic
#391856 #563918 #185639
tetradic
#391856 #561A18 #355618 #185456
square
#391856 #561A18 #355618 #185456
split-complementary
#391856 #545618 #18561A
monochromatic
#100718 #190B26 #391856 #592586 #7833B6

Accessibility & contrast

On white

14.59
#391856 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#391856 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391856
14.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391856#FFFFFF#000000##FFFFFF
##3918561.0014.591.4414.59
#FFFFFF14.591.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.591.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #391856;
/* rgb */ color: rgb(57, 24, 86);
/* oklch */ color: oklch(29.3% 0.108 305.0);
Tailwind
colors: {
  custom: {
    50: '#725786',
    500: '#391856',
    950: '#000000',
  },
}
SCSS
$custom: #391856;
$custom-light: #725786;
$custom-dark: #000000;
JSON
{
  "hex": "#391856",
  "rgb": {
    "r": 57,
    "g": 24,
    "b": 86
  },
  "hsl": {
    "h": 271.935,
    "s": 56.364,
    "l": 21.569
  },
  "oklch": {
    "l": 0.29284,
    "c": 0.10817,
    "h": 305
  },
  "luminance": 0.02195
}

Semantic roles & 50–950 ramp

primary
#391856
secondary
#628D3D
accent
#E0488F
background
#F7F5F8
surface
#EDE9EF
border
#C8C5CA
text
#08030B
muted
#7B787C

Preview Lab

Preview with #391856

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

Preview Lab → · Contrast checker → · Palette generator →

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