#391764#391764

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

Color values

HEX#391764
RGBrgb(57, 23, 100)
HSLhsl(266, 63%, 24%)
HSVhsv(266, 77%, 39%)
CMYKcmyk(43%, 77%, 0%, 60.8%)
CIE-LABlab(17.47, 33.79, -38.95)
CIE-LCHlch(17.47, 51.56, 310.94°)
OKLaboklab(30.37% 0.0608 -0.1113)
OKLCHoklch(30.37% 0.127 298.6)
XYZxyz(4.2934, 2.4027, 12.2917)
Luminance0.0240 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391764 #426417
analogous
#171B64 #391764 #601764
triadic
#391764 #643917 #176439
tetradic
#391764 #64171B #426417 #176460
square
#391764 #64171B #426417 #176460
split-complementary
#391764 #646017 #1B6417
monochromatic
#0E0619 #1D0C32 #391764 #552296 #722EC8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##391764#FFFFFF#000000##FFFFFF
##3917641.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)
#002B66
Deuteranopia (green-blind)
#002A62
Tritanopia (blue-blind)
#2F2A3C
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #391764;
/* rgb */ color: rgb(57, 23, 100);
/* oklch */ color: oklch(30.4% 0.127 298.6);
Tailwind
colors: {
  custom: {
    50: '#745791',
    500: '#391764',
    950: '#000000',
  },
}
SCSS
$custom: #391764;
$custom-light: #745791;
$custom-dark: #000000;
JSON
{
  "hex": "#391764",
  "rgb": {
    "r": 57,
    "g": 23,
    "b": 100
  },
  "hsl": {
    "h": 266.494,
    "s": 62.602,
    "l": 24.118
  },
  "oklch": {
    "l": 0.30365,
    "c": 0.1268,
    "h": 298.6
  },
  "luminance": 0.02403
}

Semantic roles & 50–950 ramp

primary
#391764
secondary
#719A3C
accent
#E6429D
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#09030D
muted
#7B787E

Preview Lab

Preview with #391764

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

Preview Lab → · Contrast checker → · Palette generator →

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