#391142#391142

#391142 is a dark, moderate purple. Relative luminance 0.017; OKLCH L 26.7% C 0.096 H 319.8°. Best body text is #FFFFFF at 15.76:1 contrast (WCAG AA passes).

Color values

HEX#391142
RGBrgb(57, 17, 66)
HSLhsl(289, 59%, 16%)
HSVhsv(289, 74%, 26%)
CMYKcmyk(13.6%, 74.2%, 0%, 74.1%)
CIE-LABlab(13.62, 28.06, -22.07)
CIE-LCHlch(13.62, 35.70, 321.82°)
OKLaboklab(26.75% 0.0729 -0.0617)
OKLCHoklch(26.75% 0.096 319.8)
XYZxyz(2.8710, 1.6642, 5.3232)
Luminance0.0166 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391142 #1A4211
analogous
#211142 #391142 #421133
triadic
#391142 #423911 #114239
tetradic
#391142 #422111 #1A4211 #113342
square
#391142 #422111 #1A4211 #113342
split-complementary
#391142 #334211 #114221
monochromatic
#150618 #150618 #391142 #631E73 #8D2AA3

Accessibility & contrast

On white

15.76
#391142 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #391142
15.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391142#FFFFFF#000000##FFFFFF
##3911421.0015.761.3315.76
#FFFFFF15.761.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#032043
Deuteranopia (green-blind)
#152441
Tritanopia (blue-blind)
#391A27
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #391142;
/* rgb */ color: rgb(57, 17, 66);
/* oklch */ color: oklch(26.7% 0.096 319.8);
Tailwind
colors: {
  custom: {
    50: '#715376',
    500: '#391142',
    950: '#000000',
  },
}
SCSS
$custom: #391142;
$custom-light: #715376;
$custom-dark: #000000;
JSON
{
  "hex": "#391142",
  "rgb": {
    "r": 57,
    "g": 17,
    "b": 66
  },
  "hsl": {
    "h": 288.98,
    "s": 59.036,
    "l": 16.275
  },
  "oklch": {
    "l": 0.26746,
    "c": 0.09551,
    "h": 319.8
  },
  "luminance": 0.01664
}

Semantic roles & 50–950 ramp

primary
#391142
secondary
#417C33
accent
#E24662
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#080208
muted
#7B787B

Preview Lab

Preview with #391142

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

Preview Lab → · Contrast checker → · Palette generator →

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