#392976#392976

#392976 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 34.7% C 0.126 H 287.5°. Best body text is #FFFFFF at 11.98:1 contrast (WCAG AA passes).

Color values

HEX#392976
RGBrgb(57, 41, 118)
HSLhsl(252, 48%, 31%)
HSVhsv(252, 65%, 46%)
CMYKcmyk(51.7%, 65.3%, 0%, 53.7%)
CIE-LABlab(22.87, 28.71, -41.84)
CIE-LCHlch(22.87, 50.75, 304.46°)
OKLaboklab(34.73% 0.0379 -0.1198)
OKLCHoklch(34.73% 0.126 287.5)
XYZxyz(5.7493, 3.7635, 17.5595)
Luminance0.0376 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392976 #667629
analogous
#293F76 #392976 #5F2976
triadic
#392976 #763929 #297639
tetradic
#392976 #76293F #667629 #29765F
square
#392976 #76293F #667629 #29765F
split-complementary
#392976 #765F29 #3F7629
monochromatic
#0D091B #231949 #392976 #4F39A3 #6C55C4

Accessibility & contrast

On white

11.98
#392976 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#392976 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #392976
11.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392976#FFFFFF#000000##FFFFFF
##3929761.0011.981.7511.98
#FFFFFF11.981.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003878
Deuteranopia (green-blind)
#003474
Tritanopia (blue-blind)
#243B4B
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #392976;
/* rgb */ color: rgb(57, 41, 118);
/* oklch */ color: oklch(34.7% 0.126 287.5);
Tailwind
colors: {
  custom: {
    50: '#75639e',
    500: '#392976',
    950: '#000000',
  },
}
SCSS
$custom: #392976;
$custom-light: #75639e;
$custom-dark: #000000;
JSON
{
  "hex": "#392976",
  "rgb": {
    "r": 57,
    "g": 41,
    "b": 118
  },
  "hsl": {
    "h": 252.468,
    "s": 48.428,
    "l": 31.176
  },
  "oklch": {
    "l": 0.34728,
    "c": 0.12567,
    "h": 287.5
  },
  "luminance": 0.03764
}

Semantic roles & 50–950 ramp

primary
#392976
secondary
#96A853
accent
#D850BC
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#09050E
muted
#7B7A7E

Preview Lab

Preview with #392976

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

Preview Lab → · Contrast checker → · Palette generator →

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