#391340#391340

#391340 is a dark, moderate purple. Relative luminance 0.017; OKLCH L 26.9% C 0.090 H 321.1°. Best body text is #FFFFFF at 15.66:1 contrast (WCAG AA passes).

Color values

HEX#391340
RGBrgb(57, 19, 64)
HSLhsl(291, 54%, 16%)
HSVhsv(291, 70%, 25%)
CMYKcmyk(10.9%, 70.3%, 0%, 74.9%)
CIE-LABlab(13.86, 26.54, -20.27)
CIE-LCHlch(13.86, 33.40, 322.63°)
OKLaboklab(26.88% 0.0701 -0.0565)
OKLCHoklch(26.88% 0.09 321.1)
XYZxyz(2.8455, 1.7059, 5.0289)
Luminance0.0171 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391340 #1A4013
analogous
#231340 #391340 #401331
triadic
#391340 #403913 #134039
tetradic
#391340 #402313 #1A4013 #133140
square
#391340 #402313 #1A4013 #133140
split-complementary
#391340 #314013 #134023
monochromatic
#150718 #150718 #391340 #63216F #8D2F9E

Accessibility & contrast

On white

15.66
#391340 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#391340 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391340
15.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391340#FFFFFF#000000##FFFFFF
##3913401.0015.661.3415.66
#FFFFFF15.661.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#092141
Deuteranopia (green-blind)
#18253F
Tritanopia (blue-blind)
#3A1A27
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #391340;
/* rgb */ color: rgb(57, 19, 64);
/* oklch */ color: oklch(26.9% 0.090 321.1);
Tailwind
colors: {
  custom: {
    50: '#715475',
    500: '#391340',
    950: '#000000',
  },
}
SCSS
$custom: #391340;
$custom-light: #715475;
$custom-dark: #000000;
JSON
{
  "hex": "#391340",
  "rgb": {
    "r": 57,
    "g": 19,
    "b": 64
  },
  "hsl": {
    "h": 290.667,
    "s": 54.217,
    "l": 16.275
  },
  "oklch": {
    "l": 0.26879,
    "c": 0.08999,
    "h": 321.1
  },
  "luminance": 0.01706
}

Semantic roles & 50–950 ramp

primary
#391340
secondary
#417936
accent
#DE4A61
background
#F6F4F7
surface
#ECE7ED
border
#C7C3C8
text
#080308
muted
#7B787B

Preview Lab

Preview with #391340

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

Preview Lab → · Contrast checker → · Palette generator →

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