#392572#392572

#392572 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 33.7% C 0.126 H 289.9°. Best body text is #FFFFFF at 12.49:1 contrast (WCAG AA passes).

Color values

HEX#392572
RGBrgb(57, 37, 114)
HSLhsl(256, 51%, 30%)
HSVhsv(256, 68%, 45%)
CMYKcmyk(50%, 67.5%, 0%, 55.3%)
CIE-LABlab(21.61, 29.94, -41.33)
CIE-LCHlch(21.61, 51.04, 305.92°)
OKLaboklab(33.71% 0.0428 -0.1183)
OKLCHoklch(33.71% 0.126 289.9)
XYZxyz(5.3853, 3.4077, 16.2903)
Luminance0.0341 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392572 #5E7225
analogous
#253872 #392572 #5F2572
triadic
#392572 #723925 #257239
tetradic
#392572 #722538 #5E7225 #25725F
square
#392572 #722538 #5E7225 #25725F
split-complementary
#392572 #725F25 #387225
monochromatic
#0C0717 #221644 #392572 #5034A0 #6C4CC5

Accessibility & contrast

On white

12.49
#392572 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#392572 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #392572
12.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392572#FFFFFF#000000##FFFFFF
##3925721.0012.491.6812.49
#FFFFFF12.491.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003574
Deuteranopia (green-blind)
#003270
Tritanopia (blue-blind)
#273748
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #392572;
/* rgb */ color: rgb(57, 37, 114);
/* oklch */ color: oklch(33.7% 0.126 289.9);
Tailwind
colors: {
  custom: {
    50: '#75619b',
    500: '#392572',
    950: '#000000',
  },
}
SCSS
$custom: #392572;
$custom-light: #75619b;
$custom-dark: #000000;
JSON
{
  "hex": "#392572",
  "rgb": {
    "r": 57,
    "g": 37,
    "b": 114
  },
  "hsl": {
    "h": 255.584,
    "s": 50.993,
    "l": 29.608
  },
  "oklch": {
    "l": 0.33705,
    "c": 0.12585,
    "h": 289.9
  },
  "luminance": 0.03408
}

Semantic roles & 50–950 ramp

primary
#392572
secondary
#8EA54E
accent
#DA4DB6
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09050E
muted
#7B797E

Preview Lab

Preview with #392572

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

Preview Lab → · Contrast checker → · Palette generator →

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