#391C5D#391C5D

#391C5D is a dark, moderate violet. Relative luminance 0.025; OKLCH L 30.5% C 0.111 H 300.4°. Best body text is #FFFFFF at 14.02:1 contrast (WCAG AA passes).

Color values

HEX#391C5D
RGBrgb(57, 28, 93)
HSLhsl(267, 54%, 24%)
HSVhsv(267, 70%, 36%)
CMYKcmyk(38.7%, 69.9%, 0%, 63.5%)
CIE-LABlab(17.88, 29.02, -33.66)
CIE-LCHlch(17.88, 44.44, 310.77°)
OKLaboklab(30.47% 0.0562 -0.0957)
OKLCHoklch(30.47% 0.111 300.4)
XYZxyz(4.0779, 2.4906, 10.6197)
Luminance0.0249 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391C5D #405D1C
analogous
#1C1F5D #391C5D #591C5D
triadic
#391C5D #5D391C #1C5D39
tetradic
#391C5D #5D1C1F #405D1C #1C5D59
square
#391C5D #5D1C1F #405D1C #1C5D59
split-complementary
#391C5D #5D591C #1F5D1C
monochromatic
#0E0718 #1C0E2E #391C5D #562A8C #7338BB

Accessibility & contrast

On white

14.02
#391C5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #391C5D
14.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391C5D#FFFFFF#000000##FFFFFF
##391C5D1.0014.021.5014.02
#FFFFFF14.021.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C5F
Deuteranopia (green-blind)
#002B5C
Tritanopia (blue-blind)
#312B39
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #391c5d;
/* rgb */ color: rgb(57, 28, 93);
/* oklch */ color: oklch(30.5% 0.111 300.4);
Tailwind
colors: {
  custom: {
    50: '#735a8b',
    500: '#391c5d',
    950: '#000000',
  },
}
SCSS
$custom: #391c5d;
$custom-light: #735a8b;
$custom-dark: #000000;
JSON
{
  "hex": "#391c5d",
  "rgb": {
    "r": 57,
    "g": 28,
    "b": 93
  },
  "hsl": {
    "h": 266.769,
    "s": 53.719,
    "l": 23.725
  },
  "oklch": {
    "l": 0.30466,
    "c": 0.111,
    "h": 300.4
  },
  "luminance": 0.02491
}

Semantic roles & 50–950 ramp

primary
#391C5D
secondary
#6F9242
accent
#DD4B9C
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08040C
muted
#7B797D

Preview Lab

Preview with #391C5D

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

Preview Lab → · Contrast checker → · Palette generator →

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