#392079#392079

#392079 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 33.6% C 0.142 H 289.3°. Best body text is #FFFFFF at 12.68:1 contrast (WCAG AA passes).

Color values

HEX#392079
RGBrgb(57, 32, 121)
HSLhsl(257, 58%, 30%)
HSVhsv(257, 74%, 47%)
CMYKcmyk(52.9%, 73.6%, 0%, 52.5%)
CIE-LABlab(21.14, 35.08, -46.57)
CIE-LCHlch(21.14, 58.31, 306.99°)
OKLaboklab(33.56% 0.0469 -0.1337)
OKLCHoklch(33.56% 0.142 289.3)
XYZxyz(5.6540, 3.2831, 18.4212)
Luminance0.0328 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392079 #607920
analogous
#203379 #392079 #662079
triadic
#392079 #793920 #207939
tetradic
#392079 #792033 #607920 #207966
square
#392079 #792033 #607920 #207966
split-complementary
#392079 #796620 #337920
monochromatic
#0B0618 #221349 #392079 #502DA9 #6C45CE

Accessibility & contrast

On white

12.68
#392079 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#392079 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #392079
12.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392079#FFFFFF#000000##FFFFFF
##3920791.0012.681.6612.68
#FFFFFF12.681.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00357C
Deuteranopia (green-blind)
#003177
Tritanopia (blue-blind)
#22374A
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #392079;
/* rgb */ color: rgb(57, 32, 121);
/* oklch */ color: oklch(33.6% 0.142 289.3);
Tailwind
colors: {
  custom: {
    50: '#765ea1',
    500: '#392079',
    950: '#000000',
  },
}
SCSS
$custom: #392079;
$custom-light: #765ea1;
$custom-dark: #000000;
JSON
{
  "hex": "#392079",
  "rgb": {
    "r": 57,
    "g": 32,
    "b": 121
  },
  "hsl": {
    "h": 256.854,
    "s": 58.17,
    "l": 30
  },
  "oklch": {
    "l": 0.33564,
    "c": 0.14172,
    "h": 289.3
  },
  "luminance": 0.03283
}

Semantic roles & 50–950 ramp

primary
#392079
secondary
#90AC49
accent
#E146B6
background
#F7F5FA
surface
#EEE9F3
border
#C9C5CD
text
#09040F
muted
#7B797F

Preview Lab

Preview with #392079

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

Preview Lab → · Contrast checker → · Palette generator →

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