#391864#391864

#391864 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.5% C 0.126 H 298.4°. Best body text is #FFFFFF at 14.11:1 contrast (WCAG AA passes).

Color values

HEX#391864
RGBrgb(57, 24, 100)
HSLhsl(266, 61%, 24%)
HSVhsv(266, 76%, 39%)
CMYKcmyk(43%, 76%, 0%, 60.8%)
CIE-LABlab(17.66, 33.26, -38.64)
CIE-LCHlch(17.66, 50.99, 310.72°)
OKLaboklab(30.5% 0.0597 -0.1104)
OKLCHoklch(30.5% 0.126 298.4)
XYZxyz(4.3136, 2.4432, 12.2984)
Luminance0.0244 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391864 #436418
analogous
#181D64 #391864 #5F1864
triadic
#391864 #643918 #186439
tetradic
#391864 #64181D #436418 #18645F
square
#391864 #64181D #436418 #18645F
split-complementary
#391864 #645F18 #1D6418
monochromatic
#0E0619 #1D0C33 #391864 #552495 #7130C7

Accessibility & contrast

On white

14.11
#391864 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#391864 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391864
14.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391864#FFFFFF#000000##FFFFFF
##3918641.0014.111.4914.11
#FFFFFF14.111.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B66
Deuteranopia (green-blind)
#002A62
Tritanopia (blue-blind)
#2F2B3C
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #391864;
/* rgb */ color: rgb(57, 24, 100);
/* oklch */ color: oklch(30.5% 0.126 298.4);
Tailwind
colors: {
  custom: {
    50: '#745891',
    500: '#391864',
    950: '#000000',
  },
}
SCSS
$custom: #391864;
$custom-light: #745891;
$custom-dark: #000000;
JSON
{
  "hex": "#391864",
  "rgb": {
    "r": 57,
    "g": 24,
    "b": 100
  },
  "hsl": {
    "h": 266.053,
    "s": 61.29,
    "l": 24.314
  },
  "oklch": {
    "l": 0.30497,
    "c": 0.1255,
    "h": 298.4
  },
  "luminance": 0.02443
}

Semantic roles & 50–950 ramp

primary
#391864
secondary
#729A3E
accent
#E4439E
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#09030D
muted
#7B787E

Preview Lab

Preview with #391864

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

Preview Lab → · Contrast checker → · Palette generator →

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