#392980#392980

#392980 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 35.6% C 0.139 H 285.3°. Best body text is #FFFFFF at 11.65:1 contrast (WCAG AA passes).

Color values

HEX#392980
RGBrgb(57, 41, 128)
HSLhsl(251, 51%, 33%)
HSVhsv(251, 68%, 50%)
CMYKcmyk(55.5%, 68%, 0%, 49.8%)
CIE-LABlab(23.72, 31.96, -46.81)
CIE-LCHlch(23.72, 56.68, 304.32°)
OKLaboklab(35.6% 0.0368 -0.1344)
OKLCHoklch(35.6% 0.139 285.3)
XYZxyz(6.3754, 4.0139, 20.8567)
Luminance0.0401 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392980 #708029
analogous
#294580 #392980 #642980
triadic
#392980 #803929 #298039
tetradic
#392980 #802945 #708029 #298064
square
#392980 #802945 #708029 #298064
split-complementary
#392980 #806429 #458029
monochromatic
#100B23 #241A52 #392980 #4E38AE #6E59CA

Accessibility & contrast

On white

11.65
#392980 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#392980 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #392980
11.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392980#FFFFFF#000000##FFFFFF
##3929801.0011.651.8011.65
#FFFFFF11.651.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B83
Deuteranopia (green-blind)
#00367E
Tritanopia (blue-blind)
#1B3F50
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #392980;
/* rgb */ color: rgb(57, 41, 128);
/* oklch */ color: oklch(35.6% 0.139 285.3);
Tailwind
colors: {
  custom: {
    50: '#7764a6',
    500: '#392980',
    950: '#000000',
  },
}
SCSS
$custom: #392980;
$custom-light: #7764a6;
$custom-dark: #000000;
JSON
{
  "hex": "#392980",
  "rgb": {
    "r": 57,
    "g": 41,
    "b": 128
  },
  "hsl": {
    "h": 251.034,
    "s": 51.479,
    "l": 33.137
  },
  "oklch": {
    "l": 0.35604,
    "c": 0.13938,
    "h": 285.3
  },
  "luminance": 0.04014
}

Semantic roles & 50–950 ramp

primary
#392980
secondary
#9FAF55
accent
#DB4DC1
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#09050F
muted
#7B7A7F

Preview Lab

Preview with #392980

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

Preview Lab → · Contrast checker → · Palette generator →

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