#391066#391066

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

Color values

HEX#391066
RGBrgb(57, 16, 102)
HSLhsl(269, 73%, 23%)
HSVhsv(269, 84%, 40%)
CMYKcmyk(44.1%, 84.3%, 0%, 60%)
CIE-LABlab(16.50, 37.65, -41.85)
CIE-LCHlch(16.50, 56.30, 311.98°)
OKLaboklab(29.74% 0.0668 -0.1197)
OKLCHoklch(29.74% 0.137 299.2)
XYZxyz(4.2703, 2.1997, 12.7674)
Luminance0.0220 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391066 #3D6610
analogous
#101266 #391066 #641066
triadic
#391066 #663910 #106639
tetradic
#391066 #661012 #3D6610 #106664
square
#391066 #661012 #3D6610 #106664
split-complementary
#391066 #666410 #126610
monochromatic
#0F041A #1B0831 #391066 #57189B #7421D0

Accessibility & contrast

On white

14.58
#391066 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #391066
14.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391066#FFFFFF#000000##FFFFFF
##3910661.0014.581.4414.58
#FFFFFF14.581.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.581.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: #391066;
/* rgb */ color: rgb(57, 16, 102);
/* oklch */ color: oklch(29.7% 0.137 299.2);
Tailwind
colors: {
  custom: {
    50: '#755492',
    500: '#391066',
    950: '#000000',
  },
}
SCSS
$custom: #391066;
$custom-light: #755492;
$custom-dark: #000000;
JSON
{
  "hex": "#391066",
  "rgb": {
    "r": 57,
    "g": 16,
    "b": 102
  },
  "hsl": {
    "h": 268.605,
    "s": 72.881,
    "l": 23.137
  },
  "oklch": {
    "l": 0.29742,
    "c": 0.13714,
    "h": 299.2
  },
  "luminance": 0.022
}

Semantic roles & 50–950 ramp

primary
#391066
secondary
#6B9E33
accent
#F03898
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#09030D
muted
#7B787E

Preview Lab

Preview with #391066

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

Preview Lab → · Contrast checker → · Palette generator →

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