#391C75#391C75

#391C75 is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.6% C 0.142 H 291.4°. Best body text is #FFFFFF at 13.15:1 contrast (WCAG AA passes).

Color values

HEX#391C75
RGBrgb(57, 28, 117)
HSLhsl(260, 61%, 28%)
HSVhsv(260, 76%, 46%)
CMYKcmyk(51.3%, 76.1%, 0%, 54.1%)
CIE-LABlab(19.98, 36.08, -45.91)
CIE-LCHlch(19.98, 58.39, 308.16°)
OKLaboklab(32.63% 0.0517 -0.1318)
OKLCHoklch(32.63% 0.142 291.4)
XYZxyz(5.3126, 2.9845, 17.1223)
Luminance0.0299 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391C75 #58751C
analogous
#1C2B75 #391C75 #651C75
triadic
#391C75 #75391C #1C7539
tetradic
#391C75 #751C2B #58751C #1C7565
square
#391C75 #751C2B #58751C #1C7565
split-complementary
#391C75 #75651C #2B751C
monochromatic
#0C0619 #211044 #391C75 #5128A6 #6C3BD0

Accessibility & contrast

On white

13.15
#391C75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#391C75 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391C75
13.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391C75#FFFFFF#000000##FFFFFF
##391C751.0013.151.6013.15
#FFFFFF13.151.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003278
Deuteranopia (green-blind)
#002E73
Tritanopia (blue-blind)
#253447
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #391c75;
/* rgb */ color: rgb(57, 28, 117);
/* oklch */ color: oklch(32.6% 0.142 291.4);
Tailwind
colors: {
  custom: {
    50: '#765b9e',
    500: '#391c75',
    950: '#000000',
  },
}
SCSS
$custom: #391c75;
$custom-light: #765b9e;
$custom-dark: #000000;
JSON
{
  "hex": "#391c75",
  "rgb": {
    "r": 57,
    "g": 28,
    "b": 117
  },
  "hsl": {
    "h": 259.551,
    "s": 61.379,
    "l": 28.431
  },
  "oklch": {
    "l": 0.32625,
    "c": 0.14154,
    "h": 291.4
  },
  "luminance": 0.02985
}

Semantic roles & 50–950 ramp

primary
#391C75
secondary
#88A944
accent
#E443B0
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #391C75

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

Preview Lab → · Contrast checker → · Palette generator →

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