#391464#391464

#391464 is a dark, vivid violet. Relative luminance 0.023; OKLCH L 30.0% C 0.130 H 299.3°. Best body text is #FFFFFF at 14.40:1 contrast (WCAG AA passes).

Color values

HEX#391464
RGBrgb(57, 20, 100)
HSLhsl(268, 67%, 24%)
HSVhsv(268, 80%, 39%)
CMYKcmyk(43%, 80%, 0%, 60.8%)
CIE-LABlab(16.94, 35.30, -39.81)
CIE-LCHlch(16.94, 53.21, 311.56°)
OKLaboklab(29.99% 0.0638 -0.1138)
OKLCHoklch(29.99% 0.13 299.3)
XYZxyz(4.2372, 2.2902, 12.2729)
Luminance0.0229 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391464 #3F6414
analogous
#141764 #391464 #611464
triadic
#391464 #643914 #146439
tetradic
#391464 #641417 #3F6414 #146461
square
#391464 #641417 #3F6414 #146461
split-complementary
#391464 #646114 #176414
monochromatic
#0F051A #1C0A31 #391464 #561E97 #7328CA

Accessibility & contrast

On white

14.40
#391464 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#391464 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391464
14.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391464#FFFFFF#000000##FFFFFF
##3914641.0014.401.4614.40
#FFFFFF14.401.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A66
Deuteranopia (green-blind)
#002962
Tritanopia (blue-blind)
#2F293B
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #391464;
/* rgb */ color: rgb(57, 20, 100);
/* oklch */ color: oklch(30.0% 0.130 299.3);
Tailwind
colors: {
  custom: {
    50: '#745691',
    500: '#391464',
    950: '#000000',
  },
}
SCSS
$custom: #391464;
$custom-light: #745691;
$custom-dark: #000000;
JSON
{
  "hex": "#391464",
  "rgb": {
    "r": 57,
    "g": 20,
    "b": 100
  },
  "hsl": {
    "h": 267.75,
    "s": 66.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.29991,
    "c": 0.13047,
    "h": 299.3
  },
  "luminance": 0.0229
}

Semantic roles & 50–950 ramp

primary
#391464
secondary
#6E9B38
accent
#EA3E9A
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#09030D
muted
#7B787E

Preview Lab

Preview with #391464

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

Preview Lab → · Contrast checker → · Palette generator →

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