#390F51#390F51

#390F51 is a dark, moderate violet. Relative luminance 0.018; OKLCH L 27.7% C 0.115 H 309.8°. Best body text is #FFFFFF at 15.43:1 contrast (WCAG AA passes).

Color values

HEX#390F51
RGBrgb(57, 15, 81)
HSLhsl(278, 69%, 19%)
HSVhsv(278, 81%, 32%)
CMYKcmyk(29.6%, 81.5%, 0%, 68.2%)
CIE-LABlab(14.43, 32.65, -31.14)
CIE-LCHlch(14.43, 45.12, 316.35°)
OKLaboklab(27.7% 0.0736 -0.0883)
OKLCHoklch(27.7% 0.115 309.8)
XYZxyz(3.3431, 1.8057, 7.9554)
Luminance0.0181 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#390F51 #27510F
analogous
#180F51 #390F51 #510F48
triadic
#390F51 #51390F #0F5139
tetradic
#390F51 #51180F #27510F #0F4851
square
#390F51 #51180F #27510F #0F4851
split-complementary
#390F51 #48510F #0F5118
monochromatic
#12051A #15051D #390F51 #5D1985 #8222B8

Accessibility & contrast

On white

15.43
#390F51 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#390F51 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #390F51
15.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##390F51#FFFFFF#000000##FFFFFF
##390F511.0015.431.3615.43
#FFFFFF15.431.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002353
Deuteranopia (green-blind)
#012550
Tritanopia (blue-blind)
#361F2F
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #390f51;
/* rgb */ color: rgb(57, 15, 81);
/* oklch */ color: oklch(27.7% 0.115 309.8);
Tailwind
colors: {
  custom: {
    50: '#735282',
    500: '#390f51',
    950: '#000000',
  },
}
SCSS
$custom: #390f51;
$custom-light: #735282;
$custom-dark: #000000;
JSON
{
  "hex": "#390f51",
  "rgb": {
    "r": 57,
    "g": 15,
    "b": 81
  },
  "hsl": {
    "h": 278.182,
    "s": 68.75,
    "l": 18.824
  },
  "oklch": {
    "l": 0.27696,
    "c": 0.11494,
    "h": 309.8
  },
  "luminance": 0.01806
}

Semantic roles & 50–950 ramp

primary
#390F51
secondary
#528B31
accent
#EC3C7C
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#08020A
muted
#7B787C

Preview Lab

Preview with #390F51

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

Preview Lab → · Contrast checker → · Palette generator →

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