#391AB3#391AB3

#391AB3 is a dark, highly saturated violet. Relative luminance 0.049; OKLCH L 39.0% C 0.216 H 278.8°. Best body text is #FFFFFF at 10.65:1 contrast (WCAG AA passes).

Color values

HEX#391AB3
RGBrgb(57, 26, 179)
HSLhsl(252, 75%, 40%)
HSVhsv(252, 85%, 70%)
CMYKcmyk(68.2%, 85.5%, 0%, 29.8%)
CIE-LABlab(26.34, 55.04, -73.78)
CIE-LCHlch(26.34, 92.05, 306.72°)
OKLaboklab(39.01% 0.0331 -0.213)
OKLCHoklch(39.01% 0.216 278.8)
XYZxyz(10.1908, 4.8624, 43.0406)
Luminance0.0486 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391AB3 #94B31A
analogous
#1A47B3 #391AB3 #861AB3
triadic
#391AB3 #B3391A #1AB339
tetradic
#391AB3 #B31A47 #94B31A #1AB386
square
#391AB3 #B31A47 #94B31A #1AB386
split-complementary
#391AB3 #B3861A #47B31A
monochromatic
#170A48 #28127E #391AB3 #4F2AE0 #7B60E8

Accessibility & contrast

On white

10.65
#391AB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#391AB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391AB3
10.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391AB3#FFFFFF#000000##FFFFFF
##391AB31.0010.651.9710.65
#FFFFFF10.651.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044B7
Deuteranopia (green-blind)
#0038B0
Tritanopia (blue-blind)
#004C6A
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #391ab3;
/* rgb */ color: rgb(57, 26, 179);
/* oklch */ color: oklch(39.0% 0.216 278.8);
Tailwind
colors: {
  custom: {
    50: '#825ecb',
    500: '#391ab3',
    950: '#000000',
  },
}
SCSS
$custom: #391ab3;
$custom-light: #825ecb;
$custom-dark: #000000;
JSON
{
  "hex": "#391ab3",
  "rgb": {
    "r": 57,
    "g": 26,
    "b": 179
  },
  "hsl": {
    "h": 252.157,
    "s": 74.634,
    "l": 40.196
  },
  "oklch": {
    "l": 0.39013,
    "c": 0.21558,
    "h": 278.8
  },
  "luminance": 0.04863
}

Semantic roles & 50–950 ramp

primary
#391AB3
secondary
#B6CC5D
accent
#F137CB
background
#F8F5FC
surface
#F0EAF9
border
#CBC6D2
text
#0C0514
muted
#7D7982

Preview Lab

Preview with #391AB3

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

Preview Lab → · Contrast checker → · Palette generator →

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