#391571#391571

#391571 is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.4% C 0.145 H 294.1°. Best body text is #FFFFFF at 13.82:1 contrast (WCAG AA passes).

Color values

HEX#391571
RGBrgb(57, 21, 113)
HSLhsl(263, 69%, 26%)
HSVhsv(263, 81%, 44%)
CMYKcmyk(49.6%, 81.4%, 0%, 55.7%)
CIE-LABlab(18.36, 38.44, -46.00)
CIE-LCHlch(18.36, 59.95, 309.89°)
OKLaboklab(31.37% 0.059 -0.132)
OKLCHoklch(31.37% 0.145 294.1)
XYZxyz(4.9353, 2.5983, 15.8611)
Luminance0.0260 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391571 #4D7115
analogous
#151F71 #391571 #671571
triadic
#391571 #713915 #157139
tetradic
#391571 #71151F #4D7115 #157167
square
#391571 #71151F #4D7115 #157167
split-complementary
#391571 #716715 #1F7115
monochromatic
#0D051A #1F0B3D #391571 #531FA5 #6D29D7

Accessibility & contrast

On white

13.82
#391571 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #391571
13.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391571#FFFFFF#000000##FFFFFF
##3915711.0013.821.5213.82
#FFFFFF13.821.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E74
Deuteranopia (green-blind)
#002B6F
Tritanopia (blue-blind)
#282F43
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #391571;
/* rgb */ color: rgb(57, 21, 113);
/* oklch */ color: oklch(31.4% 0.145 294.1);
Tailwind
colors: {
  custom: {
    50: '#76579b',
    500: '#391571',
    950: '#000000',
  },
}
SCSS
$custom: #391571;
$custom-light: #76579b;
$custom-dark: #000000;
JSON
{
  "hex": "#391571",
  "rgb": {
    "r": 57,
    "g": 21,
    "b": 113
  },
  "hsl": {
    "h": 263.478,
    "s": 68.657,
    "l": 26.275
  },
  "oklch": {
    "l": 0.31366,
    "c": 0.14456,
    "h": 294.1
  },
  "luminance": 0.02598
}

Semantic roles & 50–950 ramp

primary
#391571
secondary
#7DA73B
accent
#EB3CA7
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #391571

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

Preview Lab → · Contrast checker → · Palette generator →

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