#391472#391472

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

Color values

HEX#391472
RGBrgb(57, 20, 114)
HSLhsl(264, 70%, 26%)
HSVhsv(264, 82%, 45%)
CMYKcmyk(50%, 82.5%, 0%, 55.3%)
CIE-LABlab(18.30, 39.18, -46.74)
CIE-LCHlch(18.30, 60.99, 309.97°)
OKLaboklab(31.36% 0.0595 -0.1341)
OKLCHoklch(31.36% 0.147 293.9)
XYZxyz(4.9739, 2.5849, 16.1532)
Luminance0.0259 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391472 #4D7214
analogous
#141E72 #391472 #681472
triadic
#391472 #723914 #147239
tetradic
#391472 #72141E #4D7214 #147268
square
#391472 #72141E #4D7214 #147268
split-complementary
#391472 #726814 #1E7214
monochromatic
#0D051A #1F0B3E #391472 #531DA6 #6D27D9

Accessibility & contrast

On white

13.84
#391472 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #391472
13.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391472#FFFFFF#000000##FFFFFF
##3914721.0013.841.5213.84
#FFFFFF13.841.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.841.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: #391472;
/* rgb */ color: rgb(57, 20, 114);
/* oklch */ color: oklch(31.4% 0.147 293.9);
Tailwind
colors: {
  custom: {
    50: '#76579b',
    500: '#391472',
    950: '#000000',
  },
}
SCSS
$custom: #391472;
$custom-light: #76579b;
$custom-dark: #000000;
JSON
{
  "hex": "#391472",
  "rgb": {
    "r": 57,
    "g": 20,
    "b": 114
  },
  "hsl": {
    "h": 263.617,
    "s": 70.149,
    "l": 26.275
  },
  "oklch": {
    "l": 0.31355,
    "c": 0.14674,
    "h": 293.9
  },
  "luminance": 0.02585
}

Semantic roles & 50–950 ramp

primary
#391472
secondary
#7DA839
accent
#ED3BA7
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #391472

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

Preview Lab → · Contrast checker → · Palette generator →

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