#390C42#390C42

#390C42 is a dark, moderate purple. Relative luminance 0.015; OKLCH L 26.1% C 0.103 H 320.4°. Best body text is #FFFFFF at 16.09:1 contrast (WCAG AA passes).

Color values

HEX#390C42
RGBrgb(57, 12, 66)
HSLhsl(290, 69%, 15%)
HSVhsv(290, 82%, 26%)
CMYKcmyk(13.6%, 81.8%, 0%, 74.1%)
CIE-LABlab(12.77, 30.43, -23.41)
CIE-LCHlch(12.77, 38.40, 322.43°)
OKLaboklab(26.14% 0.0792 -0.0656)
OKLCHoklch(26.14% 0.103 320.4)
XYZxyz(2.8021, 1.5263, 5.3002)
Luminance0.0153 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#390C42 #15420C
analogous
#1E0C42 #390C42 #420C30
triadic
#390C42 #42390C #0C4239
tetradic
#390C42 #421E0C #15420C #0C3042
square
#390C42 #421E0C #15420C #0C3042
split-complementary
#390C42 #30420C #0C421E
monochromatic
#16051A #16051A #390C42 #661576 #921FAA

Accessibility & contrast

On white

16.09
#390C42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #390C42
16.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##390C42#FFFFFF#000000##FFFFFF
##390C421.0016.091.3116.09
#FFFFFF16.091.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E44
Deuteranopia (green-blind)
#112341
Tritanopia (blue-blind)
#391626
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #390c42;
/* rgb */ color: rgb(57, 12, 66);
/* oklch */ color: oklch(26.1% 0.103 320.4);
Tailwind
colors: {
  custom: {
    50: '#725077',
    500: '#390c42',
    950: '#000000',
  },
}
SCSS
$custom: #390c42;
$custom-light: #725077;
$custom-dark: #000000;
JSON
{
  "hex": "#390c42",
  "rgb": {
    "r": 57,
    "g": 12,
    "b": 66
  },
  "hsl": {
    "h": 290,
    "s": 69.231,
    "l": 15.294
  },
  "oklch": {
    "l": 0.26142,
    "c": 0.10285,
    "h": 320.4
  },
  "luminance": 0.01526
}

Semantic roles & 50–950 ramp

primary
#390C42
secondary
#397E2C
accent
#EC3C59
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#080208
muted
#7B787B

Preview Lab

Preview with #390C42

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

Preview Lab → · Contrast checker → · Palette generator →

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