#390F5C#390F5C

#390F5C is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.7% C 0.127 H 303.9°. Best body text is #FFFFFF at 15.03:1 contrast (WCAG AA passes).

Color values

HEX#390F5C
RGBrgb(57, 15, 92)
HSLhsl(273, 72%, 21%)
HSVhsv(273, 84%, 36%)
CMYKcmyk(38%, 83.7%, 0%, 63.9%)
CIE-LABlab(15.40, 35.45, -37.00)
CIE-LCHlch(15.40, 51.24, 313.77°)
OKLaboklab(28.68% 0.0709 -0.1055)
OKLCHoklch(28.68% 0.127 303.9)
XYZxyz(3.7895, 1.9842, 10.3065)
Luminance0.0198 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#390F5C #325C0F
analogous
#120F5C #390F5C #5C0F58
triadic
#390F5C #5C390F #0F5C39
tetradic
#390F5C #5C120F #325C0F #0F585C
square
#390F5C #5C120F #325C0F #0F585C
split-complementary
#390F5C #585C0F #0F5C12
monochromatic
#10041A #180627 #390F5C #5A1891 #7A20C5

Accessibility & contrast

On white

15.03
#390F5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#390F5C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #390F5C
15.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##390F5C#FFFFFF#000000##FFFFFF
##390F5C1.0015.031.4015.03
#FFFFFF15.031.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00265E
Deuteranopia (green-blind)
#00265A
Tritanopia (blue-blind)
#322335
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #390f5c;
/* rgb */ color: rgb(57, 15, 92);
/* oklch */ color: oklch(28.7% 0.127 303.9);
Tailwind
colors: {
  custom: {
    50: '#74538b',
    500: '#390f5c',
    950: '#000000',
  },
}
SCSS
$custom: #390f5c;
$custom-light: #74538b;
$custom-dark: #000000;
JSON
{
  "hex": "#390f5c",
  "rgb": {
    "r": 57,
    "g": 15,
    "b": 92
  },
  "hsl": {
    "h": 272.727,
    "s": 71.963,
    "l": 20.98
  },
  "oklch": {
    "l": 0.28683,
    "c": 0.12708,
    "h": 303.9
  },
  "luminance": 0.01984
}

Semantic roles & 50–950 ramp

primary
#390F5C
secondary
#5F9531
accent
#EF398C
background
#F7F4F8
surface
#EDE7F0
border
#C8C3CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #390F5C

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

Preview Lab → · Contrast checker → · Palette generator →

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