#391889#391889

#391889 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 34.2% C 0.170 H 286.7°. Best body text is #FFFFFF at 12.61:1 contrast (WCAG AA passes).

Color values

HEX#391889
RGBrgb(57, 24, 137)
HSLhsl(258, 70%, 32%)
HSVhsv(258, 82%, 54%)
CMYKcmyk(58.4%, 82.5%, 0%, 46.3%)
CIE-LABlab(21.32, 43.92, -56.41)
CIE-LCHlch(21.32, 71.49, 307.90°)
OKLaboklab(34.17% 0.0488 -0.1624)
OKLCHoklch(34.17% 0.17 286.7)
XYZxyz(6.5280, 3.3289, 23.9606)
Luminance0.0333 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391889 #688918
analogous
#183089 #391889 #721889
triadic
#391889 #893918 #188939
tetradic
#391889 #891830 #688918 #188972
square
#391889 #891830 #688918 #188972
split-complementary
#391889 #897218 #308918
monochromatic
#0E0621 #230F55 #391889 #4F21BD #6D3EDD

Accessibility & contrast

On white

12.61
#391889 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#391889 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391889
12.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391889#FFFFFF#000000##FFFFFF
##3918891.0012.611.6712.61
#FFFFFF12.611.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00368C
Deuteranopia (green-blind)
#003087
Tritanopia (blue-blind)
#123A51
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #391889;
/* rgb */ color: rgb(57, 24, 137);
/* oklch */ color: oklch(34.2% 0.170 286.7);
Tailwind
colors: {
  custom: {
    50: '#7a5aad',
    500: '#391889',
    950: '#000000',
  },
}
SCSS
$custom: #391889;
$custom-light: #7a5aad;
$custom-dark: #000000;
JSON
{
  "hex": "#391889",
  "rgb": {
    "r": 57,
    "g": 24,
    "b": 137
  },
  "hsl": {
    "h": 257.522,
    "s": 70.186,
    "l": 31.569
  },
  "oklch": {
    "l": 0.3417,
    "c": 0.1696,
    "h": 286.7
  },
  "luminance": 0.03329
}

Semantic roles & 50–950 ramp

primary
#391889
secondary
#98BD40
accent
#ED3BB9
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #391889

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

Preview Lab → · Contrast checker → · Palette generator →

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