#391A7C#391A7C

#391A7C is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.1% C 0.152 H 289.8°. Best body text is #FFFFFF at 13.02:1 contrast (WCAG AA passes).

Color values

HEX#391A7C
RGBrgb(57, 26, 124)
HSLhsl(259, 65%, 29%)
HSVhsv(259, 79%, 49%)
CMYKcmyk(54%, 79%, 0%, 51.4%)
CIE-LABlab(20.30, 39.19, -49.88)
CIE-LCHlch(20.30, 63.43, 308.16°)
OKLaboklab(33.06% 0.0515 -0.1434)
OKLCHoklch(33.06% 0.152 289.8)
XYZxyz(5.6938, 3.0636, 19.3562)
Luminance0.0306 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391A7C #5D7C1A
analogous
#1A2C7C #391A7C #6A1A7C
triadic
#391A7C #7C391A #1A7C39
tetradic
#391A7C #7C1A2C #5D7C1A #1A7C6A
square
#391A7C #7C1A2C #5D7C1A #1A7C6A
split-complementary
#391A7C #7C6A1A #2C7C1A
monochromatic
#0C0519 #220F49 #391A7C #5025AF #6C3BD6

Accessibility & contrast

On white

13.02
#391A7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#391A7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391A7C
13.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391A7C#FFFFFF#000000##FFFFFF
##391A7C1.0013.021.6113.02
#FFFFFF13.021.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00337F
Deuteranopia (green-blind)
#002F7A
Tritanopia (blue-blind)
#20354A
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #391a7c;
/* rgb */ color: rgb(57, 26, 124);
/* oklch */ color: oklch(33.1% 0.152 289.8);
Tailwind
colors: {
  custom: {
    50: '#775aa3',
    500: '#391a7c',
    950: '#000000',
  },
}
SCSS
$custom: #391a7c;
$custom-light: #775aa3;
$custom-dark: #000000;
JSON
{
  "hex": "#391a7c",
  "rgb": {
    "r": 57,
    "g": 26,
    "b": 124
  },
  "hsl": {
    "h": 258.98,
    "s": 65.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.33055,
    "c": 0.15233,
    "h": 289.8
  },
  "luminance": 0.03064
}

Semantic roles & 50–950 ramp

primary
#391A7C
secondary
#8DB042
accent
#E840B3
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #391A7C

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

Preview Lab → · Contrast checker → · Palette generator →

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