#392256#392256

#392256 is a dark, moderate violet. Relative luminance 0.027; OKLCH L 30.9% C 0.092 H 301.7°. Best body text is #FFFFFF at 13.66:1 contrast (WCAG AA passes).

Color values

HEX#392256
RGBrgb(57, 34, 86)
HSLhsl(267, 43%, 24%)
HSVhsv(267, 60%, 34%)
CMYKcmyk(33.7%, 60.5%, 0%, 66.3%)
CIE-LABlab(18.74, 23.29, -27.59)
CIE-LCHlch(18.74, 36.10, 310.17°)
OKLaboklab(30.93% 0.0481 -0.0779)
OKLCHoklch(30.93% 0.092 301.7)
XYZxyz(3.9387, 2.6858, 9.1132)
Luminance0.0269 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392256 #3F5622
analogous
#222556 #392256 #532256
triadic
#392256 #563922 #225639
tetradic
#392256 #562225 #3F5622 #225653
square
#392256 #562225 #3F5622 #225653
split-complementary
#392256 #565322 #255622
monochromatic
#0F0916 #1C112A #392256 #563382 #7345AE

Accessibility & contrast

On white

13.66
#392256 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#392256 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #392256
13.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392256#FFFFFF#000000##FFFFFF
##3922561.0013.661.5413.66
#FFFFFF13.661.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D2D58
Deuteranopia (green-blind)
#152D55
Tritanopia (blue-blind)
#332C38
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #392256;
/* rgb */ color: rgb(57, 34, 86);
/* oklch */ color: oklch(30.9% 0.092 301.7);
Tailwind
colors: {
  custom: {
    50: '#715e86',
    500: '#392256',
    950: '#000000',
  },
}
SCSS
$custom: #392256;
$custom-light: #715e86;
$custom-dark: #000000;
JSON
{
  "hex": "#392256",
  "rgb": {
    "r": 57,
    "g": 34,
    "b": 86
  },
  "hsl": {
    "h": 266.538,
    "s": 43.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.30927,
    "c": 0.09161,
    "h": 301.7
  },
  "luminance": 0.02686
}

Semantic roles & 50–950 ramp

primary
#392256
secondary
#6E8A4A
accent
#D3559B
background
#F7F5F8
surface
#EDE9EF
border
#C8C5CA
text
#08040B
muted
#7B797C

Preview Lab

Preview with #392256

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

Preview Lab → · Contrast checker → · Palette generator →

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