#390E51#390E51

#390E51 is a dark, moderate violet. Relative luminance 0.018; OKLCH L 27.6% C 0.116 H 310.0°. Best body text is #FFFFFF at 15.49:1 contrast (WCAG AA passes).

Color values

HEX#390E51
RGBrgb(57, 14, 81)
HSLhsl(279, 71%, 19%)
HSVhsv(279, 83%, 32%)
CMYKcmyk(29.6%, 82.7%, 0%, 68.2%)
CIE-LABlab(14.28, 33.09, -31.39)
CIE-LCHlch(14.28, 45.62, 316.51°)
OKLaboklab(27.59% 0.0747 -0.089)
OKLCHoklch(27.59% 0.116 310)
XYZxyz(3.3293, 1.7781, 7.9508)
Luminance0.0178 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#390E51 #26510E
analogous
#170E51 #390E51 #510E47
triadic
#390E51 #51390E #0E5139
tetradic
#390E51 #51170E #26510E #0E4751
square
#390E51 #51170E #26510E #0E4751
split-complementary
#390E51 #47510E #0E5117
monochromatic
#12051A #14051D #390E51 #5E1785 #8220B9

Accessibility & contrast

On white

15.49
#390E51 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#390E51 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #390E51
15.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##390E51#FFFFFF#000000##FFFFFF
##390E511.0015.491.3615.49
#FFFFFF15.491.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.491.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #390e51;
/* rgb */ color: rgb(57, 14, 81);
/* oklch */ color: oklch(27.6% 0.116 310.0);
Tailwind
colors: {
  custom: {
    50: '#735282',
    500: '#390e51',
    950: '#000000',
  },
}
SCSS
$custom: #390e51;
$custom-light: #735282;
$custom-dark: #000000;
JSON
{
  "hex": "#390e51",
  "rgb": {
    "r": 57,
    "g": 14,
    "b": 81
  },
  "hsl": {
    "h": 278.507,
    "s": 70.526,
    "l": 18.627
  },
  "oklch": {
    "l": 0.27587,
    "c": 0.11618,
    "h": 310
  },
  "luminance": 0.01778
}

Semantic roles & 50–950 ramp

primary
#390E51
secondary
#508C2F
accent
#ED3A7B
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#08020A
muted
#7B787C

Preview Lab

Preview with #390E51

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

Preview Lab → · Contrast checker → · Palette generator →

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