#392064#392064

#392064 is a dark, moderate violet. Relative luminance 0.028; OKLCH L 31.7% C 0.114 H 296.2°. Best body text is #FFFFFF at 13.42:1 contrast (WCAG AA passes).

Color values

HEX#392064
RGBrgb(57, 32, 100)
HSLhsl(262, 52%, 26%)
HSVhsv(262, 68%, 39%)
CMYKcmyk(43%, 68%, 0%, 60.8%)
CIE-LABlab(19.32, 28.69, -35.95)
CIE-LCHlch(19.32, 45.99, 308.59°)
OKLaboklab(31.69% 0.0504 -0.1025)
OKLCHoklch(31.69% 0.114 296.2)
XYZxyz(4.5035, 2.8229, 12.3617)
Luminance0.0282 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392064 #4B6420
analogous
#202964 #392064 #5B2064
triadic
#392064 #643920 #206439
tetradic
#392064 #642029 #4B6420 #20645B
square
#392064 #642029 #4B6420 #20645B
split-complementary
#392064 #645B20 #296420
monochromatic
#0D0717 #1F1136 #392064 #532F92 #6E3EC1

Accessibility & contrast

On white

13.42
#392064 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#392064 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #392064
13.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392064#FFFFFF#000000##FFFFFF
##3920641.0013.421.5613.42
#FFFFFF13.421.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F66
Deuteranopia (green-blind)
#002E63
Tritanopia (blue-blind)
#2E303E
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #392064;
/* rgb */ color: rgb(57, 32, 100);
/* oklch */ color: oklch(31.7% 0.114 296.2);
Tailwind
colors: {
  custom: {
    50: '#735d91',
    500: '#392064',
    950: '#000000',
  },
}
SCSS
$custom: #392064;
$custom-light: #735d91;
$custom-dark: #000000;
JSON
{
  "hex": "#392064",
  "rgb": {
    "r": 57,
    "g": 32,
    "b": 100
  },
  "hsl": {
    "h": 262.059,
    "s": 51.515,
    "l": 25.882
  },
  "oklch": {
    "l": 0.31687,
    "c": 0.11419,
    "h": 296.2
  },
  "luminance": 0.02823
}

Semantic roles & 50–950 ramp

primary
#392064
secondary
#7B9848
accent
#DB4DA7
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08040D
muted
#7B797D

Preview Lab

Preview with #392064

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

Preview Lab → · Contrast checker → · Palette generator →

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