#390B56#390B56

#390B56 is a dark, vivid violet. Relative luminance 0.018; OKLCH L 27.7% C 0.125 H 307.6°. Best body text is #FFFFFF at 15.48:1 contrast (WCAG AA passes).

Color values

HEX#390B56
RGBrgb(57, 11, 86)
HSLhsl(277, 77%, 19%)
HSVhsv(277, 87%, 34%)
CMYKcmyk(33.7%, 87.2%, 0%, 66.3%)
CIE-LABlab(14.29, 35.55, -34.77)
CIE-LCHlch(14.29, 49.73, 315.64°)
OKLaboklab(27.74% 0.0762 -0.0989)
OKLCHoklch(27.74% 0.125 307.6)
XYZxyz(3.4864, 1.7811, 8.9624)
Luminance0.0178 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#390B56 #28560B
analogous
#140B56 #390B56 #560B4E
triadic
#390B56 #56390B #0B5639
tetradic
#390B56 #56140B #28560B #0B4E56
square
#390B56 #56140B #28560B #0B4E56
split-complementary
#390B56 #4E560B #0B5614
monochromatic
#12031B #150420 #390B56 #5D128C #8119C3

Accessibility & contrast

On white

15.48
#390B56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #390B56
15.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##390B56#FFFFFF#000000##FFFFFF
##390B561.0015.481.3615.48
#FFFFFF15.481.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002358
Deuteranopia (green-blind)
#002555
Tritanopia (blue-blind)
#341F31
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #390b56;
/* rgb */ color: rgb(57, 11, 86);
/* oklch */ color: oklch(27.7% 0.125 307.6);
Tailwind
colors: {
  custom: {
    50: '#735186',
    500: '#390b56',
    950: '#000000',
  },
}
SCSS
$custom: #390b56;
$custom-light: #735186;
$custom-dark: #000000;
JSON
{
  "hex": "#390b56",
  "rgb": {
    "r": 57,
    "g": 11,
    "b": 86
  },
  "hsl": {
    "h": 276.8,
    "s": 77.32,
    "l": 19.02
  },
  "oklch": {
    "l": 0.27737,
    "c": 0.12486,
    "h": 307.6
  },
  "luminance": 0.01781
}

Semantic roles & 50–950 ramp

primary
#390B56
secondary
#53912B
accent
#F4347E
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#08020B
muted
#7B787C

Preview Lab

Preview with #390B56

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

Preview Lab → · Contrast checker → · Palette generator →

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