#392979#392979

#392979 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.0% C 0.130 H 286.8°. Best body text is #FFFFFF at 11.88:1 contrast (WCAG AA passes).

Color values

HEX#392979
RGBrgb(57, 41, 121)
HSLhsl(252, 49%, 32%)
HSVhsv(252, 66%, 47%)
CMYKcmyk(52.9%, 66.1%, 0%, 52.5%)
CIE-LABlab(23.12, 29.69, -43.35)
CIE-LCHlch(23.12, 52.54, 304.41°)
OKLaboklab(34.99% 0.0376 -0.1243)
OKLCHoklch(34.99% 0.13 286.8)
XYZxyz(5.9305, 3.8359, 18.5134)
Luminance0.0384 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392979 #697929
analogous
#294179 #392979 #612979
triadic
#392979 #793929 #297939
tetradic
#392979 #792941 #697929 #297961
square
#392979 #792941 #697929 #297961
split-complementary
#392979 #796129 #417929
monochromatic
#0E0A1E #231A4B #392979 #4F38A7 #6D56C6

Accessibility & contrast

On white

11.88
#392979 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#392979 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #392979
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392979#FFFFFF#000000##FFFFFF
##3929791.0011.881.7711.88
#FFFFFF11.881.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00397C
Deuteranopia (green-blind)
#003577
Tritanopia (blue-blind)
#213C4D
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #392979;
/* rgb */ color: rgb(57, 41, 121);
/* oklch */ color: oklch(35.0% 0.130 286.8);
Tailwind
colors: {
  custom: {
    50: '#7664a0',
    500: '#392979',
    950: '#000000',
  },
}
SCSS
$custom: #392979;
$custom-light: #7664a0;
$custom-dark: #000000;
JSON
{
  "hex": "#392979",
  "rgb": {
    "r": 57,
    "g": 41,
    "b": 121
  },
  "hsl": {
    "h": 252,
    "s": 49.383,
    "l": 31.765
  },
  "oklch": {
    "l": 0.34986,
    "c": 0.12982,
    "h": 286.8
  },
  "luminance": 0.03836
}

Semantic roles & 50–950 ramp

primary
#392979
secondary
#99AB53
accent
#D94FBD
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#09050F
muted
#7B7A7E

Preview Lab

Preview with #392979

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

Preview Lab → · Contrast checker → · Palette generator →

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