#392845#392845

#392845 is a dark, muted violet. Relative luminance 0.028; OKLCH L 31.0% C 0.055 H 310.4°. Best body text is #FFFFFF at 13.43:1 contrast (WCAG AA passes).

Color values

HEX#392845
RGBrgb(57, 40, 69)
HSLhsl(275, 27%, 21%)
HSVhsv(275, 42%, 27%)
CMYKcmyk(17.4%, 42%, 0%, 72.9%)
CIE-LABlab(19.30, 14.52, -15.20)
CIE-LCHlch(19.30, 21.02, 313.70°)
OKLaboklab(31.01% 0.0357 -0.042)
OKLCHoklch(31.01% 0.055 310.4)
XYZxyz(3.5201, 2.8172, 5.9874)
Luminance0.0282 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392845 #344528
analogous
#2B2845 #392845 #452843
triadic
#392845 #453928 #284539
tetradic
#392845 #452B28 #344528 #284345
square
#392845 #452B28 #344528 #284345
split-complementary
#392845 #434528 #28452B
monochromatic
#100B13 #19121E #392845 #593E6C #795592

Accessibility & contrast

On white

13.43
#392845 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#392845 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #392845
13.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392845#FFFFFF#000000##FFFFFF
##3928451.0013.431.5613.43
#FFFFFF13.431.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#222E46
Deuteranopia (green-blind)
#262F44
Tritanopia (blue-blind)
#382C33
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #392845;
/* rgb */ color: rgb(57, 40, 69);
/* oklch */ color: oklch(31.0% 0.055 310.4);
Tailwind
colors: {
  custom: {
    50: '#706278',
    500: '#392845',
    950: '#000000',
  },
}
SCSS
$custom: #392845;
$custom-light: #706278;
$custom-dark: #000000;
JSON
{
  "hex": "#392845",
  "rgb": {
    "r": 57,
    "g": 40,
    "b": 69
  },
  "hsl": {
    "h": 275.172,
    "s": 26.606,
    "l": 21.373
  },
  "oklch": {
    "l": 0.31009,
    "c": 0.05507,
    "h": 310.4
  },
  "luminance": 0.02817
}

Semantic roles & 50–950 ramp

primary
#392845
secondary
#617752
accent
#C3658C
background
#F6F5F7
surface
#ECEAED
border
#C7C6C8
text
#070509
muted
#7A797B

Preview Lab

Preview with #392845

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

Preview Lab → · Contrast checker → · Palette generator →

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