#391B6D#391B6D

#391B6D is a dark, vivid violet. Relative luminance 0.028; OKLCH L 31.7% C 0.133 H 294.3°. Best body text is #FFFFFF at 13.53:1 contrast (WCAG AA passes).

Color values

HEX#391B6D
RGBrgb(57, 27, 109)
HSLhsl(262, 60%, 27%)
HSVhsv(262, 75%, 43%)
CMYKcmyk(47.7%, 75.2%, 0%, 57.3%)
CIE-LABlab(19.05, 34.25, -42.27)
CIE-LCHlch(19.05, 54.41, 309.01°)
OKLaboklab(31.73% 0.0546 -0.1211)
OKLCHoklch(31.73% 0.133 294.3)
XYZxyz(4.8388, 2.7577, 14.7424)
Luminance0.0276 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391B6D #4F6D1B
analogous
#1B266D #391B6D #621B6D
triadic
#391B6D #6D391B #1B6D39
tetradic
#391B6D #6D1B26 #4F6D1B #1B6D62
square
#391B6D #6D1B26 #4F6D1B #1B6D62
split-complementary
#391B6D #6D621B #266D1B
monochromatic
#0D0619 #1F0F3C #391B6D #53279E #6D35CD

Accessibility & contrast

On white

13.53
#391B6D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #391B6D
13.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391B6D#FFFFFF#000000##FFFFFF
##391B6D1.0013.531.5513.53
#FFFFFF13.531.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F6F
Deuteranopia (green-blind)
#002D6B
Tritanopia (blue-blind)
#2A3042
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #391b6d;
/* rgb */ color: rgb(57, 27, 109);
/* oklch */ color: oklch(31.7% 0.133 294.3);
Tailwind
colors: {
  custom: {
    50: '#755a98',
    500: '#391b6d',
    950: '#000000',
  },
}
SCSS
$custom: #391b6d;
$custom-light: #755a98;
$custom-dark: #000000;
JSON
{
  "hex": "#391b6d",
  "rgb": {
    "r": 57,
    "g": 27,
    "b": 109
  },
  "hsl": {
    "h": 261.951,
    "s": 60.294,
    "l": 26.667
  },
  "oklch": {
    "l": 0.31733,
    "c": 0.1328,
    "h": 294.3
  },
  "luminance": 0.02758
}

Semantic roles & 50–950 ramp

primary
#391B6D
secondary
#7FA242
accent
#E344A9
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #391B6D

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

Preview Lab → · Contrast checker → · Palette generator →

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