#391578#391578

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

Color values

HEX#391578
RGBrgb(57, 21, 120)
HSLhsl(262, 70%, 28%)
HSVhsv(262, 83%, 47%)
CMYKcmyk(52.5%, 82.5%, 0%, 52.9%)
CIE-LABlab(19.06, 40.42, -49.35)
CIE-LCHlch(19.06, 63.78, 309.32°)
OKLaboklab(32.07% 0.0567 -0.1418)
OKLCHoklch(32.07% 0.153 291.8)
XYZxyz(5.3447, 2.7620, 18.0172)
Luminance0.0276 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391578 #547815
analogous
#152378 #391578 #6A1578
triadic
#391578 #783915 #157839
tetradic
#391578 #781523 #547815 #15786A
square
#391578 #781523 #547815 #15786A
split-complementary
#391578 #786A15 #237815
monochromatic
#0C051A #200C44 #391578 #521EAC #6C2DDA

Accessibility & contrast

On white

13.53
#391578 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#391578 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391578
13.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391578#FFFFFF#000000##FFFFFF
##3915781.0013.531.5513.53
#FFFFFF13.531.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00307B
Deuteranopia (green-blind)
#002C76
Tritanopia (blue-blind)
#233247
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #391578;
/* rgb */ color: rgb(57, 21, 120);
/* oklch */ color: oklch(32.1% 0.153 291.8);
Tailwind
colors: {
  custom: {
    50: '#7758a0',
    500: '#391578',
    950: '#000000',
  },
}
SCSS
$custom: #391578;
$custom-light: #7758a0;
$custom-dark: #000000;
JSON
{
  "hex": "#391578",
  "rgb": {
    "r": 57,
    "g": 21,
    "b": 120
  },
  "hsl": {
    "h": 261.818,
    "s": 70.213,
    "l": 27.647
  },
  "oklch": {
    "l": 0.32073,
    "c": 0.15269,
    "h": 291.8
  },
  "luminance": 0.02762
}

Semantic roles & 50–950 ramp

primary
#391578
secondary
#84AE3B
accent
#ED3BAC
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09030F
muted
#7B787E

Preview Lab

Preview with #391578

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

Preview Lab → · Contrast checker → · Palette generator →

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