#391342#391342

#391342 is a dark, moderate purple. Relative luminance 0.017; OKLCH L 27.0% C 0.092 H 319.5°. Best body text is #FFFFFF at 15.60:1 contrast (WCAG AA passes).

Color values

HEX#391342
RGBrgb(57, 19, 66)
HSLhsl(289, 55%, 17%)
HSVhsv(289, 71%, 26%)
CMYKcmyk(13.6%, 71.2%, 0%, 74.1%)
CIE-LABlab(14.00, 27.01, -21.46)
CIE-LCHlch(14.00, 34.50, 321.53°)
OKLaboklab(27.02% 0.0701 -0.0599)
OKLCHoklch(27.02% 0.092 319.5)
XYZxyz(2.9035, 1.7291, 5.3340)
Luminance0.0173 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391342 #1C4213
analogous
#221342 #391342 #421334
triadic
#391342 #423913 #134239
tetradic
#391342 #422213 #1C4213 #133442
square
#391342 #422213 #1C4213 #133442
split-complementary
#391342 #344213 #134222
monochromatic
#150718 #150718 #391342 #622172 #8B2EA1

Accessibility & contrast

On white

15.60
#391342 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#391342 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391342
15.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391342#FFFFFF#000000##FFFFFF
##3913421.0015.601.3515.60
#FFFFFF15.601.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#062143
Deuteranopia (green-blind)
#162541
Tritanopia (blue-blind)
#391B28
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #391342;
/* rgb */ color: rgb(57, 19, 66);
/* oklch */ color: oklch(27.0% 0.092 319.5);
Tailwind
colors: {
  custom: {
    50: '#715476',
    500: '#391342',
    950: '#000000',
  },
}
SCSS
$custom: #391342;
$custom-light: #715476;
$custom-dark: #000000;
JSON
{
  "hex": "#391342",
  "rgb": {
    "r": 57,
    "g": 19,
    "b": 66
  },
  "hsl": {
    "h": 288.511,
    "s": 55.294,
    "l": 16.667
  },
  "oklch": {
    "l": 0.2702,
    "c": 0.09224,
    "h": 319.5
  },
  "luminance": 0.01729
}

Semantic roles & 50–950 ramp

primary
#391342
secondary
#437B36
accent
#DF4966
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#080308
muted
#7B787B

Preview Lab

Preview with #391342

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

Preview Lab → · Contrast checker → · Palette generator →

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