#391863#391863

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

Color values

HEX#391863
RGBrgb(57, 24, 99)
HSLhsl(266, 61%, 24%)
HSVhsv(266, 76%, 39%)
CMYKcmyk(42.4%, 75.8%, 0%, 61.2%)
CIE-LABlab(17.57, 32.98, -38.13)
CIE-LCHlch(17.57, 50.41, 310.86°)
OKLaboklab(30.41% 0.0599 -0.1089)
OKLCHoklch(30.41% 0.124 298.8)
XYZxyz(4.2655, 2.4239, 12.0451)
Luminance0.0242 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391863 #426318
analogous
#181D63 #391863 #5F1863
triadic
#391863 #633918 #186339
tetradic
#391863 #63181D #426318 #18635F
square
#391863 #63181D #426318 #18635F
split-complementary
#391863 #635F18 #1D6318
monochromatic
#0E0619 #1D0C32 #391863 #552494 #7230C6

Accessibility & contrast

On white

14.14
#391863 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #391863
14.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391863#FFFFFF#000000##FFFFFF
##3918631.0014.141.4814.14
#FFFFFF14.141.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B65
Deuteranopia (green-blind)
#002A61
Tritanopia (blue-blind)
#2F2B3B
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #391863;
/* rgb */ color: rgb(57, 24, 99);
/* oklch */ color: oklch(30.4% 0.124 298.8);
Tailwind
colors: {
  custom: {
    50: '#745890',
    500: '#391863',
    950: '#000000',
  },
}
SCSS
$custom: #391863;
$custom-light: #745890;
$custom-dark: #000000;
JSON
{
  "hex": "#391863",
  "rgb": {
    "r": 57,
    "g": 24,
    "b": 99
  },
  "hsl": {
    "h": 266.4,
    "s": 60.976,
    "l": 24.118
  },
  "oklch": {
    "l": 0.30407,
    "c": 0.12428,
    "h": 298.8
  },
  "luminance": 0.02424
}

Semantic roles & 50–950 ramp

primary
#391863
secondary
#71993E
accent
#E4449E
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #391863

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

Preview Lab → · Contrast checker → · Palette generator →

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