#391356#391356

#391356 is a dark, moderate violet. Relative luminance 0.020; OKLCH L 28.6% C 0.115 H 306.2°. Best body text is #FFFFFF at 14.99:1 contrast (WCAG AA passes).

Color values

HEX#391356
RGBrgb(57, 19, 86)
HSLhsl(274, 64%, 21%)
HSVhsv(274, 78%, 34%)
CMYKcmyk(33.7%, 77.9%, 0%, 66.3%)
CIE-LABlab(15.53, 32.02, -32.77)
CIE-LCHlch(15.53, 45.81, 314.34°)
OKLaboklab(28.6% 0.0682 -0.0931)
OKLCHoklch(28.6% 0.115 306.2)
XYZxyz(3.5996, 2.0075, 9.0002)
Luminance0.0201 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391356 #305613
analogous
#171356 #391356 #561351
triadic
#391356 #563913 #135639
tetradic
#391356 #561713 #305613 #135156
square
#391356 #561713 #305613 #135156
split-complementary
#391356 #515613 #135617
monochromatic
#110619 #180824 #391356 #5A1E88 #7B29BA

Accessibility & contrast

On white

14.99
#391356 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#391356 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391356
14.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391356#FFFFFF#000000##FFFFFF
##3913561.0014.991.4014.99
#FFFFFF14.991.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002658
Deuteranopia (green-blind)
#002755
Tritanopia (blue-blind)
#342333
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #391356;
/* rgb */ color: rgb(57, 19, 86);
/* oklch */ color: oklch(28.6% 0.115 306.2);
Tailwind
colors: {
  custom: {
    50: '#735586',
    500: '#391356',
    950: '#000000',
  },
}
SCSS
$custom: #391356;
$custom-light: #735586;
$custom-dark: #000000;
JSON
{
  "hex": "#391356",
  "rgb": {
    "r": 57,
    "g": 19,
    "b": 86
  },
  "hsl": {
    "h": 274.03,
    "s": 63.81,
    "l": 20.588
  },
  "oklch": {
    "l": 0.28604,
    "c": 0.11537,
    "h": 306.2
  },
  "luminance": 0.02007
}

Semantic roles & 50–950 ramp

primary
#391356
secondary
#5C8E36
accent
#E74189
background
#F7F5F8
surface
#EDE9EF
border
#C8C5CA
text
#08030B
muted
#7B787C

Preview Lab

Preview with #391356

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

Preview Lab → · Contrast checker → · Palette generator →

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