#391E9F#391E9F

#391E9F is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.2% C 0.190 H 281.5°. Best body text is #FFFFFF at 11.29:1 contrast (WCAG AA passes).

Color values

HEX#391E9F
RGBrgb(57, 30, 159)
HSLhsl(253, 68%, 37%)
HSVhsv(253, 81%, 62%)
CMYKcmyk(64.2%, 81.1%, 0%, 37.6%)
CIE-LABlab(24.64, 47.60, -64.52)
CIE-LCHlch(24.64, 80.17, 306.42°)
OKLaboklab(37.18% 0.0379 -0.1861)
OKLCHoklch(37.18% 0.19 281.5)
XYZxyz(8.4077, 4.3010, 33.1813)
Luminance0.0430 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391E9F #849F1E
analogous
#1E449F #391E9F #7A1E9F
triadic
#391E9F #9F391E #1E9F39
tetradic
#391E9F #9F1E44 #849F1E #1E9F7A
square
#391E9F #9F1E44 #849F1E #1E9F7A
split-complementary
#391E9F #9F7A1E #449F1E
monochromatic
#140B38 #27146C #391E9F #4B28D2 #7458DF

Accessibility & contrast

On white

11.29
#391E9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#391E9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391E9F
11.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391E9F#FFFFFF#000000##FFFFFF
##391E9F1.0011.291.8611.29
#FFFFFF11.291.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003FA3
Deuteranopia (green-blind)
#00369D
Tritanopia (blue-blind)
#00455F
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #391e9f;
/* rgb */ color: rgb(57, 30, 159);
/* oklch */ color: oklch(37.2% 0.190 281.5);
Tailwind
colors: {
  custom: {
    50: '#7e5fbd',
    500: '#391e9f',
    950: '#000000',
  },
}
SCSS
$custom: #391e9f;
$custom-light: #7e5fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#391e9f",
  "rgb": {
    "r": 57,
    "g": 30,
    "b": 159
  },
  "hsl": {
    "h": 252.558,
    "s": 68.254,
    "l": 37.059
  },
  "oklch": {
    "l": 0.37182,
    "c": 0.18998,
    "h": 281.5
  },
  "luminance": 0.04302
}

Semantic roles & 50–950 ramp

primary
#391E9F
secondary
#ACC356
accent
#EB3DC7
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #391E9F

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

Preview Lab → · Contrast checker → · Palette generator →

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