#391466#391466

#391466 is a dark, vivid violet. Relative luminance 0.023; OKLCH L 30.2% C 0.133 H 298.4°. Best body text is #FFFFFF at 14.33:1 contrast (WCAG AA passes).

Color values

HEX#391466
RGBrgb(57, 20, 102)
HSLhsl(267, 67%, 24%)
HSVhsv(267, 80%, 40%)
CMYKcmyk(44.1%, 80.4%, 0%, 60%)
CIE-LABlab(17.13, 35.85, -40.83)
CIE-LCHlch(17.13, 54.33, 311.29°)
OKLaboklab(30.18% 0.0633 -0.1168)
OKLCHoklch(30.18% 0.133 298.4)
XYZxyz(4.3352, 2.3294, 12.7890)
Luminance0.0233 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391466 #416614
analogous
#141866 #391466 #621466
triadic
#391466 #663914 #146639
tetradic
#391466 #661418 #416614 #146662
square
#391466 #661418 #416614 #146662
split-complementary
#391466 #666214 #186614
monochromatic
#0E051A #1C0A33 #391466 #561E99 #7228CC

Accessibility & contrast

On white

14.33
#391466 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#391466 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391466
14.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391466#FFFFFF#000000##FFFFFF
##3914661.0014.331.4714.33
#FFFFFF14.331.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A68
Deuteranopia (green-blind)
#002964
Tritanopia (blue-blind)
#2E2A3C
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #391466;
/* rgb */ color: rgb(57, 20, 102);
/* oklch */ color: oklch(30.2% 0.133 298.4);
Tailwind
colors: {
  custom: {
    50: '#755692',
    500: '#391466',
    950: '#000000',
  },
}
SCSS
$custom: #391466;
$custom-light: #755692;
$custom-dark: #000000;
JSON
{
  "hex": "#391466",
  "rgb": {
    "r": 57,
    "g": 20,
    "b": 102
  },
  "hsl": {
    "h": 267.073,
    "s": 67.213,
    "l": 23.922
  },
  "oklch": {
    "l": 0.3018,
    "c": 0.13282,
    "h": 298.4
  },
  "luminance": 0.02329
}

Semantic roles & 50–950 ramp

primary
#391466
secondary
#709D39
accent
#EA3E9C
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#09030D
muted
#7B787E

Preview Lab

Preview with #391466

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

Preview Lab → · Contrast checker → · Palette generator →

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