#391C66#391C66

#391C66 is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.2% C 0.123 H 296.6°. Best body text is #FFFFFF at 13.71:1 contrast (WCAG AA passes).

Color values

HEX#391C66
RGBrgb(57, 28, 102)
HSLhsl(264, 57%, 25%)
HSVhsv(264, 73%, 40%)
CMYKcmyk(44.1%, 72.5%, 0%, 60%)
CIE-LABlab(18.63, 31.64, -38.39)
CIE-LCHlch(18.63, 49.74, 309.49°)
OKLaboklab(31.24% 0.0549 -0.1097)
OKLCHoklch(31.24% 0.123 296.6)
XYZxyz(4.5002, 2.6596, 12.8440)
Luminance0.0266 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391C66 #49661C
analogous
#1C2466 #391C66 #5E1C66
triadic
#391C66 #66391C #1C6639
tetradic
#391C66 #661C24 #49661C #1C665E
square
#391C66 #661C24 #49661C #1C665E
split-complementary
#391C66 #665E1C #24661C
monochromatic
#0D0718 #1E0F36 #391C66 #542996 #6F36C6

Accessibility & contrast

On white

13.71
#391C66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#391C66 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391C66
13.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391C66#FFFFFF#000000##FFFFFF
##391C661.0013.711.5313.71
#FFFFFF13.711.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.711.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #391c66;
/* rgb */ color: rgb(57, 28, 102);
/* oklch */ color: oklch(31.2% 0.123 296.6);
Tailwind
colors: {
  custom: {
    50: '#745a92',
    500: '#391c66',
    950: '#000000',
  },
}
SCSS
$custom: #391c66;
$custom-light: #745a92;
$custom-dark: #000000;
JSON
{
  "hex": "#391c66",
  "rgb": {
    "r": 57,
    "g": 28,
    "b": 102
  },
  "hsl": {
    "h": 263.514,
    "s": 56.923,
    "l": 25.49
  },
  "oklch": {
    "l": 0.3124,
    "c": 0.12262,
    "h": 296.6
  },
  "luminance": 0.0266
}

Semantic roles & 50–950 ramp

primary
#391C66
secondary
#789B43
accent
#E048A4
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#09040D
muted
#7B797E

Preview Lab

Preview with #391C66

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

Preview Lab → · Contrast checker → · Palette generator →

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