#392372#392372

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

Color values

HEX#392372
RGBrgb(57, 35, 114)
HSLhsl(257, 53%, 29%)
HSVhsv(257, 69%, 45%)
CMYKcmyk(50%, 69.3%, 0%, 55.3%)
CIE-LABlab(21.16, 31.16, -42.07)
CIE-LCHlch(21.16, 52.35, 306.53°)
OKLaboklab(33.38% 0.0451 -0.1205)
OKLCHoklch(33.38% 0.129 290.5)
XYZxyz(5.3248, 3.2866, 16.2701)
Luminance0.0329 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392372 #5C7223
analogous
#233572 #392372 #612372
triadic
#392372 #723923 #237239
tetradic
#392372 #722335 #5C7223 #237261
square
#392372 #722335 #5C7223 #237261
split-complementary
#392372 #726123 #357223
monochromatic
#0C0717 #221543 #392372 #5031A1 #6C48C7

Accessibility & contrast

On white

12.67
#392372 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #392372
12.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392372#FFFFFF#000000##FFFFFF
##3923721.0012.671.6612.67
#FFFFFF12.671.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003474
Deuteranopia (green-blind)
#003170
Tritanopia (blue-blind)
#273647
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #392372;
/* rgb */ color: rgb(57, 35, 114);
/* oklch */ color: oklch(33.4% 0.129 290.5);
Tailwind
colors: {
  custom: {
    50: '#755f9b',
    500: '#392372',
    950: '#000000',
  },
}
SCSS
$custom: #392372;
$custom-light: #755f9b;
$custom-dark: #000000;
JSON
{
  "hex": "#392372",
  "rgb": {
    "r": 57,
    "g": 35,
    "b": 114
  },
  "hsl": {
    "h": 256.709,
    "s": 53.02,
    "l": 29.216
  },
  "oklch": {
    "l": 0.3338,
    "c": 0.12864,
    "h": 290.5
  },
  "luminance": 0.03287
}

Semantic roles & 50–950 ramp

primary
#392372
secondary
#8CA54C
accent
#DC4BB4
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09050E
muted
#7B797E

Preview Lab

Preview with #392372

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

Preview Lab → · Contrast checker → · Palette generator →

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