#391F9A#391F9A

#391F9A is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.8% C 0.183 H 282.3°. Best body text is #FFFFFF at 11.43:1 contrast (WCAG AA passes).

Color values

HEX#391F9A
RGBrgb(57, 31, 154)
HSLhsl(253, 66%, 36%)
HSVhsv(253, 80%, 60%)
CMYKcmyk(63%, 79.9%, 0%, 39.6%)
CIE-LABlab(24.27, 45.64, -62.08)
CIE-LCHlch(24.27, 77.05, 306.32°)
OKLaboklab(36.76% 0.0389 -0.1791)
OKLCHoklch(36.76% 0.183 282.3)
XYZxyz(8.0082, 4.1823, 30.9509)
Luminance0.0418 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391F9A #809A1F
analogous
#1F439A #391F9A #771F9A
triadic
#391F9A #9A391F #1F9A39
tetradic
#391F9A #9A1F43 #809A1F #1F9A77
square
#391F9A #9A1F43 #809A1F #1F9A77
split-complementary
#391F9A #9A771F #439A1F
monochromatic
#130A34 #261567 #391F9A #4C29CD #7356DD

Accessibility & contrast

On white

11.43
#391F9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#391F9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391F9A
11.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391F9A#FFFFFF#000000##FFFFFF
##391F9A1.0011.431.8411.43
#FFFFFF11.431.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E9D
Deuteranopia (green-blind)
#003598
Tritanopia (blue-blind)
#00445C
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #391f9a;
/* rgb */ color: rgb(57, 31, 154);
/* oklch */ color: oklch(36.8% 0.183 282.3);
Tailwind
colors: {
  custom: {
    50: '#7d5fb9',
    500: '#391f9a',
    950: '#000000',
  },
}
SCSS
$custom: #391f9a;
$custom-light: #7d5fb9;
$custom-dark: #000000;
JSON
{
  "hex": "#391f9a",
  "rgb": {
    "r": 57,
    "g": 31,
    "b": 154
  },
  "hsl": {
    "h": 252.683,
    "s": 66.486,
    "l": 36.275
  },
  "oklch": {
    "l": 0.3676,
    "c": 0.18325,
    "h": 282.3
  },
  "luminance": 0.04183
}

Semantic roles & 50–950 ramp

primary
#391F9A
secondary
#AAC154
accent
#E93EC5
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #391F9A

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

Preview Lab → · Contrast checker → · Palette generator →

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