#392071#392071

#392071 is a dark, vivid violet. Relative luminance 0.031; OKLCH L 32.8% C 0.131 H 291.7°. Best body text is #FFFFFF at 12.97:1 contrast (WCAG AA passes).

Color values

HEX#392071
RGBrgb(57, 32, 113)
HSLhsl(259, 56%, 28%)
HSVhsv(259, 72%, 44%)
CMYKcmyk(49.6%, 71.7%, 0%, 55.7%)
CIE-LABlab(20.42, 32.63, -42.62)
CIE-LCHlch(20.42, 53.68, 307.44°)
OKLaboklab(32.82% 0.0485 -0.1221)
OKLCHoklch(32.82% 0.131 291.7)
XYZxyz(5.1837, 3.0950, 15.9438)
Luminance0.0309 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392071 #587120
analogous
#202F71 #392071 #612071
triadic
#392071 #713920 #207139
tetradic
#392071 #71202F #587120 #207161
square
#392071 #71202F #587120 #207161
split-complementary
#392071 #716120 #2F7120
monochromatic
#0C0718 #211241 #392071 #512EA1 #6C42C9

Accessibility & contrast

On white

12.97
#392071 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#392071 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #392071
12.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392071#FFFFFF#000000##FFFFFF
##3920711.0012.971.6212.97
#FFFFFF12.971.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003273
Deuteranopia (green-blind)
#00306F
Tritanopia (blue-blind)
#273445
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #392071;
/* rgb */ color: rgb(57, 32, 113);
/* oklch */ color: oklch(32.8% 0.131 291.7);
Tailwind
colors: {
  custom: {
    50: '#755d9b',
    500: '#392071',
    950: '#000000',
  },
}
SCSS
$custom: #392071;
$custom-light: #755d9b;
$custom-dark: #000000;
JSON
{
  "hex": "#392071",
  "rgb": {
    "r": 57,
    "g": 32,
    "b": 113
  },
  "hsl": {
    "h": 258.519,
    "s": 55.862,
    "l": 28.431
  },
  "oklch": {
    "l": 0.32824,
    "c": 0.1314,
    "h": 291.7
  },
  "luminance": 0.03095
}

Semantic roles & 50–950 ramp

primary
#392071
secondary
#88A548
accent
#DF49B1
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #392071

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

Preview Lab → · Contrast checker → · Palette generator →

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