#392456#392456

#392456 is a dark, moderate violet. Relative luminance 0.028; OKLCH L 31.3% C 0.088 H 300.8°. Best body text is #FFFFFF at 13.46:1 contrast (WCAG AA passes).

Color values

HEX#392456
RGBrgb(57, 36, 86)
HSLhsl(265, 41%, 24%)
HSVhsv(265, 58%, 34%)
CMYKcmyk(33.7%, 58.1%, 0%, 66.3%)
CIE-LABlab(19.24, 21.99, -26.79)
CIE-LCHlch(19.24, 34.66, 309.38°)
OKLaboklab(31.3% 0.0451 -0.0756)
OKLCHoklch(31.3% 0.088 300.8)
XYZxyz(3.9975, 2.8035, 9.1328)
Luminance0.0280 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392456 #415624
analogous
#242856 #392456 #522456
triadic
#392456 #563924 #245639
tetradic
#392456 #562428 #415624 #245652
square
#392456 #562428 #415624 #245652
split-complementary
#392456 #565224 #285624
monochromatic
#0E0916 #1C122B #392456 #563681 #7248AC

Accessibility & contrast

On white

13.46
#392456 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #392456
13.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392456#FFFFFF#000000##FFFFFF
##3924561.0013.461.5613.46
#FFFFFF13.461.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#112E58
Deuteranopia (green-blind)
#182E55
Tritanopia (blue-blind)
#332E39
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #392456;
/* rgb */ color: rgb(57, 36, 86);
/* oklch */ color: oklch(31.3% 0.088 300.8);
Tailwind
colors: {
  custom: {
    50: '#715f86',
    500: '#392456',
    950: '#000000',
  },
}
SCSS
$custom: #392456;
$custom-light: #715f86;
$custom-dark: #000000;
JSON
{
  "hex": "#392456",
  "rgb": {
    "r": 57,
    "g": 36,
    "b": 86
  },
  "hsl": {
    "h": 265.2,
    "s": 40.984,
    "l": 23.922
  },
  "oklch": {
    "l": 0.31296,
    "c": 0.08804,
    "h": 300.8
  },
  "luminance": 0.02803
}

Semantic roles & 50–950 ramp

primary
#392456
secondary
#708A4C
accent
#D1579E
background
#F7F5F8
surface
#EDE9EF
border
#C8C5CA
text
#08040B
muted
#7B797C

Preview Lab

Preview with #392456

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

Preview Lab → · Contrast checker → · Palette generator →

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