#391A6F#391A6F

#391A6F is a dark, vivid violet. Relative luminance 0.028; OKLCH L 31.8% C 0.137 H 293.8°. Best body text is #FFFFFF at 13.54:1 contrast (WCAG AA passes).

Color values

HEX#391A6F
RGBrgb(57, 26, 111)
HSLhsl(262, 62%, 27%)
HSVhsv(262, 77%, 44%)
CMYKcmyk(48.6%, 76.6%, 0%, 56.5%)
CIE-LABlab(19.04, 35.37, -43.58)
CIE-LCHlch(19.04, 56.13, 309.06°)
OKLaboklab(31.79% 0.0551 -0.1249)
OKLCHoklch(31.79% 0.137 293.8)
XYZxyz(4.9252, 2.7562, 15.3083)
Luminance0.0276 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391A6F #506F1A
analogous
#1A266F #391A6F #641A6F
triadic
#391A6F #6F391A #1A6F39
tetradic
#391A6F #6F1A26 #506F1A #1A6F64
square
#391A6F #6F1A26 #506F1A #1A6F64
split-complementary
#391A6F #6F641A #266F1A
monochromatic
#0D0619 #200E3D #391A6F #5226A1 #6D34CF

Accessibility & contrast

On white

13.54
#391A6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#391A6F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391A6F
13.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391A6F#FFFFFF#000000##FFFFFF
##391A6F1.0013.541.5513.54
#FFFFFF13.541.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F71
Deuteranopia (green-blind)
#002D6D
Tritanopia (blue-blind)
#293043
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #391a6f;
/* rgb */ color: rgb(57, 26, 111);
/* oklch */ color: oklch(31.8% 0.137 293.8);
Tailwind
colors: {
  custom: {
    50: '#755a99',
    500: '#391a6f',
    950: '#000000',
  },
}
SCSS
$custom: #391a6f;
$custom-light: #755a99;
$custom-dark: #000000;
JSON
{
  "hex": "#391a6f",
  "rgb": {
    "r": 57,
    "g": 26,
    "b": 111
  },
  "hsl": {
    "h": 261.882,
    "s": 62.044,
    "l": 26.863
  },
  "oklch": {
    "l": 0.31786,
    "c": 0.13651,
    "h": 293.8
  },
  "luminance": 0.02756
}

Semantic roles & 50–950 ramp

primary
#391A6F
secondary
#80A441
accent
#E543AA
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #391A6F

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

Preview Lab → · Contrast checker → · Palette generator →

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