#392056#392056

#392056 is a dark, moderate violet. Relative luminance 0.026; OKLCH L 30.6% C 0.095 H 302.5°. Best body text is #FFFFFF at 13.86:1 contrast (WCAG AA passes).

Color values

HEX#392056
RGBrgb(57, 32, 86)
HSLhsl(268, 46%, 23%)
HSVhsv(268, 63%, 34%)
CMYKcmyk(33.7%, 62.8%, 0%, 66.3%)
CIE-LABlab(18.25, 24.56, -28.37)
CIE-LCHlch(18.25, 37.52, 310.89°)
OKLaboklab(30.57% 0.0511 -0.0802)
OKLCHoklch(30.57% 0.095 302.5)
XYZxyz(3.8832, 2.5748, 9.0947)
Luminance0.0257 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392056 #3D5620
analogous
#202256 #392056 #542056
triadic
#392056 #563920 #205639
tetradic
#392056 #562022 #3D5620 #205654
square
#392056 #562022 #3D5620 #205654
split-complementary
#392056 #565420 #225620
monochromatic
#0F0816 #1B0F29 #392056 #573183 #7441AF

Accessibility & contrast

On white

13.86
#392056 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#392056 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #392056
13.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392056#FFFFFF#000000##FFFFFF
##3920561.0013.861.5213.86
#FFFFFF13.861.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#082C58
Deuteranopia (green-blind)
#122C55
Tritanopia (blue-blind)
#332B37
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #392056;
/* rgb */ color: rgb(57, 32, 86);
/* oklch */ color: oklch(30.6% 0.095 302.5);
Tailwind
colors: {
  custom: {
    50: '#725c86',
    500: '#392056',
    950: '#000000',
  },
}
SCSS
$custom: #392056;
$custom-light: #725c86;
$custom-dark: #000000;
JSON
{
  "hex": "#392056",
  "rgb": {
    "r": 57,
    "g": 32,
    "b": 86
  },
  "hsl": {
    "h": 267.778,
    "s": 45.763,
    "l": 23.137
  },
  "oklch": {
    "l": 0.30571,
    "c": 0.0951,
    "h": 302.5
  },
  "luminance": 0.02575
}

Semantic roles & 50–950 ramp

primary
#392056
secondary
#6B8B47
accent
#D55299
background
#F7F5F8
surface
#EDE9EF
border
#C8C5CA
text
#08040B
muted
#7B797C

Preview Lab

Preview with #392056

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

Preview Lab → · Contrast checker → · Palette generator →

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