#392888#392888

#392888 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.2% C 0.151 H 284.0°. Best body text is #FFFFFF at 11.46:1 contrast (WCAG AA passes).

Color values

HEX#392888
RGBrgb(57, 40, 136)
HSLhsl(251, 55%, 35%)
HSVhsv(251, 71%, 53%)
CMYKcmyk(58.1%, 70.6%, 0%, 46.7%)
CIE-LABlab(24.21, 35.15, -51.03)
CIE-LCHlch(24.21, 61.97, 304.56°)
OKLaboklab(36.18% 0.0365 -0.1468)
OKLCHoklch(36.18% 0.151 284)
XYZxyz(6.8887, 4.1646, 23.7286)
Luminance0.0416 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392888 #778828
analogous
#284788 #392888 #692888
triadic
#392888 #883928 #288839
tetradic
#392888 #882847 #778828 #288869
square
#392888 #882847 #778828 #288869
split-complementary
#392888 #886928 #478828
monochromatic
#110C29 #251A59 #392888 #4D36B7 #705BCF

Accessibility & contrast

On white

11.46
#392888 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#392888 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #392888
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392888#FFFFFF#000000##FFFFFF
##3928881.0011.461.8311.46
#FFFFFF11.461.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8B
Deuteranopia (green-blind)
#003686
Tritanopia (blue-blind)
#114154
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #392888;
/* rgb */ color: rgb(57, 40, 136);
/* oklch */ color: oklch(36.2% 0.151 284.0);
Tailwind
colors: {
  custom: {
    50: '#7863ac',
    500: '#392888',
    950: '#000000',
  },
}
SCSS
$custom: #392888;
$custom-light: #7863ac;
$custom-dark: #000000;
JSON
{
  "hex": "#392888",
  "rgb": {
    "r": 57,
    "g": 40,
    "b": 136
  },
  "hsl": {
    "h": 250.625,
    "s": 54.545,
    "l": 34.51
  },
  "oklch": {
    "l": 0.36179,
    "c": 0.15129,
    "h": 284
  },
  "luminance": 0.04165
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #392888

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

Preview Lab → · Contrast checker → · Palette generator →

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