#390F5B#390F5B

#390F5B is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.6% C 0.126 H 304.4°. Best body text is #FFFFFF at 15.07:1 contrast (WCAG AA passes).

Color values

HEX#390F5B
RGBrgb(57, 15, 91)
HSLhsl(273, 72%, 21%)
HSVhsv(273, 84%, 36%)
CMYKcmyk(37.4%, 83.5%, 0%, 64.3%)
CIE-LABlab(15.31, 35.19, -36.48)
CIE-LCHlch(15.31, 50.69, 313.97°)
OKLaboklab(28.59% 0.0711 -0.104)
OKLCHoklch(28.59% 0.126 304.4)
XYZxyz(3.7461, 1.9668, 10.0778)
Luminance0.0197 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#390F5B #315B0F
analogous
#130F5B #390F5B #5B0F57
triadic
#390F5B #5B390F #0F5B39
tetradic
#390F5B #5B130F #315B0F #0F575B
square
#390F5B #5B130F #315B0F #0F575B
split-complementary
#390F5B #575B0F #0F5B13
monochromatic
#10041A #180626 #390F5B #5A1890 #7B20C4

Accessibility & contrast

On white

15.07
#390F5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#390F5B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #390F5B
15.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##390F5B#FFFFFF#000000##FFFFFF
##390F5B1.0015.071.3915.07
#FFFFFF15.071.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00255D
Deuteranopia (green-blind)
#00265A
Tritanopia (blue-blind)
#322335
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #390f5b;
/* rgb */ color: rgb(57, 15, 91);
/* oklch */ color: oklch(28.6% 0.126 304.4);
Tailwind
colors: {
  custom: {
    50: '#74538a',
    500: '#390f5b',
    950: '#000000',
  },
}
SCSS
$custom: #390f5b;
$custom-light: #74538a;
$custom-dark: #000000;
JSON
{
  "hex": "#390f5b",
  "rgb": {
    "r": 57,
    "g": 15,
    "b": 91
  },
  "hsl": {
    "h": 273.158,
    "s": 71.698,
    "l": 20.784
  },
  "oklch": {
    "l": 0.2859,
    "c": 0.12598,
    "h": 304.4
  },
  "luminance": 0.01967
}

Semantic roles & 50–950 ramp

primary
#390F5B
secondary
#5E9531
accent
#EE398A
background
#F7F4F8
surface
#EDE7F0
border
#C8C3CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #390F5B

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

Preview Lab → · Contrast checker → · Palette generator →

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