#392099#392099

#392099 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.8% C 0.181 H 282.3°. Best body text is #FFFFFF at 11.41:1 contrast (WCAG AA passes).

Color values

HEX#392099
RGBrgb(57, 32, 153)
HSLhsl(252, 65%, 36%)
HSVhsv(252, 79%, 60%)
CMYKcmyk(62.7%, 79.1%, 0%, 40%)
CIE-LABlab(24.33, 44.85, -61.36)
CIE-LCHlch(24.33, 76.00, 306.16°)
OKLaboklab(36.77% 0.0386 -0.177)
OKLCHoklch(36.77% 0.181 282.3)
XYZxyz(7.9518, 4.2022, 30.5229)
Luminance0.0420 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392099 #809920
analogous
#204499 #392099 #762099
triadic
#392099 #993920 #209939
tetradic
#392099 #992044 #809920 #209976
square
#392099 #992044 #809920 #209976
split-complementary
#392099 #997620 #449920
monochromatic
#130B34 #261566 #392099 #4C2BCC #7357DC

Accessibility & contrast

On white

11.41
#392099 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#392099 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #392099
11.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392099#FFFFFF#000000##FFFFFF
##3920991.0011.411.8411.41
#FFFFFF11.411.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E9C
Deuteranopia (green-blind)
#003697
Tritanopia (blue-blind)
#00445C
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #392099;
/* rgb */ color: rgb(57, 32, 153);
/* oklch */ color: oklch(36.8% 0.181 282.3);
Tailwind
colors: {
  custom: {
    50: '#7c5fb8',
    500: '#392099',
    950: '#000000',
  },
}
SCSS
$custom: #392099;
$custom-light: #7c5fb8;
$custom-dark: #000000;
JSON
{
  "hex": "#392099",
  "rgb": {
    "r": 57,
    "g": 32,
    "b": 153
  },
  "hsl": {
    "h": 252.397,
    "s": 65.405,
    "l": 36.275
  },
  "oklch": {
    "l": 0.36772,
    "c": 0.18114,
    "h": 282.3
  },
  "luminance": 0.04203
}

Semantic roles & 50–950 ramp

primary
#392099
secondary
#AAC055
accent
#E83FC5
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #392099

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

Preview Lab → · Contrast checker → · Palette generator →

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