#391076#391076

#391076 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 31.4% C 0.155 H 293.2°. Best body text is #FFFFFF at 13.91:1 contrast (WCAG AA passes).

Color values

HEX#391076
RGBrgb(57, 16, 118)
HSLhsl(264, 76%, 26%)
HSVhsv(264, 86%, 46%)
CMYKcmyk(51.7%, 86.4%, 0%, 53.7%)
CIE-LABlab(18.14, 41.96, -49.59)
CIE-LCHlch(18.14, 64.96, 310.24°)
OKLaboklab(31.37% 0.061 -0.1424)
OKLCHoklch(31.37% 0.155 293.2)
XYZxyz(5.1417, 2.5483, 17.3570)
Luminance0.0255 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391076 #4D7610
analogous
#101A76 #391076 #6C1076
triadic
#391076 #763910 #107639
tetradic
#391076 #76101A #4D7610 #10766C
square
#391076 #76101A #4D7610 #10766C
split-complementary
#391076 #766C10 #1A7610
monochromatic
#0D041B #1F0940 #391076 #5317AC #6D20E1

Accessibility & contrast

On white

13.91
#391076 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#391076 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391076
13.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391076#FFFFFF#000000##FFFFFF
##3910761.0013.911.5113.91
#FFFFFF13.911.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D79
Deuteranopia (green-blind)
#002A74
Tritanopia (blue-blind)
#252F45
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #391076;
/* rgb */ color: rgb(57, 16, 118);
/* oklch */ color: oklch(31.4% 0.155 293.2);
Tailwind
colors: {
  custom: {
    50: '#77559f',
    500: '#391076',
    950: '#000000',
  },
}
SCSS
$custom: #391076;
$custom-light: #77559f;
$custom-dark: #000000;
JSON
{
  "hex": "#391076",
  "rgb": {
    "r": 57,
    "g": 16,
    "b": 118
  },
  "hsl": {
    "h": 264.118,
    "s": 76.119,
    "l": 26.275
  },
  "oklch": {
    "l": 0.31367,
    "c": 0.15493,
    "h": 293.2
  },
  "luminance": 0.02548
}

Semantic roles & 50–950 ramp

primary
#391076
secondary
#7DAD35
accent
#F335A6
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09030F
muted
#7B787E

Preview Lab

Preview with #391076

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

Preview Lab → · Contrast checker → · Palette generator →

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