#391042#391042

#391042 is a dark, moderate purple. Relative luminance 0.016; OKLCH L 26.6% C 0.097 H 319.9°. Best body text is #FFFFFF at 15.83:1 contrast (WCAG AA passes).

Color values

HEX#391042
RGBrgb(57, 16, 66)
HSLhsl(289, 61%, 16%)
HSVhsv(289, 76%, 26%)
CMYKcmyk(13.6%, 75.8%, 0%, 74.1%)
CIE-LABlab(13.44, 28.57, -22.36)
CIE-LCHlch(13.44, 36.28, 321.95°)
OKLaboklab(26.62% 0.0743 -0.0625)
OKLCHoklch(26.62% 0.097 319.9)
XYZxyz(2.8559, 1.6339, 5.3181)
Luminance0.0163 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391042 #194210
analogous
#201042 #391042 #421032
triadic
#391042 #423910 #104239
tetradic
#391042 #422010 #194210 #103242
square
#391042 #422010 #194210 #103242
split-complementary
#391042 #324210 #104220
monochromatic
#150619 #150619 #391042 #641C73 #8E28A5

Accessibility & contrast

On white

15.83
#391042 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#391042 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391042
15.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391042#FFFFFF#000000##FFFFFF
##3910421.0015.831.3315.83
#FFFFFF15.831.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#022043
Deuteranopia (green-blind)
#142441
Tritanopia (blue-blind)
#391927
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #391042;
/* rgb */ color: rgb(57, 16, 66);
/* oklch */ color: oklch(26.6% 0.097 319.9);
Tailwind
colors: {
  custom: {
    50: '#715277',
    500: '#391042',
    950: '#000000',
  },
}
SCSS
$custom: #391042;
$custom-light: #715277;
$custom-dark: #000000;
JSON
{
  "hex": "#391042",
  "rgb": {
    "r": 57,
    "g": 16,
    "b": 66
  },
  "hsl": {
    "h": 289.2,
    "s": 60.976,
    "l": 16.078
  },
  "oklch": {
    "l": 0.26615,
    "c": 0.09708,
    "h": 319.9
  },
  "luminance": 0.01634
}

Semantic roles & 50–950 ramp

primary
#391042
secondary
#3F7C32
accent
#E44461
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#080208
muted
#7B787B

Preview Lab

Preview with #391042

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

Preview Lab → · Contrast checker → · Palette generator →

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