#391471#391471

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

Color values

HEX#391471
RGBrgb(57, 20, 113)
HSLhsl(264, 70%, 26%)
HSVhsv(264, 82%, 44%)
CMYKcmyk(49.6%, 82.3%, 0%, 55.7%)
CIE-LABlab(18.20, 38.90, -46.26)
CIE-LCHlch(18.20, 60.44, 310.06°)
OKLaboklab(31.25% 0.0599 -0.1327)
OKLCHoklch(31.25% 0.146 294.3)
XYZxyz(4.9173, 2.5623, 15.8551)
Luminance0.0256 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391471 #4C7114
analogous
#141D71 #391471 #671471
triadic
#391471 #713914 #147139
tetradic
#391471 #71141D #4C7114 #147167
square
#391471 #71141D #4C7114 #147167
split-complementary
#391471 #716714 #1D7114
monochromatic
#0D051A #1F0B3D #391471 #531DA5 #6E27D9

Accessibility & contrast

On white

13.89
#391471 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#391471 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391471
13.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391471#FFFFFF#000000##FFFFFF
##3914711.0013.891.5113.89
#FFFFFF13.891.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D74
Deuteranopia (green-blind)
#002B6F
Tritanopia (blue-blind)
#282E42
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #391471;
/* rgb */ color: rgb(57, 20, 113);
/* oklch */ color: oklch(31.3% 0.146 294.3);
Tailwind
colors: {
  custom: {
    50: '#76579b',
    500: '#391471',
    950: '#000000',
  },
}
SCSS
$custom: #391471;
$custom-light: #76579b;
$custom-dark: #000000;
JSON
{
  "hex": "#391471",
  "rgb": {
    "r": 57,
    "g": 20,
    "b": 113
  },
  "hsl": {
    "h": 263.871,
    "s": 69.925,
    "l": 26.078
  },
  "oklch": {
    "l": 0.31254,
    "c": 0.14559,
    "h": 294.3
  },
  "luminance": 0.02562
}

Semantic roles & 50–950 ramp

primary
#391471
secondary
#7CA739
accent
#ED3BA6
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #391471

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

Preview Lab → · Contrast checker → · Palette generator →

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