#391573#391573

#391573 is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.6% C 0.147 H 293.4°. Best body text is #FFFFFF at 13.74:1 contrast (WCAG AA passes).

Color values

HEX#391573
RGBrgb(57, 21, 115)
HSLhsl(263, 69%, 27%)
HSVhsv(263, 82%, 45%)
CMYKcmyk(50.4%, 81.7%, 0%, 54.9%)
CIE-LABlab(18.56, 39.01, -46.96)
CIE-LCHlch(18.56, 61.05, 309.71°)
OKLaboklab(31.57% 0.0584 -0.1348)
OKLCHoklch(31.57% 0.147 293.4)
XYZxyz(5.0492, 2.6438, 16.4606)
Luminance0.0264 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391573 #4F7315
analogous
#152073 #391573 #681573
triadic
#391573 #733915 #157339
tetradic
#391573 #731520 #4F7315 #157368
square
#391573 #731520 #4F7315 #157368
split-complementary
#391573 #736815 #207315
monochromatic
#0D051A #1F0C3F #391573 #531EA7 #6D2AD8

Accessibility & contrast

On white

13.74
#391573 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#391573 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391573
13.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391573#FFFFFF#000000##FFFFFF
##3915731.0013.741.5313.74
#FFFFFF13.741.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E76
Deuteranopia (green-blind)
#002B71
Tritanopia (blue-blind)
#273044
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #391573;
/* rgb */ color: rgb(57, 21, 115);
/* oklch */ color: oklch(31.6% 0.147 293.4);
Tailwind
colors: {
  custom: {
    50: '#76579c',
    500: '#391573',
    950: '#000000',
  },
}
SCSS
$custom: #391573;
$custom-light: #76579c;
$custom-dark: #000000;
JSON
{
  "hex": "#391573",
  "rgb": {
    "r": 57,
    "g": 21,
    "b": 115
  },
  "hsl": {
    "h": 262.979,
    "s": 69.118,
    "l": 26.667
  },
  "oklch": {
    "l": 0.31565,
    "c": 0.14688,
    "h": 293.4
  },
  "luminance": 0.02644
}

Semantic roles & 50–950 ramp

primary
#391573
secondary
#7FA93B
accent
#EC3CA9
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #391573

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

Preview Lab → · Contrast checker → · Palette generator →

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