#391570#391570

#391570 is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.3% C 0.143 H 294.5°. Best body text is #FFFFFF at 13.86:1 contrast (WCAG AA passes).

Color values

HEX#391570
RGBrgb(57, 21, 112)
HSLhsl(264, 68%, 26%)
HSVhsv(264, 81%, 44%)
CMYKcmyk(49.1%, 81.2%, 0%, 56.1%)
CIE-LABlab(18.26, 38.16, -45.51)
CIE-LCHlch(18.26, 59.39, 309.98°)
OKLaboklab(31.27% 0.0594 -0.1305)
OKLCHoklch(31.27% 0.143 294.5)
XYZxyz(4.8793, 2.5759, 15.5662)
Luminance0.0258 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391570 #4C7015
analogous
#151E70 #391570 #661570
triadic
#391570 #703915 #157039
tetradic
#391570 #70151E #4C7015 #157066
square
#391570 #70151E #4C7015 #157066
split-complementary
#391570 #706615 #1E7015
monochromatic
#0D051A #1F0B3C #391570 #531FA4 #6E29D7

Accessibility & contrast

On white

13.86
#391570 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #391570
13.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391570#FFFFFF#000000##FFFFFF
##3915701.0013.861.5213.86
#FFFFFF13.861.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D73
Deuteranopia (green-blind)
#002B6E
Tritanopia (blue-blind)
#292E42
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #391570;
/* rgb */ color: rgb(57, 21, 112);
/* oklch */ color: oklch(31.3% 0.143 294.5);
Tailwind
colors: {
  custom: {
    50: '#76579a',
    500: '#391570',
    950: '#000000',
  },
}
SCSS
$custom: #391570;
$custom-light: #76579a;
$custom-dark: #000000;
JSON
{
  "hex": "#391570",
  "rgb": {
    "r": 57,
    "g": 21,
    "b": 112
  },
  "hsl": {
    "h": 263.736,
    "s": 68.421,
    "l": 26.078
  },
  "oklch": {
    "l": 0.31266,
    "c": 0.14339,
    "h": 294.5
  },
  "luminance": 0.02576
}

Semantic roles & 50–950 ramp

primary
#391570
secondary
#7CA63B
accent
#EB3DA6
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #391570

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

Preview Lab → · Contrast checker → · Palette generator →

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