#391572#391572

#391572 is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.5% C 0.146 H 293.8°. Best body text is #FFFFFF at 13.78:1 contrast (WCAG AA passes).

Color values

HEX#391572
RGBrgb(57, 21, 114)
HSLhsl(263, 69%, 26%)
HSVhsv(263, 82%, 45%)
CMYKcmyk(50%, 81.6%, 0%, 55.3%)
CIE-LABlab(18.46, 38.73, -46.48)
CIE-LCHlch(18.46, 60.50, 309.80°)
OKLaboklab(31.47% 0.0587 -0.1334)
OKLCHoklch(31.47% 0.146 293.8)
XYZxyz(4.9919, 2.6209, 16.1592)
Luminance0.0262 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391572 #4E7215
analogous
#152072 #391572 #681572
triadic
#391572 #723915 #157239
tetradic
#391572 #721520 #4E7215 #157268
square
#391572 #721520 #4E7215 #157268
split-complementary
#391572 #726815 #207215
monochromatic
#0D051A #1F0B3E #391572 #531FA6 #6D2AD8

Accessibility & contrast

On white

13.78
#391572 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#391572 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391572
13.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391572#FFFFFF#000000##FFFFFF
##3915721.0013.781.5213.78
#FFFFFF13.781.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E75
Deuteranopia (green-blind)
#002B70
Tritanopia (blue-blind)
#272F43
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #391572;
/* rgb */ color: rgb(57, 21, 114);
/* oklch */ color: oklch(31.5% 0.146 293.8);
Tailwind
colors: {
  custom: {
    50: '#76579b',
    500: '#391572',
    950: '#000000',
  },
}
SCSS
$custom: #391572;
$custom-light: #76579b;
$custom-dark: #000000;
JSON
{
  "hex": "#391572",
  "rgb": {
    "r": 57,
    "g": 21,
    "b": 114
  },
  "hsl": {
    "h": 263.226,
    "s": 68.889,
    "l": 26.471
  },
  "oklch": {
    "l": 0.31465,
    "c": 0.14572,
    "h": 293.8
  },
  "luminance": 0.02621
}

Semantic roles & 50–950 ramp

primary
#391572
secondary
#7EA83B
accent
#EC3CA8
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #391572

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

Preview Lab → · Contrast checker → · Palette generator →

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