#390C54#390C54

#390C54 is a dark, vivid violet. Relative luminance 0.018; OKLCH L 27.6% C 0.122 H 308.6°. Best body text is #FFFFFF at 15.50:1 contrast (WCAG AA passes).

Color values

HEX#390C54
RGBrgb(57, 12, 84)
HSLhsl(278, 75%, 19%)
HSVhsv(278, 86%, 33%)
CMYKcmyk(32.1%, 85.7%, 0%, 67.1%)
CIE-LABlab(14.25, 34.67, -33.49)
CIE-LCHlch(14.25, 48.20, 316.00°)
OKLaboklab(27.65% 0.0759 -0.0951)
OKLCHoklch(27.65% 0.122 308.6)
XYZxyz(3.4187, 1.7730, 8.5479)
Luminance0.0177 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#390C54 #27540C
analogous
#150C54 #390C54 #540C4B
triadic
#390C54 #54390C #0C5439
tetradic
#390C54 #54150C #27540C #0C4B54
square
#390C54 #54150C #27540C #0C4B54
split-complementary
#390C54 #4B540C #0C5415
monochromatic
#12041B #15041E #390C54 #5D148A #821BBF

Accessibility & contrast

On white

15.50
#390C54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #390C54
15.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##390C54#FFFFFF#000000##FFFFFF
##390C541.0015.501.3515.50
#FFFFFF15.501.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002256
Deuteranopia (green-blind)
#002553
Tritanopia (blue-blind)
#351E30
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #390c54;
/* rgb */ color: rgb(57, 12, 84);
/* oklch */ color: oklch(27.6% 0.122 308.6);
Tailwind
colors: {
  custom: {
    50: '#735185',
    500: '#390c54',
    950: '#000000',
  },
}
SCSS
$custom: #390c54;
$custom-light: #735185;
$custom-dark: #000000;
JSON
{
  "hex": "#390c54",
  "rgb": {
    "r": 57,
    "g": 12,
    "b": 84
  },
  "hsl": {
    "h": 277.5,
    "s": 75,
    "l": 18.824
  },
  "oklch": {
    "l": 0.27648,
    "c": 0.1217,
    "h": 308.6
  },
  "luminance": 0.01773
}

Semantic roles & 50–950 ramp

primary
#390C54
secondary
#528F2D
accent
#F2367C
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#08020B
muted
#7B787C

Preview Lab

Preview with #390C54

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

Preview Lab → · Contrast checker → · Palette generator →

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