#391343#391343

#391343 is a dark, moderate purple. Relative luminance 0.017; OKLCH L 27.1% C 0.093 H 318.7°. Best body text is #FFFFFF at 15.58:1 contrast (WCAG AA passes).

Color values

HEX#391343
RGBrgb(57, 19, 67)
HSLhsl(288, 56%, 17%)
HSVhsv(288, 72%, 26%)
CMYKcmyk(14.9%, 71.6%, 0%, 73.7%)
CIE-LABlab(14.06, 27.24, -22.05)
CIE-LCHlch(14.06, 35.05, 321.01°)
OKLaboklab(27.09% 0.0701 -0.0617)
OKLCHoklch(27.09% 0.093 318.7)
XYZxyz(2.9332, 1.7410, 5.4906)
Luminance0.0174 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391343 #1D4313
analogous
#211343 #391343 #431335
triadic
#391343 #433913 #134339
tetradic
#391343 #432113 #1D4313 #133543
square
#391343 #432113 #1D4313 #133543
split-complementary
#391343 #354313 #134321
monochromatic
#140718 #140718 #391343 #622173 #8A2EA2

Accessibility & contrast

On white

15.58
#391343 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #391343
15.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391343#FFFFFF#000000##FFFFFF
##3913431.0015.581.3515.58
#FFFFFF15.581.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#052144
Deuteranopia (green-blind)
#162542
Tritanopia (blue-blind)
#391B29
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #391343;
/* rgb */ color: rgb(57, 19, 67);
/* oklch */ color: oklch(27.1% 0.093 318.7);
Tailwind
colors: {
  custom: {
    50: '#715477',
    500: '#391343',
    950: '#000000',
  },
}
SCSS
$custom: #391343;
$custom-light: #715477;
$custom-dark: #000000;
JSON
{
  "hex": "#391343",
  "rgb": {
    "r": 57,
    "g": 19,
    "b": 67
  },
  "hsl": {
    "h": 287.5,
    "s": 55.814,
    "l": 16.863
  },
  "oklch": {
    "l": 0.27092,
    "c": 0.09337,
    "h": 318.7
  },
  "luminance": 0.01741
}

Semantic roles & 50–950 ramp

primary
#391343
secondary
#457C36
accent
#DF4968
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#080308
muted
#7B787B

Preview Lab

Preview with #391343

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

Preview Lab → · Contrast checker → · Palette generator →

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