#391456#391456

#391456 is a dark, moderate violet. Relative luminance 0.020; OKLCH L 28.7% C 0.114 H 306.0°. Best body text is #FFFFFF at 14.91:1 contrast (WCAG AA passes).

Color values

HEX#391456
RGBrgb(57, 20, 86)
HSLhsl(274, 62%, 21%)
HSVhsv(274, 77%, 34%)
CMYKcmyk(33.7%, 76.7%, 0%, 66.3%)
CIE-LABlab(15.71, 31.51, -32.47)
CIE-LCHlch(15.71, 45.25, 314.14°)
OKLaboklab(28.73% 0.067 -0.0922)
OKLCHoklch(28.73% 0.114 306)
XYZxyz(3.6168, 2.0421, 9.0059)
Luminance0.0204 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391456 #315614
analogous
#181456 #391456 #561452
triadic
#391456 #563914 #145639
tetradic
#391456 #561814 #315614 #145256
square
#391456 #561814 #315614 #145256
split-complementary
#391456 #525614 #145618
monochromatic
#100619 #180824 #391456 #5A2088 #7B2BB9

Accessibility & contrast

On white

14.91
#391456 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#391456 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391456
14.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391456#FFFFFF#000000##FFFFFF
##3914561.0014.911.4114.91
#FFFFFF14.911.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.911.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: #391456;
/* rgb */ color: rgb(57, 20, 86);
/* oklch */ color: oklch(28.7% 0.114 306.0);
Tailwind
colors: {
  custom: {
    50: '#735586',
    500: '#391456',
    950: '#000000',
  },
}
SCSS
$custom: #391456;
$custom-light: #735586;
$custom-dark: #000000;
JSON
{
  "hex": "#391456",
  "rgb": {
    "r": 57,
    "g": 20,
    "b": 86
  },
  "hsl": {
    "h": 273.636,
    "s": 62.264,
    "l": 20.784
  },
  "oklch": {
    "l": 0.28732,
    "c": 0.11401,
    "h": 306
  },
  "luminance": 0.02042
}

Semantic roles & 50–950 ramp

primary
#391456
secondary
#5E8E38
accent
#E5428A
background
#F7F5F8
surface
#EDE9EF
border
#C8C5CA
text
#08030B
muted
#7B787C

Preview Lab

Preview with #391456

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

Preview Lab → · Contrast checker → · Palette generator →

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