#390847#390847

#390847 is a dark, moderate purple. Relative luminance 0.015; OKLCH L 26.1% C 0.113 H 317.2°. Best body text is #FFFFFF at 16.16:1 contrast (WCAG AA passes).

Color values

HEX#390847
RGBrgb(57, 8, 71)
HSLhsl(287, 80%, 15%)
HSVhsv(287, 89%, 28%)
CMYKcmyk(19.7%, 88.7%, 0%, 72.2%)
CIE-LABlab(12.60, 33.17, -27.20)
CIE-LCHlch(12.60, 42.90, 320.65°)
OKLaboklab(26.14% 0.0828 -0.0766)
OKLCHoklch(26.14% 0.113 317.2)
XYZxyz(2.9113, 1.4986, 6.0959)
Luminance0.0150 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#390847 #164708
analogous
#190847 #390847 #470835
triadic
#390847 #473908 #084739
tetradic
#390847 #471908 #164708 #083547
square
#390847 #471908 #164708 #083547
split-complementary
#390847 #354708 #084719
monochromatic
#16031C #16031C #390847 #650E7E #9114B5

Accessibility & contrast

On white

16.16
#390847 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #390847
16.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##390847#FFFFFF#000000##FFFFFF
##3908471.0016.161.3016.16
#FFFFFF16.161.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.161.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #390847;
/* rgb */ color: rgb(57, 8, 71);
/* oklch */ color: oklch(26.1% 0.113 317.2);
Tailwind
colors: {
  custom: {
    50: '#724f7b',
    500: '#390847',
    950: '#000000',
  },
}
SCSS
$custom: #390847;
$custom-light: #724f7b;
$custom-dark: #000000;
JSON
{
  "hex": "#390847",
  "rgb": {
    "r": 57,
    "g": 8,
    "b": 71
  },
  "hsl": {
    "h": 286.667,
    "s": 79.747,
    "l": 15.49
  },
  "oklch": {
    "l": 0.26142,
    "c": 0.1128,
    "h": 317.2
  },
  "luminance": 0.01498
}

Semantic roles & 50–950 ramp

primary
#390847
secondary
#3B8526
accent
#F6325D
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#080209
muted
#7B787B

Preview Lab

Preview with #390847

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

Preview Lab → · Contrast checker → · Palette generator →

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