#391885#391885

#391885 is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.7% C 0.165 H 287.7°. Best body text is #FFFFFF at 12.78:1 contrast (WCAG AA passes).

Color values

HEX#391885
RGBrgb(57, 24, 133)
HSLhsl(258, 69%, 31%)
HSVhsv(258, 82%, 52%)
CMYKcmyk(57.1%, 82%, 0%, 47.8%)
CIE-LABlab(20.89, 42.77, -54.60)
CIE-LCHlch(20.89, 69.36, 308.07°)
OKLaboklab(33.75% 0.0501 -0.1572)
OKLCHoklch(33.75% 0.165 287.7)
XYZxyz(6.2464, 3.2162, 22.4774)
Luminance0.0322 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391885 #648518
analogous
#182D85 #391885 #6F1885
triadic
#391885 #853918 #188539
tetradic
#391885 #85182D #648518 #18856F
square
#391885 #85182D #648518 #18856F
split-complementary
#391885 #856F18 #2D8518
monochromatic
#0D051D #230F51 #391885 #4F21B9 #6C3CDC

Accessibility & contrast

On white

12.78
#391885 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#391885 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391885
12.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391885#FFFFFF#000000##FFFFFF
##3918851.0012.781.6412.78
#FFFFFF12.781.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003588
Deuteranopia (green-blind)
#002F83
Tritanopia (blue-blind)
#17384F
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #391885;
/* rgb */ color: rgb(57, 24, 133);
/* oklch */ color: oklch(33.7% 0.165 287.7);
Tailwind
colors: {
  custom: {
    50: '#795aaa',
    500: '#391885',
    950: '#000000',
  },
}
SCSS
$custom: #391885;
$custom-light: #795aaa;
$custom-dark: #000000;
JSON
{
  "hex": "#391885",
  "rgb": {
    "r": 57,
    "g": 24,
    "b": 133
  },
  "hsl": {
    "h": 258.165,
    "s": 69.427,
    "l": 30.784
  },
  "oklch": {
    "l": 0.33747,
    "c": 0.16495,
    "h": 287.7
  },
  "luminance": 0.03217
}

Semantic roles & 50–950 ramp

primary
#391885
secondary
#94B940
accent
#EC3CB7
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #391885

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

Preview Lab → · Contrast checker → · Palette generator →

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