#391CAD#391CAD

#391CAD is a dark, highly saturated violet. Relative luminance 0.047; OKLCH L 38.5% C 0.208 H 279.5°. Best body text is #FFFFFF at 10.81:1 contrast (WCAG AA passes).

Color values

HEX#391CAD
RGBrgb(57, 28, 173)
HSLhsl(252, 72%, 39%)
HSVhsv(252, 84%, 68%)
CMYKcmyk(67.1%, 83.8%, 0%, 32.2%)
CIE-LABlab(25.91, 52.54, -70.89)
CIE-LCHlch(25.91, 88.24, 306.55°)
OKLaboklab(38.52% 0.0343 -0.2047)
OKLCHoklch(38.52% 0.208 279.5)
XYZxyz(9.6430, 4.7167, 39.9293)
Luminance0.0472 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391CAD #90AD1C
analogous
#1C48AD #391CAD #821CAD
triadic
#391CAD #AD391C #1CAD39
tetradic
#391CAD #AD1C48 #90AD1C #1CAD82
square
#391CAD #AD1C48 #90AD1C #1CAD82
split-complementary
#391CAD #AD821C #48AD1C
monochromatic
#160B44 #281378 #391CAD #4D2ADC #795EE5

Accessibility & contrast

On white

10.81
#391CAD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#391CAD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391CAD
10.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391CAD#FFFFFF#000000##FFFFFF
##391CAD1.0010.811.9410.81
#FFFFFF10.811.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042B1
Deuteranopia (green-blind)
#0038AB
Tritanopia (blue-blind)
#004A67
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #391cad;
/* rgb */ color: rgb(57, 28, 173);
/* oklch */ color: oklch(38.5% 0.208 279.5);
Tailwind
colors: {
  custom: {
    50: '#815fc7',
    500: '#391cad',
    950: '#000000',
  },
}
SCSS
$custom: #391cad;
$custom-light: #815fc7;
$custom-dark: #000000;
JSON
{
  "hex": "#391cad",
  "rgb": {
    "r": 57,
    "g": 28,
    "b": 173
  },
  "hsl": {
    "h": 252,
    "s": 72.139,
    "l": 39.412
  },
  "oklch": {
    "l": 0.38518,
    "c": 0.20754,
    "h": 279.5
  },
  "luminance": 0.04717
}

Semantic roles & 50–950 ramp

primary
#391CAD
secondary
#B3C95C
accent
#EF39CA
background
#F8F5FC
surface
#F0EAF8
border
#CBC6D1
text
#0C0513
muted
#7D7982

Preview Lab

Preview with #391CAD

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

Preview Lab → · Contrast checker → · Palette generator →

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