#392040#392040

#392040 is a dark, moderate purple. Relative luminance 0.023; OKLCH L 29.1% C 0.065 H 318.6°. Best body text is #FFFFFF at 14.44:1 contrast (WCAG AA passes).

Color values

HEX#392040
RGBrgb(57, 32, 64)
HSLhsl(287, 33%, 19%)
HSVhsv(287, 50%, 25%)
CMYKcmyk(10.9%, 50%, 0%, 74.9%)
CIE-LABlab(16.86, 18.61, -15.55)
CIE-LCHlch(16.86, 24.25, 320.12°)
OKLaboklab(29.09% 0.0487 -0.0429)
OKLCHoklch(29.09% 0.065 318.6)
XYZxyz(3.1291, 2.2731, 5.1234)
Luminance0.0227 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392040 #274020
analogous
#292040 #392040 #402037
triadic
#392040 #403920 #204039
tetradic
#392040 #402920 #274020 #203740
square
#392040 #402920 #274020 #203740
split-complementary
#392040 #374020 #204029
monochromatic
#120A14 #150C17 #392040 #5D3469 #824992

Accessibility & contrast

On white

14.44
#392040 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#392040 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #392040
14.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392040#FFFFFF#000000##FFFFFF
##3920401.0014.441.4514.44
#FFFFFF14.441.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B2841
Deuteranopia (green-blind)
#222A3F
Tritanopia (blue-blind)
#39242D
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #392040;
/* rgb */ color: rgb(57, 32, 64);
/* oklch */ color: oklch(29.1% 0.065 318.6);
Tailwind
colors: {
  custom: {
    50: '#705c75',
    500: '#392040',
    950: '#000000',
  },
}
SCSS
$custom: #392040;
$custom-light: #705c75;
$custom-dark: #000000;
JSON
{
  "hex": "#392040",
  "rgb": {
    "r": 57,
    "g": 32,
    "b": 64
  },
  "hsl": {
    "h": 286.875,
    "s": 33.333,
    "l": 18.824
  },
  "oklch": {
    "l": 0.29088,
    "c": 0.06491,
    "h": 318.6
  },
  "luminance": 0.02273
}

Semantic roles & 50–950 ramp

primary
#392040
secondary
#527448
accent
#C95E76
background
#F6F5F7
surface
#ECE9ED
border
#C7C5C8
text
#070408
muted
#7A797B

Preview Lab

Preview with #392040

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

Preview Lab → · Contrast checker → · Palette generator →

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