#391C74#391C74

#391C74 is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.5% C 0.140 H 291.7°. Best body text is #FFFFFF at 13.19:1 contrast (WCAG AA passes).

Color values

HEX#391C74
RGBrgb(57, 28, 116)
HSLhsl(260, 61%, 28%)
HSVhsv(260, 76%, 45%)
CMYKcmyk(50.9%, 75.9%, 0%, 54.5%)
CIE-LABlab(19.89, 35.78, -45.43)
CIE-LCHlch(19.89, 57.83, 308.23°)
OKLaboklab(32.53% 0.0519 -0.1303)
OKLCHoklch(32.53% 0.14 291.7)
XYZxyz(5.2541, 2.9611, 16.8143)
Luminance0.0296 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391C74 #57741C
analogous
#1C2B74 #391C74 #651C74
triadic
#391C74 #74391C #1C7439
tetradic
#391C74 #741C2B #57741C #1C7465
square
#391C74 #741C2B #57741C #1C7465
split-complementary
#391C74 #74651C #2B741C
monochromatic
#0C0619 #211043 #391C74 #5128A5 #6C3BD0

Accessibility & contrast

On white

13.19
#391C74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#391C74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391C74
13.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391C74#FFFFFF#000000##FFFFFF
##391C741.0013.191.5913.19
#FFFFFF13.191.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003177
Deuteranopia (green-blind)
#002E72
Tritanopia (blue-blind)
#263346
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #391c74;
/* rgb */ color: rgb(57, 28, 116);
/* oklch */ color: oklch(32.5% 0.140 291.7);
Tailwind
colors: {
  custom: {
    50: '#765b9d',
    500: '#391c74',
    950: '#000000',
  },
}
SCSS
$custom: #391c74;
$custom-light: #765b9d;
$custom-dark: #000000;
JSON
{
  "hex": "#391c74",
  "rgb": {
    "r": 57,
    "g": 28,
    "b": 116
  },
  "hsl": {
    "h": 259.773,
    "s": 61.111,
    "l": 28.235
  },
  "oklch": {
    "l": 0.32529,
    "c": 0.14029,
    "h": 291.7
  },
  "luminance": 0.02961
}

Semantic roles & 50–950 ramp

primary
#391C74
secondary
#87A843
accent
#E444AF
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #391C74

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

Preview Lab → · Contrast checker → · Palette generator →

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