#391A7A#391A7A

#391A7A is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.9% C 0.150 H 290.3°. Best body text is #FFFFFF at 13.10:1 contrast (WCAG AA passes).

Color values

HEX#391A7A
RGBrgb(57, 26, 122)
HSLhsl(259, 65%, 29%)
HSVhsv(259, 79%, 48%)
CMYKcmyk(53.3%, 78.7%, 0%, 52.2%)
CIE-LABlab(20.10, 38.60, -48.93)
CIE-LCHlch(20.10, 62.32, 308.27°)
OKLaboklab(32.86% 0.0521 -0.1406)
OKLCHoklch(32.86% 0.15 290.3)
XYZxyz(5.5686, 3.0135, 18.6968)
Luminance0.0301 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391A7A #5B7A1A
analogous
#1A2B7A #391A7A #691A7A
triadic
#391A7A #7A391A #1A7A39
tetradic
#391A7A #7A1A2B #5B7A1A #1A7A69
square
#391A7A #7A1A2B #5B7A1A #1A7A69
split-complementary
#391A7A #7A691A #2B7A1A
monochromatic
#0C0519 #210F48 #391A7A #5125AC #6C39D5

Accessibility & contrast

On white

13.10
#391A7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#391A7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391A7A
13.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391A7A#FFFFFF#000000##FFFFFF
##391A7A1.0013.101.6013.10
#FFFFFF13.101.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00327D
Deuteranopia (green-blind)
#002E78
Tritanopia (blue-blind)
#223549
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #391a7a;
/* rgb */ color: rgb(57, 26, 122);
/* oklch */ color: oklch(32.9% 0.150 290.3);
Tailwind
colors: {
  custom: {
    50: '#775aa1',
    500: '#391a7a',
    950: '#000000',
  },
}
SCSS
$custom: #391a7a;
$custom-light: #775aa1;
$custom-dark: #000000;
JSON
{
  "hex": "#391a7a",
  "rgb": {
    "r": 57,
    "g": 26,
    "b": 122
  },
  "hsl": {
    "h": 259.375,
    "s": 64.865,
    "l": 29.02
  },
  "oklch": {
    "l": 0.32855,
    "c": 0.14992,
    "h": 290.3
  },
  "luminance": 0.03014
}

Semantic roles & 50–950 ramp

primary
#391A7A
secondary
#8BAE41
accent
#E840B2
background
#F7F5FA
surface
#EEE9F3
border
#C9C5CD
text
#09040F
muted
#7B797F

Preview Lab

Preview with #391A7A

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

Preview Lab → · Contrast checker → · Palette generator →

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