#391579#391579

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

Color values

HEX#391579
RGBrgb(57, 21, 121)
HSLhsl(262, 70%, 28%)
HSVhsv(262, 83%, 47%)
CMYKcmyk(52.9%, 82.6%, 0%, 52.5%)
CIE-LABlab(19.17, 40.70, -49.82)
CIE-LCHlch(19.17, 64.33, 309.25°)
OKLaboklab(32.17% 0.0564 -0.1431)
OKLCHoklch(32.17% 0.154 291.5)
XYZxyz(5.4057, 2.7864, 18.3385)
Luminance0.0279 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391579 #557915
analogous
#152379 #391579 #6B1579
triadic
#391579 #793915 #157939
tetradic
#391579 #791523 #557915 #15796B
square
#391579 #791523 #557915 #15796B
split-complementary
#391579 #796B15 #237915
monochromatic
#0C051A #200C45 #391579 #521EAD #6C2EDB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##391579#FFFFFF#000000##FFFFFF
##3915791.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)
#00307C
Deuteranopia (green-blind)
#002C77
Tritanopia (blue-blind)
#233247
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #391579;
/* rgb */ color: rgb(57, 21, 121);
/* oklch */ color: oklch(32.2% 0.154 291.5);
Tailwind
colors: {
  custom: {
    50: '#7758a1',
    500: '#391579',
    950: '#000000',
  },
}
SCSS
$custom: #391579;
$custom-light: #7758a1;
$custom-dark: #000000;
JSON
{
  "hex": "#391579",
  "rgb": {
    "r": 57,
    "g": 21,
    "b": 121
  },
  "hsl": {
    "h": 261.6,
    "s": 70.423,
    "l": 27.843
  },
  "oklch": {
    "l": 0.32175,
    "c": 0.15384,
    "h": 291.5
  },
  "luminance": 0.02787
}

Semantic roles & 50–950 ramp

primary
#391579
secondary
#85AF3B
accent
#ED3BAD
background
#F7F5FA
surface
#EEE9F3
border
#C9C5CD
text
#09030F
muted
#7B787F

Preview Lab

Preview with #391579

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

Preview Lab → · Contrast checker → · Palette generator →

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