#390C51#390C51

#390C51 is a dark, moderate violet. Relative luminance 0.017; OKLCH L 27.4% C 0.119 H 310.3°. Best body text is #FFFFFF at 15.61:1 contrast (WCAG AA passes).

Color values

HEX#390C51
RGBrgb(57, 12, 81)
HSLhsl(279, 74%, 18%)
HSVhsv(279, 85%, 32%)
CMYKcmyk(29.6%, 85.2%, 0%, 68.2%)
CIE-LABlab(13.98, 33.94, -31.87)
CIE-LCHlch(13.98, 46.55, 316.80°)
OKLaboklab(27.38% 0.0767 -0.0904)
OKLCHoklch(27.38% 0.119 310.3)
XYZxyz(3.3037, 1.7270, 7.9423)
Luminance0.0173 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#390C51 #24510C
analogous
#160C51 #390C51 #510C46
triadic
#390C51 #51390C #0C5139
tetradic
#390C51 #51160C #24510C #0C4651
square
#390C51 #51160C #24510C #0C4651
split-complementary
#390C51 #46510C #0C5116
monochromatic
#13041B #13041C #390C51 #5F1486 #841CBC

Accessibility & contrast

On white

15.61
#390C51 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#390C51 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #390C51
15.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##390C51#FFFFFF#000000##FFFFFF
##390C511.0015.611.3515.61
#FFFFFF15.611.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002253
Deuteranopia (green-blind)
#002450
Tritanopia (blue-blind)
#361D2E
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #390c51;
/* rgb */ color: rgb(57, 12, 81);
/* oklch */ color: oklch(27.4% 0.119 310.3);
Tailwind
colors: {
  custom: {
    50: '#735182',
    500: '#390c51',
    950: '#000000',
  },
}
SCSS
$custom: #390c51;
$custom-light: #735182;
$custom-dark: #000000;
JSON
{
  "hex": "#390c51",
  "rgb": {
    "r": 57,
    "g": 12,
    "b": 81
  },
  "hsl": {
    "h": 279.13,
    "s": 74.194,
    "l": 18.235
  },
  "oklch": {
    "l": 0.2738,
    "c": 0.11852,
    "h": 310.3
  },
  "luminance": 0.01727
}

Semantic roles & 50–950 ramp

primary
#390C51
secondary
#4E8C2C
accent
#F13778
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#08020A
muted
#7B787C

Preview Lab

Preview with #390C51

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

Preview Lab → · Contrast checker → · Palette generator →

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