#391574#391574

#391574 is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.7% C 0.148 H 293.1°. Best body text is #FFFFFF at 13.70:1 contrast (WCAG AA passes).

Color values

HEX#391574
RGBrgb(57, 21, 116)
HSLhsl(263, 69%, 27%)
HSVhsv(263, 82%, 45%)
CMYKcmyk(50.9%, 81.9%, 0%, 54.5%)
CIE-LABlab(18.66, 39.29, -47.44)
CIE-LCHlch(18.66, 61.60, 309.63°)
OKLaboklab(31.67% 0.0581 -0.1362)
OKLCHoklch(31.67% 0.148 293.1)
XYZxyz(5.1070, 2.6670, 16.7653)
Luminance0.0267 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391574 #507415
analogous
#152174 #391574 #691574
triadic
#391574 #743915 #157439
tetradic
#391574 #741521 #507415 #157469
square
#391574 #741521 #507415 #157469
split-complementary
#391574 #746915 #217415
monochromatic
#0D051A #200C40 #391574 #521EA8 #6D2BD9

Accessibility & contrast

On white

13.70
#391574 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #391574
13.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391574#FFFFFF#000000##FFFFFF
##3915741.0013.701.5313.70
#FFFFFF13.701.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F77
Deuteranopia (green-blind)
#002C72
Tritanopia (blue-blind)
#263044
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #391574;
/* rgb */ color: rgb(57, 21, 116);
/* oklch */ color: oklch(31.7% 0.148 293.1);
Tailwind
colors: {
  custom: {
    50: '#77579d',
    500: '#391574',
    950: '#000000',
  },
}
SCSS
$custom: #391574;
$custom-light: #77579d;
$custom-dark: #000000;
JSON
{
  "hex": "#391574",
  "rgb": {
    "r": 57,
    "g": 21,
    "b": 116
  },
  "hsl": {
    "h": 262.737,
    "s": 69.343,
    "l": 26.863
  },
  "oklch": {
    "l": 0.31666,
    "c": 0.14805,
    "h": 293.1
  },
  "luminance": 0.02667
}

Semantic roles & 50–950 ramp

primary
#391574
secondary
#80AA3B
accent
#EC3CA9
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #391574

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

Preview Lab → · Contrast checker → · Palette generator →

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