#390B52#390B52

#390B52 is a dark, vivid violet. Relative luminance 0.017; OKLCH L 27.4% C 0.121 H 309.9°. Best body text is #FFFFFF at 15.63:1 contrast (WCAG AA passes).

Color values

HEX#390B52
RGBrgb(57, 11, 82)
HSLhsl(279, 76%, 18%)
HSVhsv(279, 87%, 32%)
CMYKcmyk(30.5%, 86.6%, 0%, 67.8%)
CIE-LABlab(13.93, 34.57, -32.63)
CIE-LCHlch(13.93, 47.54, 316.66°)
OKLaboklab(27.37% 0.0773 -0.0926)
OKLCHoklch(27.37% 0.121 309.9)
XYZxyz(3.3297, 1.7185, 8.1373)
Luminance0.0172 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#390B52 #24520B
analogous
#150B52 #390B52 #520B47
triadic
#390B52 #52390B #0B5239
tetradic
#390B52 #52150B #24520B #0B4752
square
#390B52 #52150B #24520B #0B4752
split-complementary
#390B52 #47520B #0B5215
monochromatic
#13041B #13041C #390B52 #5F1288 #8419BE

Accessibility & contrast

On white

15.63
#390B52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#390B52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #390B52
15.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##390B52#FFFFFF#000000##FFFFFF
##390B521.0015.631.3415.63
#FFFFFF15.631.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002254
Deuteranopia (green-blind)
#002451
Tritanopia (blue-blind)
#351D2F
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #390b52;
/* rgb */ color: rgb(57, 11, 82);
/* oklch */ color: oklch(27.4% 0.121 309.9);
Tailwind
colors: {
  custom: {
    50: '#735183',
    500: '#390b52',
    950: '#000000',
  },
}
SCSS
$custom: #390b52;
$custom-light: #735183;
$custom-dark: #000000;
JSON
{
  "hex": "#390b52",
  "rgb": {
    "r": 57,
    "g": 11,
    "b": 82
  },
  "hsl": {
    "h": 278.873,
    "s": 76.344,
    "l": 18.235
  },
  "oklch": {
    "l": 0.27373,
    "c": 0.12067,
    "h": 309.9
  },
  "luminance": 0.01718
}

Semantic roles & 50–950 ramp

primary
#390B52
secondary
#4E8E2B
accent
#F33578
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#08020B
muted
#7B787C

Preview Lab

Preview with #390B52

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

Preview Lab → · Contrast checker → · Palette generator →

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