#392159#392159

#392159 is a dark, moderate violet. Relative luminance 0.027; OKLCH L 31.0% C 0.098 H 300.6°. Best body text is #FFFFFF at 13.67:1 contrast (WCAG AA passes).

Color values

HEX#392159
RGBrgb(57, 33, 89)
HSLhsl(266, 46%, 24%)
HSVhsv(266, 63%, 35%)
CMYKcmyk(36%, 62.9%, 0%, 65.1%)
CIE-LABlab(18.71, 24.80, -29.65)
CIE-LCHlch(18.71, 38.65, 309.92°)
OKLaboklab(30.97% 0.0496 -0.084)
OKLCHoklch(30.97% 0.098 300.6)
XYZxyz(4.0339, 2.6788, 9.7538)
Luminance0.0268 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392159 #415921
analogous
#212559 #392159 #552159
triadic
#392159 #593921 #215939
tetradic
#392159 #592125 #415921 #215955
square
#392159 #592125 #415921 #215955
split-complementary
#392159 #595521 #255921
monochromatic
#0E0816 #1C102C #392159 #563286 #7242B2

Accessibility & contrast

On white

13.67
#392159 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #392159
13.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392159#FFFFFF#000000##FFFFFF
##3921591.0013.671.5413.67
#FFFFFF13.671.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#062D5B
Deuteranopia (green-blind)
#102D58
Tritanopia (blue-blind)
#322C39
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #392159;
/* rgb */ color: rgb(57, 33, 89);
/* oklch */ color: oklch(31.0% 0.098 300.6);
Tailwind
colors: {
  custom: {
    50: '#725d88',
    500: '#392159',
    950: '#000000',
  },
}
SCSS
$custom: #392159;
$custom-light: #725d88;
$custom-dark: #000000;
JSON
{
  "hex": "#392159",
  "rgb": {
    "r": 57,
    "g": 33,
    "b": 89
  },
  "hsl": {
    "h": 265.714,
    "s": 45.902,
    "l": 23.922
  },
  "oklch": {
    "l": 0.30974,
    "c": 0.09754,
    "h": 300.6
  },
  "luminance": 0.02679
}

Semantic roles & 50–950 ramp

primary
#392159
secondary
#708D49
accent
#D6529D
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08040B
muted
#7B797C

Preview Lab

Preview with #392159

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

Preview Lab → · Contrast checker → · Palette generator →

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