#390547#390547

#390547 is a dark, moderate purple. Relative luminance 0.014; OKLCH L 25.8% C 0.116 H 317.5°. Best body text is #FFFFFF at 16.32:1 contrast (WCAG AA passes).

Color values

HEX#390547
RGBrgb(57, 5, 71)
HSLhsl(287, 87%, 15%)
HSVhsv(287, 93%, 28%)
CMYKcmyk(19.7%, 93%, 0%, 72.2%)
CIE-LABlab(12.18, 34.40, -27.88)
CIE-LCHlch(12.18, 44.28, 320.97°)
OKLaboklab(25.85% 0.0859 -0.0786)
OKLCHoklch(25.85% 0.116 317.5)
XYZxyz(2.8788, 1.4335, 6.0851)
Luminance0.0143 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#390547 #134705
analogous
#180547 #390547 #470534
triadic
#390547 #473905 #054739
tetradic
#390547 #471805 #134705 #053447
square
#390547 #471805 #134705 #053447
split-complementary
#390547 #344705 #054718
monochromatic
#17021D #17021D #390547 #670980 #950DB9

Accessibility & contrast

On white

16.32
#390547 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#390547 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #390547
16.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##390547#FFFFFF#000000##FFFFFF
##3905471.0016.321.2916.32
#FFFFFF16.321.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D49
Deuteranopia (green-blind)
#062146
Tritanopia (blue-blind)
#381527
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #390547;
/* rgb */ color: rgb(57, 5, 71);
/* oklch */ color: oklch(25.8% 0.116 317.5);
Tailwind
colors: {
  custom: {
    50: '#724d7b',
    500: '#390547',
    950: '#000000',
  },
}
SCSS
$custom: #390547;
$custom-light: #724d7b;
$custom-dark: #000000;
JSON
{
  "hex": "#390547",
  "rgb": {
    "r": 57,
    "g": 5,
    "b": 71
  },
  "hsl": {
    "h": 287.273,
    "s": 86.842,
    "l": 14.902
  },
  "oklch": {
    "l": 0.25848,
    "c": 0.11644,
    "h": 317.5
  },
  "luminance": 0.01433
}

Semantic roles & 50–950 ramp

primary
#390547
secondary
#378721
accent
#FD2B57
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#080209
muted
#7B787B

Preview Lab

Preview with #390547

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

Preview Lab → · Contrast checker → · Palette generator →

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