#391474#391474

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

Color values

HEX#391474
RGBrgb(57, 20, 116)
HSLhsl(263, 71%, 27%)
HSVhsv(263, 83%, 45%)
CMYKcmyk(50.9%, 82.8%, 0%, 54.5%)
CIE-LABlab(18.50, 39.74, -47.70)
CIE-LCHlch(18.50, 62.09, 309.80°)
OKLaboklab(31.56% 0.0589 -0.1369)
OKLCHoklch(31.56% 0.149 293.3)
XYZxyz(5.0890, 2.6310, 16.7593)
Luminance0.0263 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391474 #4F7414
analogous
#141F74 #391474 #691474
triadic
#391474 #743914 #147439
tetradic
#391474 #74141F #4F7414 #147469
square
#391474 #74141F #4F7414 #147469
split-complementary
#391474 #746914 #1F7414
monochromatic
#0D051A #1F0B40 #391474 #531DA8 #6D28DA

Accessibility & contrast

On white

13.76
#391474 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #391474
13.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391474#FFFFFF#000000##FFFFFF
##3914741.0013.761.5313.76
#FFFFFF13.761.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.761.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #391474;
/* rgb */ color: rgb(57, 20, 116);
/* oklch */ color: oklch(31.6% 0.149 293.3);
Tailwind
colors: {
  custom: {
    50: '#77579d',
    500: '#391474',
    950: '#000000',
  },
}
SCSS
$custom: #391474;
$custom-light: #77579d;
$custom-dark: #000000;
JSON
{
  "hex": "#391474",
  "rgb": {
    "r": 57,
    "g": 20,
    "b": 116
  },
  "hsl": {
    "h": 263.125,
    "s": 70.588,
    "l": 26.667
  },
  "oklch": {
    "l": 0.31557,
    "c": 0.14904,
    "h": 293.3
  },
  "luminance": 0.02631
}

Semantic roles & 50–950 ramp

primary
#391474
secondary
#7FAA3A
accent
#ED3AA8
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #391474

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

Preview Lab → · Contrast checker → · Palette generator →

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