#391748#391748

#391748 is a dark, moderate purple. Relative luminance 0.020; OKLCH L 28.0% C 0.092 H 314.1°. Best body text is #FFFFFF at 15.11:1 contrast (WCAG AA passes).

Color values

HEX#391748
RGBrgb(57, 23, 72)
HSLhsl(282, 52%, 19%)
HSVhsv(282, 68%, 28%)
CMYKcmyk(20.8%, 68.1%, 0%, 71.8%)
CIE-LABlab(15.23, 26.24, -23.68)
CIE-LCHlch(15.23, 35.34, 317.93°)
OKLaboklab(28.05% 0.0643 -0.0664)
OKLCHoklch(28.05% 0.092 314.1)
XYZxyz(3.1632, 1.9506, 6.3395)
Luminance0.0195 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391748 #264817
analogous
#201748 #391748 #48173E
triadic
#391748 #483917 #174839
tetradic
#391748 #482017 #264817 #173E48
square
#391748 #482017 #264817 #173E48
split-complementary
#391748 #3E4817 #174820
monochromatic
#120717 #14081A #391748 #5E2676 #8235A5

Accessibility & contrast

On white

15.11
#391748 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#391748 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391748
15.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391748#FFFFFF#000000##FFFFFF
##3917481.0015.111.3915.11
#FFFFFF15.111.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#07244A
Deuteranopia (green-blind)
#152747
Tritanopia (blue-blind)
#38202D
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #391748;
/* rgb */ color: rgb(57, 23, 72);
/* oklch */ color: oklch(28.0% 0.092 314.1);
Tailwind
colors: {
  custom: {
    50: '#71567b',
    500: '#391748',
    950: '#000000',
  },
}
SCSS
$custom: #391748;
$custom-light: #71567b;
$custom-dark: #000000;
JSON
{
  "hex": "#391748",
  "rgb": {
    "r": 57,
    "g": 23,
    "b": 72
  },
  "hsl": {
    "h": 281.633,
    "s": 51.579,
    "l": 18.627
  },
  "oklch": {
    "l": 0.28045,
    "c": 0.09247,
    "h": 314.1
  },
  "luminance": 0.01951
}

Semantic roles & 50–950 ramp

primary
#391748
secondary
#507F3C
accent
#DB4D78
background
#F7F5F7
surface
#EDE9EE
border
#C8C5C9
text
#080309
muted
#7B787B

Preview Lab

Preview with #391748

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

Preview Lab → · Contrast checker → · Palette generator →

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