#391E9D#391E9D

#391E9D is a dark, vivid violet. Relative luminance 0.042; OKLCH L 37.0% C 0.188 H 281.9°. Best body text is #FFFFFF at 11.37:1 contrast (WCAG AA passes).

Color values

HEX#391E9D
RGBrgb(57, 30, 157)
HSLhsl(253, 68%, 37%)
HSVhsv(253, 81%, 62%)
CMYKcmyk(63.7%, 80.9%, 0%, 38.4%)
CIE-LABlab(24.42, 47.01, -63.65)
CIE-LCHlch(24.42, 79.13, 306.45°)
OKLaboklab(36.97% 0.0386 -0.1836)
OKLCHoklch(36.97% 0.188 281.9)
XYZxyz(8.2355, 4.2321, 32.2746)
Luminance0.0423 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391E9D #829D1E
analogous
#1E439D #391E9D #791E9D
triadic
#391E9D #9D391E #1E9D39
tetradic
#391E9D #9D1E43 #829D1E #1E9D79
square
#391E9D #9D1E43 #829D1E #1E9D79
split-complementary
#391E9D #9D791E #439D1E
monochromatic
#140A36 #26146A #391E9D #4C28D0 #7457DF

Accessibility & contrast

On white

11.37
#391E9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#391E9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391E9D
11.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391E9D#FFFFFF#000000##FFFFFF
##391E9D1.0011.371.8511.37
#FFFFFF11.371.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003EA0
Deuteranopia (green-blind)
#00359B
Tritanopia (blue-blind)
#00445E
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #391e9d;
/* rgb */ color: rgb(57, 30, 157);
/* oklch */ color: oklch(37.0% 0.188 281.9);
Tailwind
colors: {
  custom: {
    50: '#7d5fbb',
    500: '#391e9d',
    950: '#000000',
  },
}
SCSS
$custom: #391e9d;
$custom-light: #7d5fbb;
$custom-dark: #000000;
JSON
{
  "hex": "#391e9d",
  "rgb": {
    "r": 57,
    "g": 30,
    "b": 157
  },
  "hsl": {
    "h": 252.756,
    "s": 67.914,
    "l": 36.667
  },
  "oklch": {
    "l": 0.36966,
    "c": 0.18764,
    "h": 281.9
  },
  "luminance": 0.04233
}

Semantic roles & 50–950 ramp

primary
#391E9D
secondary
#ABC254
accent
#EB3DC6
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #391E9D

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

Preview Lab → · Contrast checker → · Palette generator →

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