#392059#392059

#392059 is a dark, moderate violet. Relative luminance 0.026; OKLCH L 30.8% C 0.099 H 301.0°. Best body text is #FFFFFF at 13.77:1 contrast (WCAG AA passes).

Color values

HEX#392059
RGBrgb(57, 32, 89)
HSLhsl(266, 47%, 24%)
HSVhsv(266, 64%, 35%)
CMYKcmyk(36%, 64%, 0%, 65.1%)
CIE-LABlab(18.47, 25.43, -30.03)
CIE-LCHlch(18.47, 39.35, 310.26°)
OKLaboklab(30.8% 0.051 -0.0851)
OKLCHoklch(30.8% 0.099 301)
XYZxyz(4.0066, 2.6241, 9.7447)
Luminance0.0262 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392059 #405920
analogous
#202359 #392059 #552059
triadic
#392059 #593920 #205939
tetradic
#392059 #592023 #405920 #205955
square
#392059 #592023 #405920 #205955
split-complementary
#392059 #595520 #235920
monochromatic
#0E0817 #1C102C #392059 #563086 #7340B3

Accessibility & contrast

On white

13.77
#392059 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #392059
13.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392059#FFFFFF#000000##FFFFFF
##3920591.0013.771.5213.77
#FFFFFF13.771.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#032D5B
Deuteranopia (green-blind)
#0F2D58
Tritanopia (blue-blind)
#322C39
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #392059;
/* rgb */ color: rgb(57, 32, 89);
/* oklch */ color: oklch(30.8% 0.099 301.0);
Tailwind
colors: {
  custom: {
    50: '#725d88',
    500: '#392059',
    950: '#000000',
  },
}
SCSS
$custom: #392059;
$custom-light: #725d88;
$custom-dark: #000000;
JSON
{
  "hex": "#392059",
  "rgb": {
    "r": 57,
    "g": 32,
    "b": 89
  },
  "hsl": {
    "h": 266.316,
    "s": 47.107,
    "l": 23.725
  },
  "oklch": {
    "l": 0.308,
    "c": 0.09923,
    "h": 301
  },
  "luminance": 0.02624
}

Semantic roles & 50–950 ramp

primary
#392059
secondary
#6F8D47
accent
#D7519C
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08040B
muted
#7B797C

Preview Lab

Preview with #392059

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

Preview Lab → · Contrast checker → · Palette generator →

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