#391470#391470

#391470 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 31.2% C 0.144 H 294.6°. Best body text is #FFFFFF at 13.93:1 contrast (WCAG AA passes).

Color values

HEX#391470
RGBrgb(57, 20, 112)
HSLhsl(264, 70%, 26%)
HSVhsv(264, 82%, 44%)
CMYKcmyk(49.1%, 82.1%, 0%, 56.1%)
CIE-LABlab(18.10, 38.62, -45.77)
CIE-LCHlch(18.10, 59.89, 310.16°)
OKLaboklab(31.15% 0.0602 -0.1313)
OKLCHoklch(31.15% 0.144 294.6)
XYZxyz(4.8613, 2.5399, 15.5602)
Luminance0.0254 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391470 #4B7014
analogous
#141D70 #391470 #671470
triadic
#391470 #703914 #147039
tetradic
#391470 #70141D #4B7014 #147067
square
#391470 #70141D #4B7014 #147067
split-complementary
#391470 #706714 #1D7014
monochromatic
#0D051A #1F0B3C #391470 #531DA4 #6E27D8

Accessibility & contrast

On white

13.93
#391470 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#391470 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391470
13.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391470#FFFFFF#000000##FFFFFF
##3914701.0013.931.5113.93
#FFFFFF13.931.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.931.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #391470;
/* rgb */ color: rgb(57, 20, 112);
/* oklch */ color: oklch(31.2% 0.144 294.6);
Tailwind
colors: {
  custom: {
    50: '#76579a',
    500: '#391470',
    950: '#000000',
  },
}
SCSS
$custom: #391470;
$custom-light: #76579a;
$custom-dark: #000000;
JSON
{
  "hex": "#391470",
  "rgb": {
    "r": 57,
    "g": 20,
    "b": 112
  },
  "hsl": {
    "h": 264.13,
    "s": 69.697,
    "l": 25.882
  },
  "oklch": {
    "l": 0.31154,
    "c": 0.14443,
    "h": 294.6
  },
  "luminance": 0.0254
}

Semantic roles & 50–950 ramp

primary
#391470
secondary
#7BA639
accent
#ED3BA5
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #391470

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

Preview Lab → · Contrast checker → · Palette generator →

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