#391A6A#391A6A

#391A6A is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.3% C 0.130 H 295.6°. Best body text is #FFFFFF at 13.73:1 contrast (WCAG AA passes).

Color values

HEX#391A6A
RGBrgb(57, 26, 106)
HSLhsl(263, 61%, 26%)
HSVhsv(263, 75%, 42%)
CMYKcmyk(46.2%, 75.5%, 0%, 58.4%)
CIE-LABlab(18.58, 33.92, -41.08)
CIE-LCHlch(18.58, 53.27, 309.54°)
OKLaboklab(31.32% 0.0563 -0.1176)
OKLCHoklch(31.32% 0.13 295.6)
XYZxyz(4.6576, 2.6491, 13.8988)
Luminance0.0265 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391A6A #4B6A1A
analogous
#1A236A #391A6A #611A6A
triadic
#391A6A #6A391A #1A6A39
tetradic
#391A6A #6A1A23 #4B6A1A #1A6A61
square
#391A6A #6A1A23 #4B6A1A #1A6A61
split-complementary
#391A6A #6A611A #236A1A
monochromatic
#0D0619 #1F0E39 #391A6A #53269B #6E32CC

Accessibility & contrast

On white

13.73
#391A6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#391A6A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391A6A
13.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391A6A#FFFFFF#000000##FFFFFF
##391A6A1.0013.731.5313.73
#FFFFFF13.731.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E6C
Deuteranopia (green-blind)
#002C68
Tritanopia (blue-blind)
#2C2E40
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #391a6a;
/* rgb */ color: rgb(57, 26, 106);
/* oklch */ color: oklch(31.3% 0.130 295.6);
Tailwind
colors: {
  custom: {
    50: '#755995',
    500: '#391a6a',
    950: '#000000',
  },
}
SCSS
$custom: #391a6a;
$custom-light: #755995;
$custom-dark: #000000;
JSON
{
  "hex": "#391a6a",
  "rgb": {
    "r": 57,
    "g": 26,
    "b": 106
  },
  "hsl": {
    "h": 263.25,
    "s": 60.606,
    "l": 25.882
  },
  "oklch": {
    "l": 0.31318,
    "c": 0.13033,
    "h": 295.6
  },
  "luminance": 0.02649
}

Semantic roles & 50–950 ramp

primary
#391A6A
secondary
#7B9F40
accent
#E444A6
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040D
muted
#7B797E

Preview Lab

Preview with #391A6A

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

Preview Lab → · Contrast checker → · Palette generator →

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