#391B6E#391B6E

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

Color values

HEX#391B6E
RGBrgb(57, 27, 110)
HSLhsl(262, 61%, 27%)
HSVhsv(262, 75%, 43%)
CMYKcmyk(48.2%, 75.5%, 0%, 56.9%)
CIE-LABlab(19.14, 34.55, -42.77)
CIE-LCHlch(19.14, 54.98, 308.92°)
OKLaboklab(31.83% 0.0543 -0.1225)
OKLCHoklch(31.83% 0.134 293.9)
XYZxyz(4.8930, 2.7794, 15.0275)
Luminance0.0278 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391B6E #506E1B
analogous
#1B266E #391B6E #631B6E
triadic
#391B6E #6E391B #1B6E39
tetradic
#391B6E #6E1B26 #506E1B #1B6E63
square
#391B6E #6E1B26 #506E1B #1B6E63
split-complementary
#391B6E #6E631B #266E1B
monochromatic
#0D0619 #200F3D #391B6E #52279F #6D36CE

Accessibility & contrast

On white

13.50
#391B6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#391B6E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391B6E
13.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391B6E#FFFFFF#000000##FFFFFF
##391B6E1.0013.501.5613.50
#FFFFFF13.501.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F70
Deuteranopia (green-blind)
#002D6C
Tritanopia (blue-blind)
#293042
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #391b6e;
/* rgb */ color: rgb(57, 27, 110);
/* oklch */ color: oklch(31.8% 0.134 293.9);
Tailwind
colors: {
  custom: {
    50: '#755a98',
    500: '#391b6e',
    950: '#000000',
  },
}
SCSS
$custom: #391b6e;
$custom-light: #755a98;
$custom-dark: #000000;
JSON
{
  "hex": "#391b6e",
  "rgb": {
    "r": 57,
    "g": 27,
    "b": 110
  },
  "hsl": {
    "h": 261.687,
    "s": 60.584,
    "l": 26.863
  },
  "oklch": {
    "l": 0.31826,
    "c": 0.13404,
    "h": 293.9
  },
  "luminance": 0.0278
}

Semantic roles & 50–950 ramp

primary
#391B6E
secondary
#80A342
accent
#E444AA
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #391B6E

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

Preview Lab → · Contrast checker → · Palette generator →

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