#392471#392471

#392471 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 33.5% C 0.126 H 290.5°. Best body text is #FFFFFF at 12.61:1 contrast (WCAG AA passes).

Color values

HEX#392471
RGBrgb(57, 36, 113)
HSLhsl(256, 52%, 29%)
HSVhsv(256, 68%, 44%)
CMYKcmyk(49.6%, 68.1%, 0%, 55.7%)
CIE-LABlab(21.30, 30.24, -41.20)
CIE-LCHlch(21.30, 51.10, 306.28°)
OKLaboklab(33.45% 0.0441 -0.1179)
OKLCHoklch(33.45% 0.126 290.5)
XYZxyz(5.2980, 3.3237, 15.9820)
Luminance0.0332 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392471 #5C7124
analogous
#243671 #392471 #602471
triadic
#392471 #713924 #247139
tetradic
#392471 #712436 #5C7124 #247160
square
#392471 #712436 #5C7124 #247160
split-complementary
#392471 #716024 #367124
monochromatic
#0C0717 #221543 #392471 #50339F #6C4AC5

Accessibility & contrast

On white

12.61
#392471 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #392471
12.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392471#FFFFFF#000000##FFFFFF
##3924711.0012.611.6612.61
#FFFFFF12.611.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003473
Deuteranopia (green-blind)
#00316F
Tritanopia (blue-blind)
#273747
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #392471;
/* rgb */ color: rgb(57, 36, 113);
/* oklch */ color: oklch(33.5% 0.126 290.5);
Tailwind
colors: {
  custom: {
    50: '#75609a',
    500: '#392471',
    950: '#000000',
  },
}
SCSS
$custom: #392471;
$custom-light: #75609a;
$custom-dark: #000000;
JSON
{
  "hex": "#392471",
  "rgb": {
    "r": 57,
    "g": 36,
    "b": 113
  },
  "hsl": {
    "h": 256.364,
    "s": 51.678,
    "l": 29.216
  },
  "oklch": {
    "l": 0.33454,
    "c": 0.12591,
    "h": 290.5
  },
  "luminance": 0.03324
}

Semantic roles & 50–950 ramp

primary
#392471
secondary
#8CA44D
accent
#DB4DB4
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09050E
muted
#7B797E

Preview Lab

Preview with #392471

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

Preview Lab → · Contrast checker → · Palette generator →

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