#391475#391475

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

Color values

HEX#391475
RGBrgb(57, 20, 117)
HSLhsl(263, 71%, 27%)
HSVhsv(263, 83%, 46%)
CMYKcmyk(51.3%, 82.9%, 0%, 54.1%)
CIE-LABlab(18.60, 40.02, -48.18)
CIE-LCHlch(18.60, 62.63, 309.72°)
OKLaboklab(31.66% 0.0585 -0.1383)
OKLCHoklch(31.66% 0.15 292.9)
XYZxyz(5.1475, 2.6543, 17.0673)
Luminance0.0266 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391475 #507514
analogous
#141F75 #391475 #6A1475
triadic
#391475 #753914 #147539
tetradic
#391475 #75141F #507514 #14756A
square
#391475 #75141F #507514 #14756A
split-complementary
#391475 #756A14 #1F7514
monochromatic
#0D041A #200B41 #391475 #521DA9 #6D29DA

Accessibility & contrast

On white

13.72
#391475 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #391475
13.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391475#FFFFFF#000000##FFFFFF
##3914751.0013.721.5313.72
#FFFFFF13.721.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E78
Deuteranopia (green-blind)
#002B73
Tritanopia (blue-blind)
#263045
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #391475;
/* rgb */ color: rgb(57, 20, 117);
/* oklch */ color: oklch(31.7% 0.150 292.9);
Tailwind
colors: {
  custom: {
    50: '#77579e',
    500: '#391475',
    950: '#000000',
  },
}
SCSS
$custom: #391475;
$custom-light: #77579e;
$custom-dark: #000000;
JSON
{
  "hex": "#391475",
  "rgb": {
    "r": 57,
    "g": 20,
    "b": 117
  },
  "hsl": {
    "h": 262.887,
    "s": 70.803,
    "l": 26.863
  },
  "oklch": {
    "l": 0.31659,
    "c": 0.1502,
    "h": 292.9
  },
  "luminance": 0.02655
}

Semantic roles & 50–950 ramp

primary
#391475
secondary
#80AB3A
accent
#EE3AA9
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #391475

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

Preview Lab → · Contrast checker → · Palette generator →

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