#391048#391048

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

Color values

HEX#391048
RGBrgb(57, 16, 72)
HSLhsl(284, 64%, 17%)
HSVhsv(284, 78%, 28%)
CMYKcmyk(20.8%, 77.8%, 0%, 71.8%)
CIE-LABlab(13.88, 29.98, -25.84)
CIE-LCHlch(13.88, 39.58, 319.24°)
OKLaboklab(27.07% 0.0739 -0.0727)
OKLCHoklch(27.07% 0.104 315.4)
XYZxyz(3.0421, 1.7084, 6.2991)
Luminance0.0171 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391048 #1F4810
analogous
#1D1048 #391048 #48103B
triadic
#391048 #483910 #104839
tetradic
#391048 #481D10 #1F4810 #103B48
square
#391048 #481D10 #1F4810 #103B48
split-complementary
#391048 #3B4810 #10481D
monochromatic
#140619 #140619 #391048 #611B7A #8826AC

Accessibility & contrast

On white

15.65
#391048 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #391048
15.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391048#FFFFFF#000000##FFFFFF
##3910481.0015.651.3415.65
#FFFFFF15.651.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00214A
Deuteranopia (green-blind)
#0F2447
Tritanopia (blue-blind)
#381B2A
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #391048;
/* rgb */ color: rgb(57, 16, 72);
/* oklch */ color: oklch(27.1% 0.104 315.4);
Tailwind
colors: {
  custom: {
    50: '#72527b',
    500: '#391048',
    950: '#000000',
  },
}
SCSS
$custom: #391048;
$custom-light: #72527b;
$custom-dark: #000000;
JSON
{
  "hex": "#391048",
  "rgb": {
    "r": 57,
    "g": 16,
    "b": 72
  },
  "hsl": {
    "h": 283.929,
    "s": 63.636,
    "l": 17.255
  },
  "oklch": {
    "l": 0.27072,
    "c": 0.10364,
    "h": 315.4
  },
  "luminance": 0.01708
}

Semantic roles & 50–950 ramp

primary
#391048
secondary
#478232
accent
#E7416D
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#080209
muted
#7B787B

Preview Lab

Preview with #391048

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

Preview Lab → · Contrast checker → · Palette generator →

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