#390C4D#390C4D

#390C4D is a dark, moderate purple. Relative luminance 0.017; OKLCH L 27.0% C 0.114 H 312.7°. Best body text is #FFFFFF at 15.74:1 contrast (WCAG AA passes).

Color values

HEX#390C4D
RGBrgb(57, 12, 77)
HSLhsl(282, 73%, 17%)
HSVhsv(282, 84%, 30%)
CMYKcmyk(26%, 84.4%, 0%, 69.8%)
CIE-LABlab(13.64, 32.97, -29.68)
CIE-LCHlch(13.64, 44.36, 318.01°)
OKLaboklab(27.03% 0.0776 -0.0839)
OKLCHoklch(27.03% 0.114 312.7)
XYZxyz(3.1581, 1.6687, 7.1755)
Luminance0.0167 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#390C4D #204D0C
analogous
#180C4D #390C4D #4D0C41
triadic
#390C4D #4D390C #0C4D39
tetradic
#390C4D #4D180C #204D0C #0C414D
square
#390C4D #4D180C #204D0C #0C414D
split-complementary
#390C4D #414D0C #0C4D18
monochromatic
#14041A #14041A #390C4D #601482 #871DB7

Accessibility & contrast

On white

15.74
#390C4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#390C4D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #390C4D
15.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##390C4D#FFFFFF#000000##FFFFFF
##390C4D1.0015.741.3315.74
#FFFFFF15.741.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00214F
Deuteranopia (green-blind)
#04244C
Tritanopia (blue-blind)
#371B2C
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #390c4d;
/* rgb */ color: rgb(57, 12, 77);
/* oklch */ color: oklch(27.0% 0.114 312.7);
Tailwind
colors: {
  custom: {
    50: '#72517f',
    500: '#390c4d',
    950: '#000000',
  },
}
SCSS
$custom: #390c4d;
$custom-light: #72517f;
$custom-dark: #000000;
JSON
{
  "hex": "#390c4d",
  "rgb": {
    "r": 57,
    "g": 12,
    "b": 77
  },
  "hsl": {
    "h": 281.538,
    "s": 73.034,
    "l": 17.451
  },
  "oklch": {
    "l": 0.27034,
    "c": 0.1143,
    "h": 312.7
  },
  "luminance": 0.01669
}

Semantic roles & 50–950 ramp

primary
#390C4D
secondary
#49892C
accent
#F03871
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#08020A
muted
#7B787C

Preview Lab

Preview with #390C4D

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

Preview Lab → · Contrast checker → · Palette generator →

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