#392072#392072

#392072 is a dark, vivid violet. Relative luminance 0.031; OKLCH L 32.9% C 0.133 H 291.4°. Best body text is #FFFFFF at 12.93:1 contrast (WCAG AA passes).

Color values

HEX#392072
RGBrgb(57, 32, 114)
HSLhsl(258, 56%, 29%)
HSVhsv(258, 72%, 45%)
CMYKcmyk(50%, 71.9%, 0%, 55.3%)
CIE-LABlab(20.51, 32.94, -43.12)
CIE-LCHlch(20.51, 54.26, 307.37°)
OKLaboklab(32.92% 0.0483 -0.1236)
OKLCHoklch(32.92% 0.133 291.4)
XYZxyz(5.2403, 3.1176, 16.2420)
Luminance0.0312 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392072 #597220
analogous
#203072 #392072 #622072
triadic
#392072 #723920 #207239
tetradic
#392072 #722030 #597220 #207262
square
#392072 #722030 #597220 #207262
split-complementary
#392072 #726220 #307220
monochromatic
#0C0718 #211342 #392072 #512DA2 #6C42CA

Accessibility & contrast

On white

12.93
#392072 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#392072 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #392072
12.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392072#FFFFFF#000000##FFFFFF
##3920721.0012.931.6212.93
#FFFFFF12.931.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003374
Deuteranopia (green-blind)
#003070
Tritanopia (blue-blind)
#273546
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #392072;
/* rgb */ color: rgb(57, 32, 114);
/* oklch */ color: oklch(32.9% 0.133 291.4);
Tailwind
colors: {
  custom: {
    50: '#755d9b',
    500: '#392072',
    950: '#000000',
  },
}
SCSS
$custom: #392072;
$custom-light: #755d9b;
$custom-dark: #000000;
JSON
{
  "hex": "#392072",
  "rgb": {
    "r": 57,
    "g": 32,
    "b": 114
  },
  "hsl": {
    "h": 258.293,
    "s": 56.164,
    "l": 28.627
  },
  "oklch": {
    "l": 0.32915,
    "c": 0.1327,
    "h": 291.4
  },
  "luminance": 0.03118
}

Semantic roles & 50–950 ramp

primary
#392072
secondary
#89A648
accent
#DF48B1
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #392072

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

Preview Lab → · Contrast checker → · Palette generator →

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