#391148#391148

#391148 is a dark, moderate purple. Relative luminance 0.017; OKLCH L 27.2% C 0.102 H 315.3°. Best body text is #FFFFFF at 15.58:1 contrast (WCAG AA passes).

Color values

HEX#391148
RGBrgb(57, 17, 72)
HSLhsl(284, 62%, 17%)
HSVhsv(284, 76%, 28%)
CMYKcmyk(20.8%, 76.4%, 0%, 71.8%)
CIE-LABlab(14.05, 29.48, -25.56)
CIE-LCHlch(14.05, 39.02, 319.08°)
OKLaboklab(27.2% 0.0726 -0.0719)
OKLCHoklch(27.2% 0.102 315.3)
XYZxyz(3.0573, 1.7387, 6.3042)
Luminance0.0174 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391148 #204811
analogous
#1D1148 #391148 #48113C
triadic
#391148 #483911 #114839
tetradic
#391148 #481D11 #204811 #113C48
square
#391148 #481D11 #204811 #113C48
split-complementary
#391148 #3C4811 #11481D
monochromatic
#140619 #140619 #391148 #601D7A #8728AB

Accessibility & contrast

On white

15.58
#391148 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#391148 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391148
15.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391148#FFFFFF#000000##FFFFFF
##3911481.0015.581.3515.58
#FFFFFF15.581.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00214A
Deuteranopia (green-blind)
#102547
Tritanopia (blue-blind)
#381C2B
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #391148;
/* rgb */ color: rgb(57, 17, 72);
/* oklch */ color: oklch(27.2% 0.102 315.3);
Tailwind
colors: {
  custom: {
    50: '#72537b',
    500: '#391148',
    950: '#000000',
  },
}
SCSS
$custom: #391148;
$custom-light: #72537b;
$custom-dark: #000000;
JSON
{
  "hex": "#391148",
  "rgb": {
    "r": 57,
    "g": 17,
    "b": 72
  },
  "hsl": {
    "h": 283.636,
    "s": 61.798,
    "l": 17.451
  },
  "oklch": {
    "l": 0.27198,
    "c": 0.10217,
    "h": 315.3
  },
  "luminance": 0.01739
}

Semantic roles & 50–950 ramp

primary
#391148
secondary
#498233
accent
#E5436F
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#080209
muted
#7B787B

Preview Lab

Preview with #391148

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

Preview Lab → · Contrast checker → · Palette generator →

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