#391776#391776

#391776 is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.1% C 0.148 H 292.1°. Best body text is #FFFFFF at 13.48:1 contrast (WCAG AA passes).

Color values

HEX#391776
RGBrgb(57, 23, 118)
HSLhsl(261, 67%, 28%)
HSVhsv(261, 81%, 46%)
CMYKcmyk(51.7%, 80.5%, 0%, 53.7%)
CIE-LABlab(19.18, 38.92, -47.86)
CIE-LCHlch(19.18, 61.69, 309.11°)
OKLaboklab(32.09% 0.0558 -0.1374)
OKLCHoklch(32.09% 0.148 292.1)
XYZxyz(5.2628, 2.7905, 17.3973)
Luminance0.0279 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391776 #547617
analogous
#172476 #391776 #691776
triadic
#391776 #763917 #177639
tetradic
#391776 #761724 #547617 #177669
square
#391776 #761724 #547617 #177669
split-complementary
#391776 #766917 #247617
monochromatic
#0C051A #200D43 #391776 #5221A9 #6C31D7

Accessibility & contrast

On white

13.48
#391776 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#391776 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391776
13.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391776#FFFFFF#000000##FFFFFF
##3917761.0013.481.5613.48
#FFFFFF13.481.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003079
Deuteranopia (green-blind)
#002D74
Tritanopia (blue-blind)
#253246
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #391776;
/* rgb */ color: rgb(57, 23, 118);
/* oklch */ color: oklch(32.1% 0.148 292.1);
Tailwind
colors: {
  custom: {
    50: '#77589e',
    500: '#391776',
    950: '#000000',
  },
}
SCSS
$custom: #391776;
$custom-light: #77589e;
$custom-dark: #000000;
JSON
{
  "hex": "#391776",
  "rgb": {
    "r": 57,
    "g": 23,
    "b": 118
  },
  "hsl": {
    "h": 261.474,
    "s": 67.376,
    "l": 27.647
  },
  "oklch": {
    "l": 0.32094,
    "c": 0.14834,
    "h": 292.1
  },
  "luminance": 0.02791
}

Semantic roles & 50–950 ramp

primary
#391776
secondary
#84AB3E
accent
#EA3EAC
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #391776

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

Preview Lab → · Contrast checker → · Palette generator →

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