#391138#391138

#391138 is a dark, moderate purple. Relative luminance 0.016; OKLCH L 26.1% C 0.085 H 328.7°. Best body text is #FFFFFF at 16.02:1 contrast (WCAG AA passes).

Color values

HEX#391138
RGBrgb(57, 17, 56)
HSLhsl(302, 54%, 15%)
HSVhsv(302, 70%, 22%)
CMYKcmyk(0%, 70.2%, 1.8%, 77.6%)
CIE-LABlab(12.96, 25.85, -16.01)
CIE-LCHlch(12.96, 30.40, 328.22°)
OKLaboklab(26.06% 0.0725 -0.0441)
OKLCHoklch(26.06% 0.085 328.7)
XYZxyz(2.6016, 1.5565, 3.9040)
Luminance0.0156 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391138 #113912
analogous
#261139 #391138 #391124
triadic
#391138 #383911 #113839
tetradic
#391138 #392611 #113912 #112439
square
#391138 #392611 #113912 #112439
split-complementary
#391138 #243911 #113926
monochromatic
#180717 #180717 #391138 #681F66 #972D95

Accessibility & contrast

On white

16.02
#391138 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#391138 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391138
16.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391138#FFFFFF#000000##FFFFFF
##3911381.0016.021.3116.02
#FFFFFF16.021.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D1E39
Deuteranopia (green-blind)
#1B2337
Tritanopia (blue-blind)
#3B1622
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #391138;
/* rgb */ color: rgb(57, 17, 56);
/* oklch */ color: oklch(26.1% 0.085 328.7);
Tailwind
colors: {
  custom: {
    50: '#71526e',
    500: '#391138',
    950: '#000000',
  },
}
SCSS
$custom: #391138;
$custom-light: #71526e;
$custom-dark: #000000;
JSON
{
  "hex": "#391138",
  "rgb": {
    "r": 57,
    "g": 17,
    "b": 56
  },
  "hsl": {
    "h": 301.5,
    "s": 54.054,
    "l": 14.51
  },
  "oklch": {
    "l": 0.26061,
    "c": 0.08483,
    "h": 328.7
  },
  "luminance": 0.01556
}

Semantic roles & 50–950 ramp

primary
#391138
secondary
#347235
accent
#DD4E4A
background
#F6F4F6
surface
#ECE7EC
border
#C7C3C7
text
#080207
muted
#7B787A

Preview Lab

Preview with #391138

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

Preview Lab → · Contrast checker → · Palette generator →

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