#391140#391140

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

Color values

HEX#391140
RGBrgb(57, 17, 64)
HSLhsl(291, 58%, 16%)
HSVhsv(291, 73%, 25%)
CMYKcmyk(10.9%, 73.4%, 0%, 74.9%)
CIE-LABlab(13.48, 27.60, -20.88)
CIE-LCHlch(13.48, 34.61, 322.89°)
OKLaboklab(26.6% 0.0729 -0.0582)
OKLCHoklch(26.6% 0.093 321.4)
XYZxyz(2.8131, 1.6411, 5.0181)
Luminance0.0164 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391140 #184011
analogous
#211140 #391140 #40112F
triadic
#391140 #403911 #114039
tetradic
#391140 #402111 #184011 #112F40
square
#391140 #402111 #184011 #112F40
split-complementary
#391140 #2F4011 #114021
monochromatic
#160618 #160618 #391140 #641E70 #8F2BA1

Accessibility & contrast

On white

15.81
#391140 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #391140
15.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391140#FFFFFF#000000##FFFFFF
##3911401.0015.811.3315.81
#FFFFFF15.811.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#052041
Deuteranopia (green-blind)
#16243F
Tritanopia (blue-blind)
#3A1926
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #391140;
/* rgb */ color: rgb(57, 17, 64);
/* oklch */ color: oklch(26.6% 0.093 321.4);
Tailwind
colors: {
  custom: {
    50: '#715275',
    500: '#391140',
    950: '#000000',
  },
}
SCSS
$custom: #391140;
$custom-light: #715275;
$custom-dark: #000000;
JSON
{
  "hex": "#391140",
  "rgb": {
    "r": 57,
    "g": 17,
    "b": 64
  },
  "hsl": {
    "h": 291.064,
    "s": 58.025,
    "l": 15.882
  },
  "oklch": {
    "l": 0.26601,
    "c": 0.09332,
    "h": 321.4
  },
  "luminance": 0.01641
}

Semantic roles & 50–950 ramp

primary
#391140
secondary
#3E7933
accent
#E1475E
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#080208
muted
#7B787B

Preview Lab

Preview with #391140

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

Preview Lab → · Contrast checker → · Palette generator →

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