#392392#392392

#392392 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.4% C 0.170 H 283.1°. Best body text is #FFFFFF at 11.48:1 contrast (WCAG AA passes).

Color values

HEX#392392
RGBrgb(57, 35, 146)
HSLhsl(252, 61%, 35%)
HSVhsv(252, 76%, 57%)
CMYKcmyk(61%, 76%, 0%, 42.7%)
CIE-LABlab(24.15, 41.16, -57.34)
CIE-LCHlch(24.15, 70.58, 305.67°)
OKLaboklab(36.43% 0.0385 -0.1653)
OKLCHoklch(36.43% 0.17 283.1)
XYZxyz(7.4751, 4.1467, 27.5951)
Luminance0.0415 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392392 #7C9223
analogous
#234492 #392392 #702392
triadic
#392392 #923923 #239239
tetradic
#392392 #922344 #7C9223 #239270
square
#392392 #922344 #7C9223 #239270
split-complementary
#392392 #927023 #449223
monochromatic
#120B2F #261761 #392392 #4C2FC3 #7158D7

Accessibility & contrast

On white

11.48
#392392 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#392392 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #392392
11.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392392#FFFFFF#000000##FFFFFF
##3923921.0011.481.8311.48
#FFFFFF11.481.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D95
Deuteranopia (green-blind)
#003690
Tritanopia (blue-blind)
#004259
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #392392;
/* rgb */ color: rgb(57, 35, 146);
/* oklch */ color: oklch(36.4% 0.170 283.1);
Tailwind
colors: {
  custom: {
    50: '#7b61b3',
    500: '#392392',
    950: '#000000',
  },
}
SCSS
$custom: #392392;
$custom-light: #7b61b3;
$custom-dark: #000000;
JSON
{
  "hex": "#392392",
  "rgb": {
    "r": 57,
    "g": 35,
    "b": 146
  },
  "hsl": {
    "h": 251.892,
    "s": 61.326,
    "l": 35.49
  },
  "oklch": {
    "l": 0.36431,
    "c": 0.1697,
    "h": 283.1
  },
  "luminance": 0.04147
}

Semantic roles & 50–950 ramp

primary
#392392
secondary
#A7BB55
accent
#E443C5
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #392392

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

Preview Lab → · Contrast checker → · Palette generator →

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