#391890#391890

#391890 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.9% C 0.178 H 285.1°. Best body text is #FFFFFF at 12.30:1 contrast (WCAG AA passes).

Color values

HEX#391890
RGBrgb(57, 24, 144)
HSLhsl(257, 71%, 33%)
HSVhsv(257, 83%, 56%)
CMYKcmyk(60.4%, 83.3%, 0%, 43.5%)
CIE-LABlab(22.08, 45.93, -59.52)
CIE-LCHlch(22.08, 75.18, 307.65°)
OKLaboklab(34.92% 0.0463 -0.1715)
OKLCHoklch(34.92% 0.178 285.1)
XYZxyz(7.0465, 3.5363, 26.6914)
Luminance0.0354 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391890 #6F9018
analogous
#183390 #391890 #751890
triadic
#391890 #903918 #189039
tetradic
#391890 #901833 #6F9018 #189075
square
#391890 #901833 #6F9018 #189075
split-complementary
#391890 #907518 #339018
monochromatic
#0F0727 #240F5C #391890 #4E21C4 #6E43E0

Accessibility & contrast

On white

12.30
#391890 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#391890 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391890
12.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391890#FFFFFF#000000##FFFFFF
##3918901.0012.301.7112.30
#FFFFFF12.301.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003893
Deuteranopia (green-blind)
#00318E
Tritanopia (blue-blind)
#033D55
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #391890;
/* rgb */ color: rgb(57, 24, 144);
/* oklch */ color: oklch(34.9% 0.178 285.1);
Tailwind
colors: {
  custom: {
    50: '#7b5bb2',
    500: '#391890',
    950: '#000000',
  },
}
SCSS
$custom: #391890;
$custom-light: #7b5bb2;
$custom-dark: #000000;
JSON
{
  "hex": "#391890",
  "rgb": {
    "r": 57,
    "g": 24,
    "b": 144
  },
  "hsl": {
    "h": 256.5,
    "s": 71.429,
    "l": 32.941
  },
  "oklch": {
    "l": 0.3492,
    "c": 0.17767,
    "h": 285.1
  },
  "luminance": 0.03537
}

Semantic roles & 50–950 ramp

primary
#391890
secondary
#9EC043
accent
#EE3ABD
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0411
muted
#7C7980

Preview Lab

Preview with #391890

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

Preview Lab → · Contrast checker → · Palette generator →

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