#392073#392073

#392073 is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.0% C 0.134 H 291.1°. Best body text is #FFFFFF at 12.90:1 contrast (WCAG AA passes).

Color values

HEX#392073
RGBrgb(57, 32, 115)
HSLhsl(258, 56%, 29%)
HSVhsv(258, 72%, 45%)
CMYKcmyk(50.4%, 72.2%, 0%, 54.9%)
CIE-LABlab(20.60, 33.24, -43.62)
CIE-LCHlch(20.60, 54.84, 307.31°)
OKLaboklab(33.01% 0.0481 -0.125)
OKLCHoklch(33.01% 0.134 291.1)
XYZxyz(5.2975, 3.1405, 16.5434)
Luminance0.0314 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392073 #5A7320
analogous
#203173 #392073 #632073
triadic
#392073 #733920 #207339
tetradic
#392073 #732031 #5A7320 #207363
square
#392073 #732031 #5A7320 #207363
split-complementary
#392073 #736320 #317320
monochromatic
#0C0718 #211343 #392073 #512DA3 #6C43CB

Accessibility & contrast

On white

12.90
#392073 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#392073 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #392073
12.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392073#FFFFFF#000000##FFFFFF
##3920731.0012.901.6312.90
#FFFFFF12.901.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003375
Deuteranopia (green-blind)
#003071
Tritanopia (blue-blind)
#263547
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #392073;
/* rgb */ color: rgb(57, 32, 115);
/* oklch */ color: oklch(33.0% 0.134 291.1);
Tailwind
colors: {
  custom: {
    50: '#765d9c',
    500: '#392073',
    950: '#000000',
  },
}
SCSS
$custom: #392073;
$custom-light: #765d9c;
$custom-dark: #000000;
JSON
{
  "hex": "#392073",
  "rgb": {
    "r": 57,
    "g": 32,
    "b": 115
  },
  "hsl": {
    "h": 258.072,
    "s": 56.463,
    "l": 28.824
  },
  "oklch": {
    "l": 0.33006,
    "c": 0.13399,
    "h": 291.1
  },
  "luminance": 0.03141
}

Semantic roles & 50–950 ramp

primary
#392073
secondary
#8AA748
accent
#E048B2
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #392073

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

Preview Lab → · Contrast checker → · Palette generator →

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