#391166#391166

#391166 is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.8% C 0.136 H 299.0°. Best body text is #FFFFFF at 14.52:1 contrast (WCAG AA passes).

Color values

HEX#391166
RGBrgb(57, 17, 102)
HSLhsl(268, 71%, 23%)
HSVhsv(268, 83%, 40%)
CMYKcmyk(44.1%, 83.3%, 0%, 60%)
CIE-LABlab(16.65, 37.22, -41.61)
CIE-LCHlch(16.65, 55.83, 311.82°)
OKLaboklab(29.85% 0.066 -0.119)
OKLCHoklch(29.85% 0.136 299)
XYZxyz(4.2855, 2.2300, 12.7724)
Luminance0.0223 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391166 #3E6611
analogous
#111366 #391166 #631166
triadic
#391166 #663911 #116639
tetradic
#391166 #661113 #3E6611 #116663
square
#391166 #661113 #3E6611 #116663
split-complementary
#391166 #666311 #136611
monochromatic
#0F041A #1C0832 #391166 #561A9A #7422CF

Accessibility & contrast

On white

14.52
#391166 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#391166 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391166
14.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391166#FFFFFF#000000##FFFFFF
##3911661.0014.521.4514.52
#FFFFFF14.521.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002968
Deuteranopia (green-blind)
#002864
Tritanopia (blue-blind)
#2E283B
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #391166;
/* rgb */ color: rgb(57, 17, 102);
/* oklch */ color: oklch(29.8% 0.136 299.0);
Tailwind
colors: {
  custom: {
    50: '#755592',
    500: '#391166',
    950: '#000000',
  },
}
SCSS
$custom: #391166;
$custom-light: #755592;
$custom-dark: #000000;
JSON
{
  "hex": "#391166",
  "rgb": {
    "r": 57,
    "g": 17,
    "b": 102
  },
  "hsl": {
    "h": 268.235,
    "s": 71.429,
    "l": 23.333
  },
  "oklch": {
    "l": 0.29845,
    "c": 0.13611,
    "h": 299
  },
  "luminance": 0.0223
}

Semantic roles & 50–950 ramp

primary
#391166
secondary
#6C9E35
accent
#EE3A99
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#09030D
muted
#7B787E

Preview Lab

Preview with #391166

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

Preview Lab → · Contrast checker → · Palette generator →

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