#391576#391576

#391576 is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.9% C 0.150 H 292.4°. Best body text is #FFFFFF at 13.61:1 contrast (WCAG AA passes).

Color values

HEX#391576
RGBrgb(57, 21, 118)
HSLhsl(262, 70%, 27%)
HSVhsv(262, 82%, 46%)
CMYKcmyk(51.7%, 82.2%, 0%, 53.7%)
CIE-LABlab(18.86, 39.85, -48.40)
CIE-LCHlch(18.86, 62.69, 309.47°)
OKLaboklab(31.87% 0.0574 -0.139)
OKLCHoklch(31.87% 0.15 292.4)
XYZxyz(5.2246, 2.7140, 17.3846)
Luminance0.0271 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391576 #527615
analogous
#152276 #391576 #6A1576
triadic
#391576 #763915 #157639
tetradic
#391576 #761522 #527615 #15766A
square
#391576 #761522 #527615 #15766A
split-complementary
#391576 #766A15 #227615
monochromatic
#0D051A #200C42 #391576 #521EAA #6C2CD9

Accessibility & contrast

On white

13.61
#391576 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#391576 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391576
13.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391576#FFFFFF#000000##FFFFFF
##3915761.0013.611.5413.61
#FFFFFF13.611.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F79
Deuteranopia (green-blind)
#002C74
Tritanopia (blue-blind)
#253146
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #391576;
/* rgb */ color: rgb(57, 21, 118);
/* oklch */ color: oklch(31.9% 0.150 292.4);
Tailwind
colors: {
  custom: {
    50: '#77579e',
    500: '#391576',
    950: '#000000',
  },
}
SCSS
$custom: #391576;
$custom-light: #77579e;
$custom-dark: #000000;
JSON
{
  "hex": "#391576",
  "rgb": {
    "r": 57,
    "g": 21,
    "b": 118
  },
  "hsl": {
    "h": 262.268,
    "s": 69.784,
    "l": 27.255
  },
  "oklch": {
    "l": 0.31868,
    "c": 0.15037,
    "h": 292.4
  },
  "luminance": 0.02714
}

Semantic roles & 50–950 ramp

primary
#391576
secondary
#82AC3B
accent
#ED3BAB
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #391576

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

Preview Lab → · Contrast checker → · Palette generator →

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