#391B60#391B60

#391B60 is a dark, moderate violet. Relative luminance 0.025; OKLCH L 30.6% C 0.116 H 299.3°. Best body text is #FFFFFF at 14.00:1 contrast (WCAG AA passes).

Color values

HEX#391B60
RGBrgb(57, 27, 96)
HSLhsl(266, 56%, 24%)
HSVhsv(266, 72%, 38%)
CMYKcmyk(40.6%, 71.9%, 0%, 62.4%)
CIE-LABlab(17.91, 30.46, -35.59)
CIE-LCHlch(17.91, 46.85, 310.56°)
OKLaboklab(30.57% 0.057 -0.1014)
OKLCHoklch(30.57% 0.116 299.3)
XYZxyz(4.1901, 2.4982, 11.3255)
Luminance0.0250 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391B60 #42601B
analogous
#1B2060 #391B60 #5C1B60
triadic
#391B60 #60391B #1B6039
tetradic
#391B60 #601B20 #42601B #1B605C
square
#391B60 #601B20 #42601B #1B605C
split-complementary
#391B60 #605C1B #20601B
monochromatic
#0E0718 #1D0E30 #391B60 #552890 #7236C0

Accessibility & contrast

On white

14.00
#391B60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#391B60 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391B60
14.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391B60#FFFFFF#000000##FFFFFF
##391B601.0014.001.5014.00
#FFFFFF14.001.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C62
Deuteranopia (green-blind)
#002B5F
Tritanopia (blue-blind)
#302B3B
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #391b60;
/* rgb */ color: rgb(57, 27, 96);
/* oklch */ color: oklch(30.6% 0.116 299.3);
Tailwind
colors: {
  custom: {
    50: '#735a8e',
    500: '#391b60',
    950: '#000000',
  },
}
SCSS
$custom: #391b60;
$custom-light: #735a8e;
$custom-dark: #000000;
JSON
{
  "hex": "#391b60",
  "rgb": {
    "r": 57,
    "g": 27,
    "b": 96
  },
  "hsl": {
    "h": 266.087,
    "s": 56.098,
    "l": 24.118
  },
  "oklch": {
    "l": 0.30568,
    "c": 0.11636,
    "h": 299.3
  },
  "luminance": 0.02498
}

Semantic roles & 50–950 ramp

primary
#391B60
secondary
#719641
accent
#DF489E
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08040C
muted
#7B797D

Preview Lab

Preview with #391B60

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

Preview Lab → · Contrast checker → · Palette generator →

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