#391164#391164

#391164 is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.7% C 0.134 H 299.8°. Best body text is #FFFFFF at 14.60:1 contrast (WCAG AA passes).

Color values

HEX#391164
RGBrgb(57, 17, 100)
HSLhsl(269, 71%, 23%)
HSVhsv(269, 83%, 39%)
CMYKcmyk(43%, 83%, 0%, 60.8%)
CIE-LABlab(16.46, 36.69, -40.60)
CIE-LCHlch(16.46, 54.72, 312.10°)
OKLaboklab(29.65% 0.0666 -0.1161)
OKLCHoklch(29.65% 0.134 299.8)
XYZxyz(4.1875, 2.1908, 12.2564)
Luminance0.0219 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391164 #3C6411
analogous
#111264 #391164 #621164
triadic
#391164 #643911 #116439
tetradic
#391164 #641112 #3C6411 #116462
square
#391164 #641112 #3C6411 #116462
split-complementary
#391164 #646211 #126411
monochromatic
#0F041A #1B0830 #391164 #571A98 #7523CD

Accessibility & contrast

On white

14.60
#391164 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#391164 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391164
14.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391164#FFFFFF#000000##FFFFFF
##3911641.0014.601.4414.60
#FFFFFF14.601.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002966
Deuteranopia (green-blind)
#002862
Tritanopia (blue-blind)
#2F283A
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #391164;
/* rgb */ color: rgb(57, 17, 100);
/* oklch */ color: oklch(29.7% 0.134 299.8);
Tailwind
colors: {
  custom: {
    50: '#755491',
    500: '#391164',
    950: '#000000',
  },
}
SCSS
$custom: #391164;
$custom-light: #755491;
$custom-dark: #000000;
JSON
{
  "hex": "#391164",
  "rgb": {
    "r": 57,
    "g": 17,
    "b": 100
  },
  "hsl": {
    "h": 268.916,
    "s": 70.94,
    "l": 22.941
  },
  "oklch": {
    "l": 0.29652,
    "c": 0.13386,
    "h": 299.8
  },
  "luminance": 0.02191
}

Semantic roles & 50–950 ramp

primary
#391164
secondary
#6A9C35
accent
#EE3A97
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#09030D
muted
#7B787E

Preview Lab

Preview with #391164

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

Preview Lab → · Contrast checker → · Palette generator →

#391164 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva