#392145#392145

#392145 is a dark, moderate purple. Relative luminance 0.024; OKLCH L 29.6% C 0.070 H 313.5°. Best body text is #FFFFFF at 14.21:1 contrast (WCAG AA passes).

Color values

HEX#392145
RGBrgb(57, 33, 69)
HSLhsl(280, 35%, 20%)
HSVhsv(280, 52%, 27%)
CMYKcmyk(17.4%, 52.2%, 0%, 72.9%)
CIE-LABlab(17.40, 19.23, -18.16)
CIE-LCHlch(17.40, 26.45, 316.64°)
OKLaboklab(29.59% 0.048 -0.0504)
OKLCHoklch(29.59% 0.07 313.5)
XYZxyz(3.3052, 2.3873, 5.9158)
Luminance0.0239 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392145 #2D4521
analogous
#272145 #392145 #45213F
triadic
#392145 #453921 #214539
tetradic
#392145 #452721 #2D4521 #213F45
square
#392145 #452721 #2D4521 #213F45
split-complementary
#392145 #3F4521 #214527
monochromatic
#110A15 #170D1C #392145 #5B356E #7D4998

Accessibility & contrast

On white

14.21
#392145 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#392145 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #392145
14.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392145#FFFFFF#000000##FFFFFF
##3921451.0014.211.4814.21
#FFFFFF14.211.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A2946
Deuteranopia (green-blind)
#202B44
Tritanopia (blue-blind)
#38262F
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #392145;
/* rgb */ color: rgb(57, 33, 69);
/* oklch */ color: oklch(29.6% 0.070 313.5);
Tailwind
colors: {
  custom: {
    50: '#705d79',
    500: '#392145',
    950: '#000000',
  },
}
SCSS
$custom: #392145;
$custom-light: #705d79;
$custom-dark: #000000;
JSON
{
  "hex": "#392145",
  "rgb": {
    "r": 57,
    "g": 33,
    "b": 69
  },
  "hsl": {
    "h": 280,
    "s": 35.294,
    "l": 20
  },
  "oklch": {
    "l": 0.29585,
    "c": 0.0696,
    "h": 313.5
  },
  "luminance": 0.02387
}

Semantic roles & 50–950 ramp

primary
#392145
secondary
#597949
accent
#CB5C81
background
#F6F5F7
surface
#ECE9ED
border
#C7C5C8
text
#070409
muted
#7A797B

Preview Lab

Preview with #392145

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

Preview Lab → · Contrast checker → · Palette generator →

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