#392076#392076

#392076 is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.3% C 0.138 H 290.2°. Best body text is #FFFFFF at 12.79:1 contrast (WCAG AA passes).

Color values

HEX#392076
RGBrgb(57, 32, 118)
HSLhsl(257, 57%, 29%)
HSVhsv(257, 73%, 46%)
CMYKcmyk(51.7%, 72.9%, 0%, 53.7%)
CIE-LABlab(20.87, 34.16, -45.11)
CIE-LCHlch(20.87, 56.58, 307.14°)
OKLaboklab(33.28% 0.0476 -0.1294)
OKLCHoklch(33.28% 0.138 290.2)
XYZxyz(5.4729, 3.2107, 17.4674)
Luminance0.0321 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392076 #5D7620
analogous
#203276 #392076 #642076
triadic
#392076 #763920 #207639
tetradic
#392076 #762032 #5D7620 #207664
square
#392076 #762032 #5D7620 #207664
split-complementary
#392076 #766420 #327620
monochromatic
#0C0718 #221346 #392076 #502DA6 #6C44CC

Accessibility & contrast

On white

12.79
#392076 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#392076 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #392076
12.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392076#FFFFFF#000000##FFFFFF
##3920761.0012.791.6412.79
#FFFFFF12.791.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003479
Deuteranopia (green-blind)
#003074
Tritanopia (blue-blind)
#243648
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #392076;
/* rgb */ color: rgb(57, 32, 118);
/* oklch */ color: oklch(33.3% 0.138 290.2);
Tailwind
colors: {
  custom: {
    50: '#765e9e',
    500: '#392076',
    950: '#000000',
  },
}
SCSS
$custom: #392076;
$custom-light: #765e9e;
$custom-dark: #000000;
JSON
{
  "hex": "#392076",
  "rgb": {
    "r": 57,
    "g": 32,
    "b": 118
  },
  "hsl": {
    "h": 257.442,
    "s": 57.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.33283,
    "c": 0.13787,
    "h": 290.2
  },
  "luminance": 0.03211
}

Semantic roles & 50–950 ramp

primary
#392076
secondary
#8DA948
accent
#E147B4
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #392076

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

Preview Lab → · Contrast checker → · Palette generator →

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