#391CA7#391CA7

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

Color values

HEX#391CA7
RGBrgb(57, 28, 167)
HSLhsl(253, 71%, 38%)
HSVhsv(253, 83%, 65%)
CMYKcmyk(65.9%, 83.2%, 0%, 34.5%)
CIE-LABlab(25.23, 50.82, -68.41)
CIE-LCHlch(25.23, 85.22, 306.61°)
OKLaboklab(37.85% 0.0363 -0.1974)
OKLCHoklch(37.85% 0.201 280.4)
XYZxyz(9.0754, 4.4897, 36.9401)
Luminance0.0449 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391CA7 #8AA71C
analogous
#1C44A7 #391CA7 #7E1CA7
triadic
#391CA7 #A7391C #1CA739
tetradic
#391CA7 #A71C44 #8AA71C #1CA77E
square
#391CA7 #A71C44 #8AA71C #1CA77E
split-complementary
#391CA7 #A77E1C #44A71C
monochromatic
#150A3E #271373 #391CA7 #4B26DB #775AE3

Accessibility & contrast

On white

11.06
#391CA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #391CA7
11.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391CA7#FFFFFF#000000##FFFFFF
##391CA71.0011.061.9011.06
#FFFFFF11.061.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041AB
Deuteranopia (green-blind)
#0037A5
Tritanopia (blue-blind)
#004863
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #391ca7;
/* rgb */ color: rgb(57, 28, 167);
/* oklch */ color: oklch(37.8% 0.201 280.4);
Tailwind
colors: {
  custom: {
    50: '#7f5ec2',
    500: '#391ca7',
    950: '#000000',
  },
}
SCSS
$custom: #391ca7;
$custom-light: #7f5ec2;
$custom-dark: #000000;
JSON
{
  "hex": "#391ca7",
  "rgb": {
    "r": 57,
    "g": 28,
    "b": 167
  },
  "hsl": {
    "h": 252.518,
    "s": 71.282,
    "l": 38.235
  },
  "oklch": {
    "l": 0.37848,
    "c": 0.20076,
    "h": 280.4
  },
  "luminance": 0.0449
}

Semantic roles & 50–950 ramp

primary
#391CA7
secondary
#B0C758
accent
#EE3AC8
background
#F8F5FC
surface
#F0E9F8
border
#CBC5D1
text
#0C0513
muted
#7D7982

Preview Lab

Preview with #391CA7

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

Preview Lab → · Contrast checker → · Palette generator →

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