#392573#392573

#392573 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 33.8% C 0.127 H 289.6°. Best body text is #FFFFFF at 12.45:1 contrast (WCAG AA passes).

Color values

HEX#392573
RGBrgb(57, 37, 115)
HSLhsl(255, 51%, 30%)
HSVhsv(255, 68%, 45%)
CMYKcmyk(50.4%, 67.8%, 0%, 54.9%)
CIE-LABlab(21.69, 30.25, -41.84)
CIE-LCHlch(21.69, 51.63, 305.87°)
OKLaboklab(33.79% 0.0427 -0.1198)
OKLCHoklch(33.79% 0.127 289.6)
XYZxyz(5.4425, 3.4306, 16.5917)
Luminance0.0343 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392573 #5F7325
analogous
#253873 #392573 #602573
triadic
#392573 #733925 #257339
tetradic
#392573 #732538 #5F7325 #257360
square
#392573 #732538 #5F7325 #257360
split-complementary
#392573 #736025 #387325
monochromatic
#0B0717 #221645 #392573 #5034A1 #6C4DC6

Accessibility & contrast

On white

12.45
#392573 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#392573 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #392573
12.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392573#FFFFFF#000000##FFFFFF
##3925731.0012.451.6912.45
#FFFFFF12.451.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003575
Deuteranopia (green-blind)
#003271
Tritanopia (blue-blind)
#263848
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #392573;
/* rgb */ color: rgb(57, 37, 115);
/* oklch */ color: oklch(33.8% 0.127 289.6);
Tailwind
colors: {
  custom: {
    50: '#75619c',
    500: '#392573',
    950: '#000000',
  },
}
SCSS
$custom: #392573;
$custom-light: #75619c;
$custom-dark: #000000;
JSON
{
  "hex": "#392573",
  "rgb": {
    "r": 57,
    "g": 37,
    "b": 115
  },
  "hsl": {
    "h": 255.385,
    "s": 51.316,
    "l": 29.804
  },
  "oklch": {
    "l": 0.33792,
    "c": 0.12721,
    "h": 289.6
  },
  "luminance": 0.03431
}

Semantic roles & 50–950 ramp

primary
#392573
secondary
#8FA64E
accent
#DB4DB6
background
#F7F5F9
surface
#EDEAF2
border
#C8C6CC
text
#09050E
muted
#7B797E

Preview Lab

Preview with #392573

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

Preview Lab → · Contrast checker → · Palette generator →

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