#390E56#390E56

#390E56 is a dark, vivid violet. Relative luminance 0.019; OKLCH L 28.0% C 0.122 H 307.2°. Best body text is #FFFFFF at 15.32:1 contrast (WCAG AA passes).

Color values

HEX#390E56
RGBrgb(57, 14, 86)
HSLhsl(276, 72%, 20%)
HSVhsv(276, 84%, 34%)
CMYKcmyk(33.7%, 83.7%, 0%, 66.3%)
CIE-LABlab(14.71, 34.34, -34.09)
CIE-LCHlch(14.71, 48.39, 315.21°)
OKLaboklab(28.03% 0.0735 -0.0969)
OKLCHoklch(28.03% 0.122 307.2)
XYZxyz(3.5237, 1.8559, 8.9749)
Luminance0.0186 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#390E56 #2B560E
analogous
#150E56 #390E56 #560E4F
triadic
#390E56 #56390E #0E5639
tetradic
#390E56 #56150E #2B560E #0E4F56
square
#390E56 #56150E #2B560E #0E4F56
split-complementary
#390E56 #4F560E #0E5615
monochromatic
#11041A #160521 #390E56 #5C178B #7F1FBF

Accessibility & contrast

On white

15.32
#390E56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #390E56
15.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##390E56#FFFFFF#000000##FFFFFF
##390E561.0015.321.3715.32
#FFFFFF15.321.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.321.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #390e56;
/* rgb */ color: rgb(57, 14, 86);
/* oklch */ color: oklch(28.0% 0.122 307.2);
Tailwind
colors: {
  custom: {
    50: '#735286',
    500: '#390e56',
    950: '#000000',
  },
}
SCSS
$custom: #390e56;
$custom-light: #735286;
$custom-dark: #000000;
JSON
{
  "hex": "#390e56",
  "rgb": {
    "r": 57,
    "g": 14,
    "b": 86
  },
  "hsl": {
    "h": 275.833,
    "s": 72,
    "l": 19.608
  },
  "oklch": {
    "l": 0.28029,
    "c": 0.12162,
    "h": 307.2
  },
  "luminance": 0.01856
}

Semantic roles & 50–950 ramp

primary
#390E56
secondary
#579030
accent
#EF3982
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#08020B
muted
#7B787C

Preview Lab

Preview with #390E56

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

Preview Lab → · Contrast checker → · Palette generator →

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