#390540#390540

#390540 is a dark, moderate purple. Relative luminance 0.013; OKLCH L 25.3% C 0.110 H 322.6°. Best body text is #FFFFFF at 16.54:1 contrast (WCAG AA passes).

Color values

HEX#390540
RGBrgb(57, 5, 64)
HSLhsl(293, 86%, 14%)
HSVhsv(293, 92%, 25%)
CMYKcmyk(10.9%, 92.2%, 0%, 74.9%)
CIE-LABlab(11.61, 32.92, -23.87)
CIE-LCHlch(11.61, 40.66, 324.06°)
OKLaboklab(25.27% 0.0873 -0.0668)
OKLCHoklch(25.27% 0.11 322.6)
XYZxyz(2.6669, 1.3487, 4.9694)
Luminance0.0135 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#390540 #0C4005
analogous
#1B0540 #390540 #400529
triadic
#390540 #403905 #054039
tetradic
#390540 #401B05 #0C4005 #052940
square
#390540 #401B05 #0C4005 #052940
split-complementary
#390540 #294005 #05401B
monochromatic
#19021C #19021C #390540 #6C0979 #9E0EB2

Accessibility & contrast

On white

16.54
#390540 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #390540
16.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##390540#FFFFFF#000000##FFFFFF
##3905401.0016.541.2716.54
#FFFFFF16.541.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B42
Deuteranopia (green-blind)
#0F213F
Tritanopia (blue-blind)
#3A1123
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #390540;
/* rgb */ color: rgb(57, 5, 64);
/* oklch */ color: oklch(25.3% 0.110 322.6);
Tailwind
colors: {
  custom: {
    50: '#724d75',
    500: '#390540',
    950: '#000000',
  },
}
SCSS
$custom: #390540;
$custom-light: #724d75;
$custom-dark: #000000;
JSON
{
  "hex": "#390540",
  "rgb": {
    "r": 57,
    "g": 5,
    "b": 64
  },
  "hsl": {
    "h": 292.881,
    "s": 85.507,
    "l": 13.529
  },
  "oklch": {
    "l": 0.25271,
    "c": 0.10993,
    "h": 322.6
  },
  "luminance": 0.01349
}

Semantic roles & 50–950 ramp

primary
#390540
secondary
#2C8120
accent
#FC2C45
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#080208
muted
#7B787B

Preview Lab

Preview with #390540

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

Preview Lab → · Contrast checker → · Palette generator →

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