#391E7A#391E7A

#391E7A is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.4% C 0.145 H 289.5°. Best body text is #FFFFFF at 12.80:1 contrast (WCAG AA passes).

Color values

HEX#391E7A
RGBrgb(57, 30, 122)
HSLhsl(258, 61%, 30%)
HSVhsv(258, 75%, 48%)
CMYKcmyk(53.3%, 75.4%, 0%, 52.2%)
CIE-LABlab(20.84, 36.50, -47.71)
CIE-LCHlch(20.84, 60.07, 307.42°)
OKLaboklab(33.38% 0.0486 -0.137)
OKLCHoklch(33.38% 0.145 289.5)
XYZxyz(5.6635, 3.2033, 18.7285)
Luminance0.0320 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391E7A #5F7A1E
analogous
#1E317A #391E7A #671E7A
triadic
#391E7A #7A391E #1E7A39
tetradic
#391E7A #7A1E31 #5F7A1E #1E7A67
square
#391E7A #7A1E31 #5F7A1E #1E7A67
split-complementary
#391E7A #7A671E #317A1E
monochromatic
#0B0619 #221249 #391E7A #502AAB #6C42D0

Accessibility & contrast

On white

12.80
#391E7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#391E7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391E7A
12.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391E7A#FFFFFF#000000##FFFFFF
##391E7A1.0012.801.6412.80
#FFFFFF12.801.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00347D
Deuteranopia (green-blind)
#003078
Tritanopia (blue-blind)
#21374A
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #391e7a;
/* rgb */ color: rgb(57, 30, 122);
/* oklch */ color: oklch(33.4% 0.145 289.5);
Tailwind
colors: {
  custom: {
    50: '#775da1',
    500: '#391e7a',
    950: '#000000',
  },
}
SCSS
$custom: #391e7a;
$custom-light: #775da1;
$custom-dark: #000000;
JSON
{
  "hex": "#391e7a",
  "rgb": {
    "r": 57,
    "g": 30,
    "b": 122
  },
  "hsl": {
    "h": 257.609,
    "s": 60.526,
    "l": 29.804
  },
  "oklch": {
    "l": 0.33378,
    "c": 0.1454,
    "h": 289.5
  },
  "luminance": 0.03204
}

Semantic roles & 50–950 ramp

primary
#391E7A
secondary
#8FAE46
accent
#E444B5
background
#F7F5FA
surface
#EEE9F3
border
#C9C5CD
text
#09040F
muted
#7B797F

Preview Lab

Preview with #391E7A

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

Preview Lab → · Contrast checker → · Palette generator →

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