#390B51#390B51

#390B51 is a dark, moderate violet. Relative luminance 0.017; OKLCH L 27.3% C 0.120 H 310.4°. Best body text is #FFFFFF at 15.66:1 contrast (WCAG AA passes).

Color values

HEX#390B51
RGBrgb(57, 11, 81)
HSLhsl(279, 76%, 18%)
HSVhsv(279, 86%, 32%)
CMYKcmyk(29.6%, 86.4%, 0%, 68.2%)
CIE-LABlab(13.85, 34.33, -32.09)
CIE-LCHlch(13.85, 47.00, 316.93°)
OKLaboklab(27.28% 0.0776 -0.091)
OKLCHoklch(27.28% 0.12 310.4)
XYZxyz(3.2919, 1.7034, 7.9384)
Luminance0.0170 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#390B51 #23510B
analogous
#160B51 #390B51 #510B46
triadic
#390B51 #51390B #0B5139
tetradic
#390B51 #51160B #23510B #0B4651
square
#390B51 #51160B #23510B #0B4651
split-complementary
#390B51 #46510B #0B5116
monochromatic
#13041B #13041B #390B51 #5F1287 #851ABD

Accessibility & contrast

On white

15.66
#390B51 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #390B51
15.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##390B51#FFFFFF#000000##FFFFFF
##390B511.0015.661.3415.66
#FFFFFF15.661.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002153
Deuteranopia (green-blind)
#002450
Tritanopia (blue-blind)
#361D2E
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #390b51;
/* rgb */ color: rgb(57, 11, 81);
/* oklch */ color: oklch(27.3% 0.120 310.4);
Tailwind
colors: {
  custom: {
    50: '#735182',
    500: '#390b51',
    950: '#000000',
  },
}
SCSS
$custom: #390b51;
$custom-light: #735182;
$custom-dark: #000000;
JSON
{
  "hex": "#390b51",
  "rgb": {
    "r": 57,
    "g": 11,
    "b": 81
  },
  "hsl": {
    "h": 279.429,
    "s": 76.087,
    "l": 18.039
  },
  "oklch": {
    "l": 0.27284,
    "c": 0.11962,
    "h": 310.4
  },
  "luminance": 0.01703
}

Semantic roles & 50–950 ramp

primary
#390B51
secondary
#4D8D2B
accent
#F33576
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#08020A
muted
#7B787C

Preview Lab

Preview with #390B51

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

Preview Lab → · Contrast checker → · Palette generator →

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