#390D52#390D52

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

Color values

HEX#390D52
RGBrgb(57, 13, 82)
HSLhsl(278, 73%, 19%)
HSVhsv(278, 84%, 32%)
CMYKcmyk(30.5%, 84.1%, 0%, 67.8%)
CIE-LABlab(14.21, 33.77, -32.18)
CIE-LCHlch(14.21, 46.65, 316.38°)
OKLaboklab(27.57% 0.0754 -0.0913)
OKLCHoklch(27.57% 0.118 309.6)
XYZxyz(3.3540, 1.7670, 8.1454)
Luminance0.0177 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#390D52 #26520D
analogous
#160D52 #390D52 #520D48
triadic
#390D52 #52390D #0D5239
tetradic
#390D52 #52160D #26520D #0D4852
square
#390D52 #52160D #26520D #0D4852
split-complementary
#390D52 #48520D #0D5216
monochromatic
#12041A #14051D #390D52 #5E1587 #821EBC

Accessibility & contrast

On white

15.52
#390D52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#390D52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #390D52
15.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##390D52#FFFFFF#000000##FFFFFF
##390D521.0015.521.3515.52
#FFFFFF15.521.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002254
Deuteranopia (green-blind)
#002551
Tritanopia (blue-blind)
#351E2F
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #390d52;
/* rgb */ color: rgb(57, 13, 82);
/* oklch */ color: oklch(27.6% 0.118 309.6);
Tailwind
colors: {
  custom: {
    50: '#735183',
    500: '#390d52',
    950: '#000000',
  },
}
SCSS
$custom: #390d52;
$custom-light: #735183;
$custom-dark: #000000;
JSON
{
  "hex": "#390d52",
  "rgb": {
    "r": 57,
    "g": 13,
    "b": 82
  },
  "hsl": {
    "h": 278.261,
    "s": 72.632,
    "l": 18.627
  },
  "oklch": {
    "l": 0.27569,
    "c": 0.11844,
    "h": 309.6
  },
  "luminance": 0.01767
}

Semantic roles & 50–950 ramp

primary
#390D52
secondary
#508D2E
accent
#EF387B
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#08020B
muted
#7B787C

Preview Lab

Preview with #390D52

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

Preview Lab → · Contrast checker → · Palette generator →

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