#390D56#390D56

#390D56 is a dark, vivid violet. Relative luminance 0.018; OKLCH L 27.9% C 0.123 H 307.3°. Best body text is #FFFFFF at 15.37:1 contrast (WCAG AA passes).

Color values

HEX#390D56
RGBrgb(57, 13, 86)
HSLhsl(276, 74%, 19%)
HSVhsv(276, 85%, 34%)
CMYKcmyk(33.7%, 84.9%, 0%, 66.3%)
CIE-LABlab(14.57, 34.76, -34.33)
CIE-LCHlch(14.57, 48.85, 315.36°)
OKLaboklab(27.93% 0.0744 -0.0976)
OKLCHoklch(27.93% 0.123 307.3)
XYZxyz(3.5106, 1.8296, 8.9705)
Luminance0.0183 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#390D56 #2A560D
analogous
#140D56 #390D56 #560D4F
triadic
#390D56 #56390D #0D5639
tetradic
#390D56 #56140D #2A560D #0D4F56
square
#390D56 #56140D #2A560D #0D4F56
split-complementary
#390D56 #4F560D #0D5614
monochromatic
#12041B #160521 #390D56 #5C158B #7F1DC0

Accessibility & contrast

On white

15.37
#390D56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#390D56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #390D56
15.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##390D56#FFFFFF#000000##FFFFFF
##390D561.0015.371.3715.37
#FFFFFF15.371.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002358
Deuteranopia (green-blind)
#002555
Tritanopia (blue-blind)
#342031
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #390d56;
/* rgb */ color: rgb(57, 13, 86);
/* oklch */ color: oklch(27.9% 0.123 307.3);
Tailwind
colors: {
  custom: {
    50: '#735286',
    500: '#390d56',
    950: '#000000',
  },
}
SCSS
$custom: #390d56;
$custom-light: #735286;
$custom-dark: #000000;
JSON
{
  "hex": "#390d56",
  "rgb": {
    "r": 57,
    "g": 13,
    "b": 86
  },
  "hsl": {
    "h": 276.164,
    "s": 73.737,
    "l": 19.412
  },
  "oklch": {
    "l": 0.27927,
    "c": 0.12275,
    "h": 307.3
  },
  "luminance": 0.0183
}

Semantic roles & 50–950 ramp

primary
#390D56
secondary
#55912E
accent
#F03781
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#08020B
muted
#7B787C

Preview Lab

Preview with #390D56

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

Preview Lab → · Contrast checker → · Palette generator →

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