#392080#392080

#392080 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.2% C 0.151 H 287.5°. Best body text is #FFFFFF at 12.41:1 contrast (WCAG AA passes).

Color values

HEX#392080
RGBrgb(57, 32, 128)
HSLhsl(256, 60%, 31%)
HSVhsv(256, 75%, 50%)
CMYKcmyk(55.5%, 75%, 0%, 49.8%)
CIE-LABlab(21.80, 37.23, -49.94)
CIE-LCHlch(21.80, 62.29, 306.70°)
OKLaboklab(34.24% 0.0453 -0.1436)
OKLCHoklch(34.24% 0.151 287.5)
XYZxyz(6.0990, 3.4611, 20.7646)
Luminance0.0346 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392080 #678020
analogous
#203780 #392080 #692080
triadic
#392080 #803920 #208039
tetradic
#392080 #802037 #678020 #208069
square
#392080 #802037 #678020 #208069
split-complementary
#392080 #806920 #378020
monochromatic
#0D081E #23144F #392080 #4F2CB1 #6C49D1

Accessibility & contrast

On white

12.41
#392080 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #392080
12.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392080#FFFFFF#000000##FFFFFF
##3920801.0012.411.6912.41
#FFFFFF12.411.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003683
Deuteranopia (green-blind)
#00327E
Tritanopia (blue-blind)
#1C3A4E
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #392080;
/* rgb */ color: rgb(57, 32, 128);
/* oklch */ color: oklch(34.2% 0.151 287.5);
Tailwind
colors: {
  custom: {
    50: '#785ea6',
    500: '#392080',
    950: '#000000',
  },
}
SCSS
$custom: #392080;
$custom-light: #785ea6;
$custom-dark: #000000;
JSON
{
  "hex": "#392080",
  "rgb": {
    "r": 57,
    "g": 32,
    "b": 128
  },
  "hsl": {
    "h": 255.625,
    "s": 60,
    "l": 31.373
  },
  "oklch": {
    "l": 0.34235,
    "c": 0.15059,
    "h": 287.5
  },
  "luminance": 0.03461
}

Semantic roles & 50–950 ramp

primary
#392080
secondary
#97B349
accent
#E345BA
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #392080

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

Preview Lab → · Contrast checker → · Palette generator →

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