#392156#392156

#392156 is a dark, moderate violet. Relative luminance 0.026; OKLCH L 30.7% C 0.093 H 302.1°. Best body text is #FFFFFF at 13.76:1 contrast (WCAG AA passes).

Color values

HEX#392156
RGBrgb(57, 33, 86)
HSLhsl(267, 45%, 23%)
HSVhsv(267, 62%, 34%)
CMYKcmyk(33.7%, 61.6%, 0%, 66.3%)
CIE-LABlab(18.49, 23.93, -27.98)
CIE-LCHlch(18.49, 36.82, 310.54°)
OKLaboklab(30.75% 0.0496 -0.0791)
OKLCHoklch(30.75% 0.093 302.1)
XYZxyz(3.9105, 2.6294, 9.1038)
Luminance0.0263 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392156 #3E5621
analogous
#212356 #392156 #532156
triadic
#392156 #563921 #215639
tetradic
#392156 #562123 #3E5621 #215653
square
#392156 #562123 #3E5621 #215653
split-complementary
#392156 #565321 #235621
monochromatic
#0F0816 #1C102A #392156 #563282 #7443AE

Accessibility & contrast

On white

13.76
#392156 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#392156 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #392156
13.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392156#FFFFFF#000000##FFFFFF
##3921561.0013.761.5313.76
#FFFFFF13.761.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A2D58
Deuteranopia (green-blind)
#142D55
Tritanopia (blue-blind)
#332C38
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #392156;
/* rgb */ color: rgb(57, 33, 86);
/* oklch */ color: oklch(30.7% 0.093 302.1);
Tailwind
colors: {
  custom: {
    50: '#725d86',
    500: '#392156',
    950: '#000000',
  },
}
SCSS
$custom: #392156;
$custom-light: #725d86;
$custom-dark: #000000;
JSON
{
  "hex": "#392156",
  "rgb": {
    "r": 57,
    "g": 33,
    "b": 86
  },
  "hsl": {
    "h": 267.17,
    "s": 44.538,
    "l": 23.333
  },
  "oklch": {
    "l": 0.30748,
    "c": 0.09336,
    "h": 302.1
  },
  "luminance": 0.02629
}

Semantic roles & 50–950 ramp

primary
#392156
secondary
#6C8A49
accent
#D4549A
background
#F7F5F8
surface
#EDE9EF
border
#C8C5CA
text
#08040B
muted
#7B797C

Preview Lab

Preview with #392156

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

Preview Lab → · Contrast checker → · Palette generator →

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