#390947#390947

#390947 is a dark, moderate purple. Relative luminance 0.015; OKLCH L 26.2% C 0.112 H 317.1°. Best body text is #FFFFFF at 16.10:1 contrast (WCAG AA passes).

Color values

HEX#390947
RGBrgb(57, 9, 71)
HSLhsl(286, 78%, 16%)
HSVhsv(286, 87%, 28%)
CMYKcmyk(19.7%, 87.3%, 0%, 72.2%)
CIE-LABlab(12.74, 32.77, -26.98)
CIE-LCHlch(12.74, 42.45, 320.54°)
OKLaboklab(26.24% 0.0817 -0.076)
OKLCHoklch(26.24% 0.112 317.1)
XYZxyz(2.9222, 1.5203, 6.0995)
Luminance0.0152 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#390947 #174709
analogous
#1A0947 #390947 #470936
triadic
#390947 #473909 #094739
tetradic
#390947 #471A09 #174709 #093647
square
#390947 #471A09 #174709 #093647
split-complementary
#390947 #364709 #09471A
monochromatic
#16031B #16031B #390947 #65107D #9017B4

Accessibility & contrast

On white

16.10
#390947 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#390947 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #390947
16.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##390947#FFFFFF#000000##FFFFFF
##3909471.0016.101.3016.10
#FFFFFF16.101.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E49
Deuteranopia (green-blind)
#0A2246
Tritanopia (blue-blind)
#381728
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #390947;
/* rgb */ color: rgb(57, 9, 71);
/* oklch */ color: oklch(26.2% 0.112 317.1);
Tailwind
colors: {
  custom: {
    50: '#724f7b',
    500: '#390947',
    950: '#000000',
  },
}
SCSS
$custom: #390947;
$custom-light: #724f7b;
$custom-dark: #000000;
JSON
{
  "hex": "#390947",
  "rgb": {
    "r": 57,
    "g": 9,
    "b": 71
  },
  "hsl": {
    "h": 286.452,
    "s": 77.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.26239,
    "c": 0.11161,
    "h": 317.1
  },
  "luminance": 0.0152
}

Semantic roles & 50–950 ramp

primary
#390947
secondary
#3C8427
accent
#F4345F
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#080209
muted
#7B787B

Preview Lab

Preview with #390947

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

Preview Lab → · Contrast checker → · Palette generator →

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