#391B66#391B66

#391B66 is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.1% C 0.124 H 296.8°. Best body text is #FFFFFF at 13.79:1 contrast (WCAG AA passes).

Color values

HEX#391B66
RGBrgb(57, 27, 102)
HSLhsl(264, 58%, 25%)
HSVhsv(264, 74%, 40%)
CMYKcmyk(44.1%, 73.5%, 0%, 60%)
CIE-LABlab(18.42, 32.20, -38.72)
CIE-LCHlch(18.42, 50.36, 309.75°)
OKLaboklab(31.1% 0.056 -0.1106)
OKLCHoklch(31.1% 0.124 296.8)
XYZxyz(4.4769, 2.6129, 12.8363)
Luminance0.0261 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391B66 #48661B
analogous
#1B2266 #391B66 #5E1B66
triadic
#391B66 #66391B #1B6639
tetradic
#391B66 #661B22 #48661B #1B665E
square
#391B66 #661B22 #48661B #1B665E
split-complementary
#391B66 #665E1B #22661B
monochromatic
#0E0618 #1E0E36 #391B66 #542896 #6F35C7

Accessibility & contrast

On white

13.79
#391B66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#391B66 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391B66
13.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391B66#FFFFFF#000000##FFFFFF
##391B661.0013.791.5213.79
#FFFFFF13.791.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #391b66;
/* rgb */ color: rgb(57, 27, 102);
/* oklch */ color: oklch(31.1% 0.124 296.8);
Tailwind
colors: {
  custom: {
    50: '#745a92',
    500: '#391b66',
    950: '#000000',
  },
}
SCSS
$custom: #391b66;
$custom-light: #745a92;
$custom-dark: #000000;
JSON
{
  "hex": "#391b66",
  "rgb": {
    "r": 57,
    "g": 27,
    "b": 102
  },
  "hsl": {
    "h": 264,
    "s": 58.14,
    "l": 25.294
  },
  "oklch": {
    "l": 0.31095,
    "c": 0.124,
    "h": 296.8
  },
  "luminance": 0.02613
}

Semantic roles & 50–950 ramp

primary
#391B66
secondary
#779B41
accent
#E146A3
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#09040D
muted
#7B797E

Preview Lab

Preview with #391B66

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

Preview Lab → · Contrast checker → · Palette generator →

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