#391575#391575

#391575 is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.8% C 0.149 H 292.8°. Best body text is #FFFFFF at 13.65:1 contrast (WCAG AA passes).

Color values

HEX#391575
RGBrgb(57, 21, 117)
HSLhsl(263, 70%, 27%)
HSVhsv(263, 82%, 46%)
CMYKcmyk(51.3%, 82.1%, 0%, 54.1%)
CIE-LABlab(18.76, 39.57, -47.92)
CIE-LCHlch(18.76, 62.15, 309.55°)
OKLaboklab(31.77% 0.0577 -0.1376)
OKLCHoklch(31.77% 0.149 292.8)
XYZxyz(5.1655, 2.6904, 17.0733)
Luminance0.0269 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391575 #517515
analogous
#152175 #391575 #691575
triadic
#391575 #753915 #157539
tetradic
#391575 #751521 #517515 #157569
square
#391575 #751521 #517515 #157569
split-complementary
#391575 #756915 #217515
monochromatic
#0D051A #200C41 #391575 #521EA9 #6C2BD9

Accessibility & contrast

On white

13.65
#391575 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#391575 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391575
13.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391575#FFFFFF#000000##FFFFFF
##3915751.0013.651.5413.65
#FFFFFF13.651.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F78
Deuteranopia (green-blind)
#002C73
Tritanopia (blue-blind)
#263045
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #391575;
/* rgb */ color: rgb(57, 21, 117);
/* oklch */ color: oklch(31.8% 0.149 292.8);
Tailwind
colors: {
  custom: {
    50: '#77579e',
    500: '#391575',
    950: '#000000',
  },
}
SCSS
$custom: #391575;
$custom-light: #77579e;
$custom-dark: #000000;
JSON
{
  "hex": "#391575",
  "rgb": {
    "r": 57,
    "g": 21,
    "b": 117
  },
  "hsl": {
    "h": 262.5,
    "s": 69.565,
    "l": 27.059
  },
  "oklch": {
    "l": 0.31767,
    "c": 0.14921,
    "h": 292.8
  },
  "luminance": 0.02691
}

Semantic roles & 50–950 ramp

primary
#391575
secondary
#81AB3B
accent
#EC3BAA
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #391575

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

Preview Lab → · Contrast checker → · Palette generator →

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