#392292#392292

#392292 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.3% C 0.171 H 283.3°. Best body text is #FFFFFF at 11.55:1 contrast (WCAG AA passes).

Color values

HEX#392292
RGBrgb(57, 34, 146)
HSLhsl(252, 62%, 35%)
HSVhsv(252, 77%, 57%)
CMYKcmyk(61%, 76.7%, 0%, 42.7%)
CIE-LABlab(23.96, 41.69, -57.65)
CIE-LCHlch(23.96, 71.15, 305.87°)
OKLaboklab(36.3% 0.0392 -0.1662)
OKLCHoklch(36.3% 0.171 283.3)
XYZxyz(7.4461, 4.0887, 27.5854)
Luminance0.0409 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392292 #7B9222
analogous
#224392 #392292 #712292
triadic
#392292 #923922 #229239
tetradic
#392292 #922243 #7B9222 #229271
square
#392292 #922243 #7B9222 #229271
split-complementary
#392292 #927122 #439222
monochromatic
#120B2F #261660 #392292 #4C2EC4 #7157D8

Accessibility & contrast

On white

11.55
#392292 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#392292 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #392292
11.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392292#FFFFFF#000000##FFFFFF
##3922921.0011.551.8211.55
#FFFFFF11.551.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C95
Deuteranopia (green-blind)
#003590
Tritanopia (blue-blind)
#004258
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #392292;
/* rgb */ color: rgb(57, 34, 146);
/* oklch */ color: oklch(36.3% 0.171 283.3);
Tailwind
colors: {
  custom: {
    50: '#7b60b3',
    500: '#392292',
    950: '#000000',
  },
}
SCSS
$custom: #392292;
$custom-light: #7b60b3;
$custom-dark: #000000;
JSON
{
  "hex": "#392292",
  "rgb": {
    "r": 57,
    "g": 34,
    "b": 146
  },
  "hsl": {
    "h": 252.321,
    "s": 62.222,
    "l": 35.294
  },
  "oklch": {
    "l": 0.36298,
    "c": 0.17073,
    "h": 283.3
  },
  "luminance": 0.04089
}

Semantic roles & 50–950 ramp

primary
#392292
secondary
#A6BC54
accent
#E543C4
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #392292

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

Preview Lab → · Contrast checker → · Palette generator →

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