#390542#390542

#390542 is a dark, moderate purple. Relative luminance 0.014; OKLCH L 25.4% C 0.112 H 321.1°. Best body text is #FFFFFF at 16.48:1 contrast (WCAG AA passes).

Color values

HEX#390542
RGBrgb(57, 5, 66)
HSLhsl(291, 86%, 14%)
HSVhsv(291, 92%, 26%)
CMYKcmyk(13.6%, 92.4%, 0%, 74.1%)
CIE-LABlab(11.77, 33.33, -25.03)
CIE-LCHlch(11.77, 41.68, 323.10°)
OKLaboklab(25.43% 0.0869 -0.0703)
OKLCHoklch(25.43% 0.112 321.1)
XYZxyz(2.7249, 1.3719, 5.2745)
Luminance0.0137 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#390542 #0E4205
analogous
#1B0542 #390542 #42052D
triadic
#390542 #423905 #054239
tetradic
#390542 #421B05 #0E4205 #052D42
square
#390542 #421B05 #0E4205 #052D42
split-complementary
#390542 #2D4205 #05421B
monochromatic
#19021C #19021C #390542 #6A097B #9B0EB4

Accessibility & contrast

On white

16.48
#390542 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#390542 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #390542
16.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##390542#FFFFFF#000000##FFFFFF
##3905421.0016.481.2716.48
#FFFFFF16.481.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C44
Deuteranopia (green-blind)
#0D2141
Tritanopia (blue-blind)
#391224
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #390542;
/* rgb */ color: rgb(57, 5, 66);
/* oklch */ color: oklch(25.4% 0.112 321.1);
Tailwind
colors: {
  custom: {
    50: '#724d77',
    500: '#390542',
    950: '#000000',
  },
}
SCSS
$custom: #390542;
$custom-light: #724d77;
$custom-dark: #000000;
JSON
{
  "hex": "#390542",
  "rgb": {
    "r": 57,
    "g": 5,
    "b": 66
  },
  "hsl": {
    "h": 291.148,
    "s": 85.915,
    "l": 13.922
  },
  "oklch": {
    "l": 0.25431,
    "c": 0.11177,
    "h": 321.1
  },
  "luminance": 0.01372
}

Semantic roles & 50–950 ramp

primary
#390542
secondary
#2F8220
accent
#FC2C4A
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#080208
muted
#7B787B

Preview Lab

Preview with #390542

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

Preview Lab → · Contrast checker → · Palette generator →

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