#392973#392973

#392973 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 34.5% C 0.121 H 288.3°. Best body text is #FFFFFF at 12.08:1 contrast (WCAG AA passes).

Color values

HEX#392973
RGBrgb(57, 41, 115)
HSLhsl(253, 47%, 31%)
HSVhsv(253, 64%, 45%)
CMYKcmyk(50.4%, 64.3%, 0%, 54.9%)
CIE-LABlab(22.63, 27.75, -40.31)
CIE-LCHlch(22.63, 48.94, 304.54°)
OKLaboklab(34.47% 0.0381 -0.1153)
OKLCHoklch(34.47% 0.121 288.3)
XYZxyz(5.5739, 3.6933, 16.6355)
Luminance0.0369 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392973 #637329
analogous
#293E73 #392973 #5E2973
triadic
#392973 #733929 #297339
tetradic
#392973 #73293E #637329 #29735E
square
#392973 #73293E #637329 #29735E
split-complementary
#392973 #735E29 #3E7329
monochromatic
#0C0919 #231946 #392973 #4F39A0 #6C54C2

Accessibility & contrast

On white

12.08
#392973 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#392973 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #392973
12.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392973#FFFFFF#000000##FFFFFF
##3929731.0012.081.7412.08
#FFFFFF12.081.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003875
Deuteranopia (green-blind)
#003471
Tritanopia (blue-blind)
#263A4A
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #392973;
/* rgb */ color: rgb(57, 41, 115);
/* oklch */ color: oklch(34.5% 0.121 288.3);
Tailwind
colors: {
  custom: {
    50: '#75639c',
    500: '#392973',
    950: '#000000',
  },
}
SCSS
$custom: #392973;
$custom-light: #75639c;
$custom-dark: #000000;
JSON
{
  "hex": "#392973",
  "rgb": {
    "r": 57,
    "g": 41,
    "b": 115
  },
  "hsl": {
    "h": 252.973,
    "s": 47.436,
    "l": 30.588
  },
  "oklch": {
    "l": 0.34474,
    "c": 0.12147,
    "h": 288.3
  },
  "luminance": 0.03694
}

Semantic roles & 50–950 ramp

primary
#392973
secondary
#93A553
accent
#D751BA
background
#F7F5F9
surface
#EDEAF2
border
#C8C6CC
text
#09050E
muted
#7B797E

Preview Lab

Preview with #392973

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

Preview Lab → · Contrast checker → · Palette generator →

#392973 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva