#390D51#390D51

#390D51 is a dark, moderate violet. Relative luminance 0.018; OKLCH L 27.5% C 0.117 H 310.1°. Best body text is #FFFFFF at 15.55:1 contrast (WCAG AA passes).

Color values

HEX#390D51
RGBrgb(57, 13, 81)
HSLhsl(279, 72%, 18%)
HSVhsv(279, 84%, 32%)
CMYKcmyk(29.6%, 84%, 0%, 68.2%)
CIE-LABlab(14.13, 33.52, -31.64)
CIE-LCHlch(14.13, 46.09, 316.66°)
OKLaboklab(27.48% 0.0757 -0.0897)
OKLCHoklch(27.48% 0.117 310.1)
XYZxyz(3.3162, 1.7519, 7.9464)
Luminance0.0175 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#390D51 #25510D
analogous
#170D51 #390D51 #510D47
triadic
#390D51 #51390D #0D5139
tetradic
#390D51 #51170D #25510D #0D4751
square
#390D51 #51170D #25510D #0D4751
split-complementary
#390D51 #47510D #0D5117
monochromatic
#13041A #14051C #390D51 #5E1586 #831EBA

Accessibility & contrast

On white

15.55
#390D51 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #390D51
15.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##390D51#FFFFFF#000000##FFFFFF
##390D511.0015.551.3515.55
#FFFFFF15.551.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.551.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #390d51;
/* rgb */ color: rgb(57, 13, 81);
/* oklch */ color: oklch(27.5% 0.117 310.1);
Tailwind
colors: {
  custom: {
    50: '#735182',
    500: '#390d51',
    950: '#000000',
  },
}
SCSS
$custom: #390d51;
$custom-light: #735182;
$custom-dark: #000000;
JSON
{
  "hex": "#390d51",
  "rgb": {
    "r": 57,
    "g": 13,
    "b": 81
  },
  "hsl": {
    "h": 278.824,
    "s": 72.34,
    "l": 18.431
  },
  "oklch": {
    "l": 0.27481,
    "c": 0.11738,
    "h": 310.1
  },
  "luminance": 0.01752
}

Semantic roles & 50–950 ramp

primary
#390D51
secondary
#4F8C2E
accent
#EF3979
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#08020A
muted
#7B787C

Preview Lab

Preview with #390D51

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

Preview Lab → · Contrast checker → · Palette generator →

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