#392873#392873

#392873 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.3% C 0.123 H 288.6°. Best body text is #FFFFFF at 12.17:1 contrast (WCAG AA passes).

Color values

HEX#392873
RGBrgb(57, 40, 115)
HSLhsl(254, 48%, 30%)
HSVhsv(254, 65%, 45%)
CMYKcmyk(50.4%, 65.2%, 0%, 54.9%)
CIE-LABlab(22.39, 28.38, -40.70)
CIE-LCHlch(22.39, 49.62, 304.89°)
OKLaboklab(34.3% 0.0393 -0.1165)
OKLCHoklch(34.3% 0.123 288.6)
XYZxyz(5.5398, 3.6250, 16.6241)
Luminance0.0362 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392873 #627328
analogous
#283C73 #392873 #5E2873
triadic
#392873 #733928 #287339
tetradic
#392873 #73283C #627328 #28735E
square
#392873 #73283C #627328 #28735E
split-complementary
#392873 #735E28 #3C7328
monochromatic
#0C0818 #221846 #392873 #5038A0 #6C52C3

Accessibility & contrast

On white

12.17
#392873 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#392873 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #392873
12.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392873#FFFFFF#000000##FFFFFF
##3928731.0012.171.7312.17
#FFFFFF12.171.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.171.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #392873;
/* rgb */ color: rgb(57, 40, 115);
/* oklch */ color: oklch(34.3% 0.123 288.6);
Tailwind
colors: {
  custom: {
    50: '#75639c',
    500: '#392873',
    950: '#000000',
  },
}
SCSS
$custom: #392873;
$custom-light: #75639c;
$custom-dark: #000000;
JSON
{
  "hex": "#392873",
  "rgb": {
    "r": 57,
    "g": 40,
    "b": 115
  },
  "hsl": {
    "h": 253.6,
    "s": 48.387,
    "l": 30.392
  },
  "oklch": {
    "l": 0.343,
    "c": 0.12293,
    "h": 288.6
  },
  "luminance": 0.03625
}

Semantic roles & 50–950 ramp

primary
#392873
secondary
#92A552
accent
#D850B9
background
#F7F5F9
surface
#EDEAF2
border
#C8C6CC
text
#09050E
muted
#7B797E

Preview Lab

Preview with #392873

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

Preview Lab → · Contrast checker → · Palette generator →

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