#392889#392889

#392889 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.3% C 0.153 H 283.8°. Best body text is #FFFFFF at 11.42:1 contrast (WCAG AA passes).

Color values

HEX#392889
RGBrgb(57, 40, 137)
HSLhsl(251, 55%, 35%)
HSVhsv(251, 71%, 54%)
CMYKcmyk(58.4%, 70.8%, 0%, 46.3%)
CIE-LABlab(24.30, 35.48, -51.51)
CIE-LCHlch(24.30, 62.54, 304.56°)
OKLaboklab(36.27% 0.0364 -0.1482)
OKLCHoklch(36.27% 0.153 283.8)
XYZxyz(6.9601, 4.1932, 24.1047)
Luminance0.0419 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392889 #788928
analogous
#284889 #392889 #692889
triadic
#392889 #893928 #288939
tetradic
#392889 #892848 #788928 #288969
square
#392889 #892848 #788928 #288969
split-complementary
#392889 #896928 #488928
monochromatic
#120C2A #251A5A #392889 #4D36B8 #705CCF

Accessibility & contrast

On white

11.42
#392889 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#392889 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #392889
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392889#FFFFFF#000000##FFFFFF
##3928891.0011.421.8411.42
#FFFFFF11.421.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8C
Deuteranopia (green-blind)
#003787
Tritanopia (blue-blind)
#104155
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #392889;
/* rgb */ color: rgb(57, 40, 137);
/* oklch */ color: oklch(36.3% 0.153 283.8);
Tailwind
colors: {
  custom: {
    50: '#7963ac',
    500: '#392889',
    950: '#000000',
  },
}
SCSS
$custom: #392889;
$custom-light: #7963ac;
$custom-dark: #000000;
JSON
{
  "hex": "#392889",
  "rgb": {
    "r": 57,
    "g": 40,
    "b": 137
  },
  "hsl": {
    "h": 250.515,
    "s": 54.802,
    "l": 34.706
  },
  "oklch": {
    "l": 0.36273,
    "c": 0.1526,
    "h": 283.8
  },
  "luminance": 0.04194
}

Semantic roles & 50–950 ramp

primary
#392889
secondary
#A4B558
accent
#DE4AC4
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0510
muted
#7C7A7F

Preview Lab

Preview with #392889

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

Preview Lab → · Contrast checker → · Palette generator →

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