#391BA8#391BA8

#391BA8 is a dark, highly saturated violet. Relative luminance 0.045; OKLCH L 37.9% C 0.203 H 280.4°. Best body text is #FFFFFF at 11.07:1 contrast (WCAG AA passes).

Color values

HEX#391BA8
RGBrgb(57, 27, 168)
HSLhsl(253, 72%, 38%)
HSVhsv(253, 84%, 66%)
CMYKcmyk(66.1%, 83.9%, 0%, 34.1%)
CIE-LABlab(25.20, 51.53, -69.06)
CIE-LCHlch(25.20, 86.17, 306.73°)
OKLaboklab(37.86% 0.0364 -0.1993)
OKLCHoklch(37.86% 0.203 280.4)
XYZxyz(9.1449, 4.4801, 37.4210)
Luminance0.0448 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391BA8 #8AA81B
analogous
#1B43A8 #391BA8 #7F1BA8
triadic
#391BA8 #A8391B #1BA839
tetradic
#391BA8 #A81B43 #8AA81B #1BA87F
square
#391BA8 #A81B43 #8AA81B #1BA87F
split-complementary
#391BA8 #A87F1B #43A81B
monochromatic
#150A3F #271373 #391BA8 #4B24DC #7759E4

Accessibility & contrast

On white

11.07
#391BA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#391BA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391BA8
11.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391BA8#FFFFFF#000000##FFFFFF
##391BA81.0011.071.9011.07
#FFFFFF11.071.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041AC
Deuteranopia (green-blind)
#0036A6
Tritanopia (blue-blind)
#004864
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #391ba8;
/* rgb */ color: rgb(57, 27, 168);
/* oklch */ color: oklch(37.9% 0.203 280.4);
Tailwind
colors: {
  custom: {
    50: '#805ec3',
    500: '#391ba8',
    950: '#000000',
  },
}
SCSS
$custom: #391ba8;
$custom-light: #805ec3;
$custom-dark: #000000;
JSON
{
  "hex": "#391ba8",
  "rgb": {
    "r": 57,
    "g": 27,
    "b": 168
  },
  "hsl": {
    "h": 252.766,
    "s": 72.308,
    "l": 38.235
  },
  "oklch": {
    "l": 0.37862,
    "c": 0.20263,
    "h": 280.4
  },
  "luminance": 0.04481
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #391BA8

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

Preview Lab → · Contrast checker → · Palette generator →

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