#391B5E#391B5E

#391B5E is a dark, moderate violet. Relative luminance 0.025; OKLCH L 30.4% C 0.114 H 300.2°. Best body text is #FFFFFF at 14.07:1 contrast (WCAG AA passes).

Color values

HEX#391B5E
RGBrgb(57, 27, 94)
HSLhsl(267, 55%, 24%)
HSVhsv(267, 71%, 37%)
CMYKcmyk(39.4%, 71.3%, 0%, 63.1%)
CIE-LABlab(17.75, 29.89, -34.53)
CIE-LCHlch(17.75, 45.67, 310.88°)
OKLaboklab(30.4% 0.0573 -0.0983)
OKLCHoklch(30.4% 0.114 300.2)
XYZxyz(4.0992, 2.4618, 10.8467)
Luminance0.0246 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391B5E #405E1B
analogous
#1B1E5E #391B5E #5A1B5E
triadic
#391B5E #5E391B #1B5E39
tetradic
#391B5E #5E1B1E #405E1B #1B5E5A
square
#391B5E #5E1B1E #405E1B #1B5E5A
split-complementary
#391B5E #5E5A1B #1E5E1B
monochromatic
#0E0718 #1C0D2E #391B5E #56298E #7336BD

Accessibility & contrast

On white

14.07
#391B5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#391B5E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391B5E
14.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391B5E#FFFFFF#000000##FFFFFF
##391B5E1.0014.071.4914.07
#FFFFFF14.071.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B60
Deuteranopia (green-blind)
#002B5D
Tritanopia (blue-blind)
#312A3A
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #391b5e;
/* rgb */ color: rgb(57, 27, 94);
/* oklch */ color: oklch(30.4% 0.114 300.2);
Tailwind
colors: {
  custom: {
    50: '#735a8c',
    500: '#391b5e',
    950: '#000000',
  },
}
SCSS
$custom: #391b5e;
$custom-light: #735a8c;
$custom-dark: #000000;
JSON
{
  "hex": "#391b5e",
  "rgb": {
    "r": 57,
    "g": 27,
    "b": 94
  },
  "hsl": {
    "h": 266.866,
    "s": 55.372,
    "l": 23.725
  },
  "oklch": {
    "l": 0.30398,
    "c": 0.11379,
    "h": 300.2
  },
  "luminance": 0.02462
}

Semantic roles & 50–950 ramp

primary
#391B5E
secondary
#6F9441
accent
#DF499C
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08040C
muted
#7B797D

Preview Lab

Preview with #391B5E

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

Preview Lab → · Contrast checker → · Palette generator →

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