#391664#391664

#391664 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.2% C 0.128 H 298.9°. Best body text is #FFFFFF at 14.26:1 contrast (WCAG AA passes).

Color values

HEX#391664
RGBrgb(57, 22, 100)
HSLhsl(267, 64%, 24%)
HSVhsv(267, 78%, 39%)
CMYKcmyk(43%, 78%, 0%, 60.8%)
CIE-LABlab(17.29, 34.31, -39.25)
CIE-LCHlch(17.29, 52.13, 311.16°)
OKLaboklab(30.24% 0.0618 -0.1121)
OKLCHoklch(30.24% 0.128 298.9)
XYZxyz(4.2739, 2.3637, 12.2852)
Luminance0.0236 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391664 #416416
analogous
#161A64 #391664 #601664
triadic
#391664 #643916 #166439
tetradic
#391664 #64161A #416416 #166460
square
#391664 #64161A #416416 #166460
split-complementary
#391664 #646016 #1A6416
monochromatic
#0E0619 #1C0B32 #391664 #562196 #722CC8

Accessibility & contrast

On white

14.26
#391664 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #391664
14.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391664#FFFFFF#000000##FFFFFF
##3916641.0014.261.4714.26
#FFFFFF14.261.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.261.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #391664;
/* rgb */ color: rgb(57, 22, 100);
/* oklch */ color: oklch(30.2% 0.128 298.9);
Tailwind
colors: {
  custom: {
    50: '#745791',
    500: '#391664',
    950: '#000000',
  },
}
SCSS
$custom: #391664;
$custom-light: #745791;
$custom-dark: #000000;
JSON
{
  "hex": "#391664",
  "rgb": {
    "r": 57,
    "g": 22,
    "b": 100
  },
  "hsl": {
    "h": 266.923,
    "s": 63.934,
    "l": 23.922
  },
  "oklch": {
    "l": 0.30236,
    "c": 0.12806,
    "h": 298.9
  },
  "luminance": 0.02364
}

Semantic roles & 50–950 ramp

primary
#391664
secondary
#709B3B
accent
#E7419C
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#09030D
muted
#7B787E

Preview Lab

Preview with #391664

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

Preview Lab → · Contrast checker → · Palette generator →

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