#391E90#391E90

#391E90 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.6% C 0.172 H 284.3°. Best body text is #FFFFFF at 11.92:1 contrast (WCAG AA passes).

Color values

HEX#391E90
RGBrgb(57, 30, 144)
HSLhsl(254, 66%, 34%)
HSVhsv(254, 79%, 56%)
CMYKcmyk(60.4%, 79.2%, 0%, 43.5%)
CIE-LABlab(23.04, 43.14, -57.93)
CIE-LCHlch(23.04, 72.23, 306.67°)
OKLaboklab(35.59% 0.0426 -0.167)
OKLCHoklch(35.59% 0.172 284.3)
XYZxyz(7.1841, 3.8116, 26.7373)
Luminance0.0381 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391E90 #75901E
analogous
#1E3C90 #391E90 #721E90
triadic
#391E90 #90391E #1E9039
tetradic
#391E90 #901E3C #75901E #1E9072
square
#391E90 #901E3C #75901E #1E9072
split-complementary
#391E90 #90721E #3C901E
monochromatic
#11092B #25135D #391E90 #4D29C3 #6F4EDA

Accessibility & contrast

On white

11.92
#391E90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#391E90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391E90
11.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391E90#FFFFFF#000000##FFFFFF
##391E901.0011.921.7611.92
#FFFFFF11.921.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A93
Deuteranopia (green-blind)
#00338E
Tritanopia (blue-blind)
#023F56
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #391e90;
/* rgb */ color: rgb(57, 30, 144);
/* oklch */ color: oklch(35.6% 0.172 284.3);
Tailwind
colors: {
  custom: {
    50: '#7b5eb2',
    500: '#391e90',
    950: '#000000',
  },
}
SCSS
$custom: #391e90;
$custom-light: #7b5eb2;
$custom-dark: #000000;
JSON
{
  "hex": "#391e90",
  "rgb": {
    "r": 57,
    "g": 30,
    "b": 144
  },
  "hsl": {
    "h": 254.211,
    "s": 65.517,
    "l": 34.118
  },
  "oklch": {
    "l": 0.35589,
    "c": 0.1723,
    "h": 284.3
  },
  "luminance": 0.03812
}

Semantic roles & 50–950 ramp

primary
#391E90
secondary
#A2BD4D
accent
#E83FC0
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #391E90

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

Preview Lab → · Contrast checker → · Palette generator →

#391E90 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva