#390F54#390F54

#390F54 is a dark, moderate violet. Relative luminance 0.019; OKLCH L 28.0% C 0.118 H 308.1°. Best body text is #FFFFFF at 15.32:1 contrast (WCAG AA passes).

Color values

HEX#390F54
RGBrgb(57, 15, 84)
HSLhsl(277, 70%, 19%)
HSVhsv(277, 82%, 33%)
CMYKcmyk(32.1%, 82.1%, 0%, 67.1%)
CIE-LABlab(14.69, 33.40, -32.77)
CIE-LCHlch(14.69, 46.79, 315.55°)
OKLaboklab(27.96% 0.073 -0.0931)
OKLCHoklch(27.96% 0.118 308.1)
XYZxyz(3.4581, 1.8517, 8.5610)
Luminance0.0185 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#390F54 #2A540F
analogous
#170F54 #390F54 #540F4D
triadic
#390F54 #54390F #0F5439
tetradic
#390F54 #54170F #2A540F #0F4D54
square
#390F54 #54170F #2A540F #0F4D54
split-complementary
#390F54 #4D540F #0F5417
monochromatic
#12051A #160620 #390F54 #5C1888 #7F22BC

Accessibility & contrast

On white

15.32
#390F54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#390F54 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #390F54
15.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##390F54#FFFFFF#000000##FFFFFF
##390F541.0015.321.3715.32
#FFFFFF15.321.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002456
Deuteranopia (green-blind)
#002553
Tritanopia (blue-blind)
#352031
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #390f54;
/* rgb */ color: rgb(57, 15, 84);
/* oklch */ color: oklch(28.0% 0.118 308.1);
Tailwind
colors: {
  custom: {
    50: '#735285',
    500: '#390f54',
    950: '#000000',
  },
}
SCSS
$custom: #390f54;
$custom-light: #735285;
$custom-dark: #000000;
JSON
{
  "hex": "#390f54",
  "rgb": {
    "r": 57,
    "g": 15,
    "b": 84
  },
  "hsl": {
    "h": 276.522,
    "s": 69.697,
    "l": 19.412
  },
  "oklch": {
    "l": 0.27958,
    "c": 0.11824,
    "h": 308.1
  },
  "luminance": 0.01852
}

Semantic roles & 50–950 ramp

primary
#390F54
secondary
#558E31
accent
#ED3B81
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#08020B
muted
#7B787C

Preview Lab

Preview with #390F54

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

Preview Lab → · Contrast checker → · Palette generator →

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