#391A66#391A66

#391A66 is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.0% C 0.125 H 297.1°. Best body text is #FFFFFF at 13.87:1 contrast (WCAG AA passes).

Color values

HEX#391A66
RGBrgb(57, 26, 102)
HSLhsl(264, 59%, 25%)
HSVhsv(264, 75%, 40%)
CMYKcmyk(44.1%, 74.5%, 0%, 60%)
CIE-LABlab(18.22, 32.76, -39.04)
CIE-LCHlch(18.22, 50.96, 310.00°)
OKLaboklab(30.95% 0.0571 -0.1116)
OKLCHoklch(30.95% 0.125 297.1)
XYZxyz(4.4544, 2.5679, 12.8288)
Luminance0.0257 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391A66 #47661A
analogous
#1A2166 #391A66 #5F1A66
triadic
#391A66 #66391A #1A6639
tetradic
#391A66 #661A21 #47661A #1A665F
square
#391A66 #661A21 #47661A #1A665F
split-complementary
#391A66 #665F1A #21661A
monochromatic
#0E0618 #1E0E35 #391A66 #542697 #7033C8

Accessibility & contrast

On white

13.87
#391A66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#391A66 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391A66
13.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391A66#FFFFFF#000000##FFFFFF
##391A661.0013.871.5113.87
#FFFFFF13.871.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D68
Deuteranopia (green-blind)
#002C64
Tritanopia (blue-blind)
#2E2D3E
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #391a66;
/* rgb */ color: rgb(57, 26, 102);
/* oklch */ color: oklch(31.0% 0.125 297.1);
Tailwind
colors: {
  custom: {
    50: '#745992',
    500: '#391a66',
    950: '#000000',
  },
}
SCSS
$custom: #391a66;
$custom-light: #745992;
$custom-dark: #000000;
JSON
{
  "hex": "#391a66",
  "rgb": {
    "r": 57,
    "g": 26,
    "b": 102
  },
  "hsl": {
    "h": 264.474,
    "s": 59.375,
    "l": 25.098
  },
  "oklch": {
    "l": 0.30953,
    "c": 0.12535,
    "h": 297.1
  },
  "luminance": 0.02568
}

Semantic roles & 50–950 ramp

primary
#391A66
secondary
#769C40
accent
#E345A2
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#09040D
muted
#7B797E

Preview Lab

Preview with #391A66

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

Preview Lab → · Contrast checker → · Palette generator →

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