#391666#391666

#391666 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.4% C 0.130 H 298.0°. Best body text is #FFFFFF at 14.18:1 contrast (WCAG AA passes).

Color values

HEX#391666
RGBrgb(57, 22, 102)
HSLhsl(266, 65%, 24%)
HSVhsv(266, 78%, 40%)
CMYKcmyk(44.1%, 78.4%, 0%, 60%)
CIE-LABlab(17.47, 34.87, -40.26)
CIE-LCHlch(17.47, 53.26, 310.89°)
OKLaboklab(30.42% 0.0613 -0.1151)
OKLCHoklch(30.42% 0.13 298)
XYZxyz(4.3719, 2.4029, 12.8013)
Luminance0.0240 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391666 #436616
analogous
#161B66 #391666 #611666
triadic
#391666 #663916 #166639
tetradic
#391666 #66161B #436616 #166661
square
#391666 #66161B #436616 #166661
split-complementary
#391666 #666116 #1B6616
monochromatic
#0E0519 #1D0B34 #391666 #552198 #712CCB

Accessibility & contrast

On white

14.18
#391666 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#391666 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391666
14.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391666#FFFFFF#000000##FFFFFF
##3916661.0014.181.4814.18
#FFFFFF14.181.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B68
Deuteranopia (green-blind)
#002A64
Tritanopia (blue-blind)
#2E2B3D
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #391666;
/* rgb */ color: rgb(57, 22, 102);
/* oklch */ color: oklch(30.4% 0.130 298.0);
Tailwind
colors: {
  custom: {
    50: '#745792',
    500: '#391666',
    950: '#000000',
  },
}
SCSS
$custom: #391666;
$custom-light: #745792;
$custom-dark: #000000;
JSON
{
  "hex": "#391666",
  "rgb": {
    "r": 57,
    "g": 22,
    "b": 102
  },
  "hsl": {
    "h": 266.25,
    "s": 64.516,
    "l": 24.314
  },
  "oklch": {
    "l": 0.30422,
    "c": 0.13045,
    "h": 298
  },
  "luminance": 0.02403
}

Semantic roles & 50–950 ramp

primary
#391666
secondary
#729D3B
accent
#E8409E
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#09030D
muted
#7B787E

Preview Lab

Preview with #391666

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

Preview Lab → · Contrast checker → · Palette generator →

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