#391BA6#391BA6

#391BA6 is a dark, highly saturated violet. Relative luminance 0.044; OKLCH L 37.6% C 0.200 H 280.7°. Best body text is #FFFFFF at 11.16:1 contrast (WCAG AA passes).

Color values

HEX#391BA6
RGBrgb(57, 27, 166)
HSLhsl(253, 72%, 38%)
HSVhsv(253, 84%, 65%)
CMYKcmyk(65.7%, 83.7%, 0%, 34.9%)
CIE-LABlab(24.97, 50.96, -68.23)
CIE-LCHlch(24.97, 85.16, 306.76°)
OKLaboklab(37.64% 0.0371 -0.1969)
OKLCHoklch(37.64% 0.2 280.7)
XYZxyz(8.9600, 4.4062, 36.4473)
Luminance0.0441 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391BA6 #88A61B
analogous
#1B42A6 #391BA6 #7F1BA6
triadic
#391BA6 #A6391B #1BA639
tetradic
#391BA6 #A61B42 #88A61B #1BA67F
square
#391BA6 #A61B42 #88A61B #1BA67F
split-complementary
#391BA6 #A67F1B #42A61B
monochromatic
#150A3D #271271 #391BA6 #4B24DB #7658E4

Accessibility & contrast

On white

11.16
#391BA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#391BA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391BA6
11.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391BA6#FFFFFF#000000##FFFFFF
##391BA61.0011.161.8811.16
#FFFFFF11.161.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040AA
Deuteranopia (green-blind)
#0036A4
Tritanopia (blue-blind)
#004763
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #391ba6;
/* rgb */ color: rgb(57, 27, 166);
/* oklch */ color: oklch(37.6% 0.200 280.7);
Tailwind
colors: {
  custom: {
    50: '#7f5ec2',
    500: '#391ba6',
    950: '#000000',
  },
}
SCSS
$custom: #391ba6;
$custom-light: #7f5ec2;
$custom-dark: #000000;
JSON
{
  "hex": "#391ba6",
  "rgb": {
    "r": 57,
    "g": 27,
    "b": 166
  },
  "hsl": {
    "h": 252.95,
    "s": 72.021,
    "l": 37.843
  },
  "oklch": {
    "l": 0.37638,
    "c": 0.20038,
    "h": 280.7
  },
  "luminance": 0.04407
}

Semantic roles & 50–950 ramp

primary
#391BA6
secondary
#AFC756
accent
#EF39C8
background
#F8F5FC
surface
#F0E9F8
border
#CBC5D1
text
#0C0513
muted
#7D7982

Preview Lab

Preview with #391BA6

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

Preview Lab → · Contrast checker → · Palette generator →

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