#392070#392070

#392070 is a dark, vivid violet. Relative luminance 0.031; OKLCH L 32.7% C 0.130 H 292.0°. Best body text is #FFFFFF at 13.01:1 contrast (WCAG AA passes).

Color values

HEX#392070
RGBrgb(57, 32, 112)
HSLhsl(259, 56%, 28%)
HSVhsv(259, 71%, 44%)
CMYKcmyk(49.1%, 71.4%, 0%, 56.1%)
CIE-LABlab(20.33, 32.32, -42.12)
CIE-LCHlch(20.33, 53.09, 307.50°)
OKLaboklab(32.73% 0.0487 -0.1206)
OKLCHoklch(32.73% 0.13 292)
XYZxyz(5.1277, 3.0726, 15.6490)
Luminance0.0307 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392070 #577020
analogous
#202F70 #392070 #612070
triadic
#392070 #703920 #207039
tetradic
#392070 #70202F #577020 #207061
square
#392070 #70202F #577020 #207061
split-complementary
#392070 #706120 #2F7020
monochromatic
#0C0718 #211240 #392070 #512EA0 #6C42C9

Accessibility & contrast

On white

13.01
#392070 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#392070 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #392070
13.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392070#FFFFFF#000000##FFFFFF
##3920701.0013.011.6113.01
#FFFFFF13.011.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003272
Deuteranopia (green-blind)
#002F6E
Tritanopia (blue-blind)
#283445
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #392070;
/* rgb */ color: rgb(57, 32, 112);
/* oklch */ color: oklch(32.7% 0.130 292.0);
Tailwind
colors: {
  custom: {
    50: '#755d9a',
    500: '#392070',
    950: '#000000',
  },
}
SCSS
$custom: #392070;
$custom-light: #755d9a;
$custom-dark: #000000;
JSON
{
  "hex": "#392070",
  "rgb": {
    "r": 57,
    "g": 32,
    "b": 112
  },
  "hsl": {
    "h": 258.75,
    "s": 55.556,
    "l": 28.235
  },
  "oklch": {
    "l": 0.32733,
    "c": 0.1301,
    "h": 292
  },
  "luminance": 0.03073
}

Semantic roles & 50–950 ramp

primary
#392070
secondary
#87A448
accent
#DF49B0
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #392070

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

Preview Lab → · Contrast checker → · Palette generator →

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