#390D42#390D42

#390D42 is a dark, moderate purple. Relative luminance 0.016; OKLCH L 26.3% C 0.101 H 320.3°. Best body text is #FFFFFF at 16.03:1 contrast (WCAG AA passes).

Color values

HEX#390D42
RGBrgb(57, 13, 66)
HSLhsl(290, 67%, 15%)
HSVhsv(290, 80%, 26%)
CMYKcmyk(13.6%, 80.3%, 0%, 74.1%)
CIE-LABlab(12.93, 29.99, -23.17)
CIE-LCHlch(12.93, 37.90, 322.32°)
OKLaboklab(26.25% 0.0781 -0.0649)
OKLCHoklch(26.25% 0.101 320.3)
XYZxyz(2.8145, 1.5512, 5.3044)
Luminance0.0155 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#390D42 #16420D
analogous
#1E0D42 #390D42 #420D30
triadic
#390D42 #42390D #0D4239
tetradic
#390D42 #421E0D #16420D #0D3042
square
#390D42 #421E0D #16420D #0D3042
split-complementary
#390D42 #30420D #0D421E
monochromatic
#16051A #16051A #390D42 #651775 #9121A8

Accessibility & contrast

On white

16.03
#390D42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#390D42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #390D42
16.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##390D42#FFFFFF#000000##FFFFFF
##390D421.0016.031.3116.03
#FFFFFF16.031.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E43
Deuteranopia (green-blind)
#122341
Tritanopia (blue-blind)
#391726
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #390d42;
/* rgb */ color: rgb(57, 13, 66);
/* oklch */ color: oklch(26.3% 0.101 320.3);
Tailwind
colors: {
  custom: {
    50: '#725177',
    500: '#390d42',
    950: '#000000',
  },
}
SCSS
$custom: #390d42;
$custom-light: #725177;
$custom-dark: #000000;
JSON
{
  "hex": "#390d42",
  "rgb": {
    "r": 57,
    "g": 13,
    "b": 66
  },
  "hsl": {
    "h": 289.811,
    "s": 67.089,
    "l": 15.49
  },
  "oklch": {
    "l": 0.26253,
    "c": 0.10148,
    "h": 320.3
  },
  "luminance": 0.01551
}

Semantic roles & 50–950 ramp

primary
#390D42
secondary
#3B7E2D
accent
#EA3E5B
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#080208
muted
#7B787B

Preview Lab

Preview with #390D42

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

Preview Lab → · Contrast checker → · Palette generator →

#390D42 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva