#390F52#390F52

#390F52 is a dark, moderate violet. Relative luminance 0.018; OKLCH L 27.8% C 0.116 H 309.2°. Best body text is #FFFFFF at 15.39:1 contrast (WCAG AA passes).

Color values

HEX#390F52
RGBrgb(57, 15, 82)
HSLhsl(278, 69%, 19%)
HSVhsv(278, 82%, 32%)
CMYKcmyk(30.5%, 81.7%, 0%, 67.8%)
CIE-LABlab(14.52, 32.90, -31.69)
CIE-LCHlch(14.52, 45.67, 316.07°)
OKLaboklab(27.78% 0.0734 -0.0899)
OKLCHoklch(27.78% 0.116 309.2)
XYZxyz(3.3808, 1.8208, 8.1543)
Luminance0.0182 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#390F52 #28520F
analogous
#180F52 #390F52 #520F4A
triadic
#390F52 #52390F #0F5239
tetradic
#390F52 #52180F #28520F #0F4A52
square
#390F52 #52180F #28520F #0F4A52
split-complementary
#390F52 #4A520F #0F5218
monochromatic
#12051A #15061E #390F52 #5D1886 #8122B9

Accessibility & contrast

On white

15.39
#390F52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #390F52
15.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##390F52#FFFFFF#000000##FFFFFF
##390F521.0015.391.3615.39
#FFFFFF15.391.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002354
Deuteranopia (green-blind)
#002551
Tritanopia (blue-blind)
#351F30
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #390f52;
/* rgb */ color: rgb(57, 15, 82);
/* oklch */ color: oklch(27.8% 0.116 309.2);
Tailwind
colors: {
  custom: {
    50: '#735283',
    500: '#390f52',
    950: '#000000',
  },
}
SCSS
$custom: #390f52;
$custom-light: #735283;
$custom-dark: #000000;
JSON
{
  "hex": "#390f52",
  "rgb": {
    "r": 57,
    "g": 15,
    "b": 82
  },
  "hsl": {
    "h": 277.612,
    "s": 69.072,
    "l": 19.02
  },
  "oklch": {
    "l": 0.27783,
    "c": 0.11604,
    "h": 309.2
  },
  "luminance": 0.01821
}

Semantic roles & 50–950 ramp

primary
#390F52
secondary
#538C31
accent
#EC3C7E
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#08020B
muted
#7B787C

Preview Lab

Preview with #390F52

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

Preview Lab → · Contrast checker → · Palette generator →

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