#391038#391038

#391038 is a dark, moderate purple. Relative luminance 0.015; OKLCH L 25.9% C 0.087 H 328.7°. Best body text is #FFFFFF at 16.09:1 contrast (WCAG AA passes).

Color values

HEX#391038
RGBrgb(57, 16, 56)
HSLhsl(301, 56%, 14%)
HSVhsv(301, 72%, 22%)
CMYKcmyk(0%, 71.9%, 1.8%, 77.6%)
CIE-LABlab(12.77, 26.37, -16.31)
CIE-LCHlch(12.77, 31.01, 328.26°)
OKLaboklab(25.92% 0.074 -0.045)
OKLCHoklch(25.92% 0.087 328.7)
XYZxyz(2.5864, 1.5261, 3.8990)
Luminance0.0153 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391038 #103911
analogous
#261039 #391038 #391024
triadic
#391038 #383910 #103839
tetradic
#391038 #392610 #103911 #102439
square
#391038 #392610 #103911 #102439
split-complementary
#391038 #243910 #103926
monochromatic
#180717 #180717 #391038 #691D67 #992B96

Accessibility & contrast

On white

16.09
#391038 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #391038
16.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391038#FFFFFF#000000##FFFFFF
##3910381.0016.091.3116.09
#FFFFFF16.091.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C1E39
Deuteranopia (green-blind)
#1A2337
Tritanopia (blue-blind)
#3B1522
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #391038;
/* rgb */ color: rgb(57, 16, 56);
/* oklch */ color: oklch(25.9% 0.087 328.7);
Tailwind
colors: {
  custom: {
    50: '#71526f',
    500: '#391038',
    950: '#000000',
  },
}
SCSS
$custom: #391038;
$custom-light: #71526f;
$custom-dark: #000000;
JSON
{
  "hex": "#391038",
  "rgb": {
    "r": 57,
    "g": 16,
    "b": 56
  },
  "hsl": {
    "h": 301.463,
    "s": 56.164,
    "l": 14.314
  },
  "oklch": {
    "l": 0.25923,
    "c": 0.08654,
    "h": 328.7
  },
  "luminance": 0.01526
}

Semantic roles & 50–950 ramp

primary
#391038
secondary
#327334
accent
#DF4C48
background
#F6F4F6
surface
#ECE7EC
border
#C7C3C7
text
#080207
muted
#7B787A

Preview Lab

Preview with #391038

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

Preview Lab → · Contrast checker → · Palette generator →

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