#392884#392884

#392884 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 35.8% C 0.146 H 284.8°. Best body text is #FFFFFF at 11.60:1 contrast (WCAG AA passes).

Color values

HEX#392884
RGBrgb(57, 40, 132)
HSLhsl(251, 53%, 34%)
HSVhsv(251, 70%, 52%)
CMYKcmyk(56.8%, 69.7%, 0%, 48.2%)
CIE-LABlab(23.85, 33.86, -49.12)
CIE-LCHlch(23.85, 59.66, 304.58°)
OKLaboklab(35.81% 0.0372 -0.1412)
OKLCHoklch(35.81% 0.146 284.8)
XYZxyz(6.6097, 4.0530, 22.2593)
Luminance0.0405 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392884 #738428
analogous
#284584 #392884 #672884
triadic
#392884 #843928 #288439
tetradic
#392884 #842845 #738428 #288467
square
#392884 #842845 #738428 #288467
split-complementary
#392884 #846728 #458428
monochromatic
#100C26 #251A55 #392884 #4D36B3 #6F5ACD

Accessibility & contrast

On white

11.60
#392884 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#392884 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #392884
11.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392884#FFFFFF#000000##FFFFFF
##3928841.0011.601.8111.60
#FFFFFF11.601.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B87
Deuteranopia (green-blind)
#003682
Tritanopia (blue-blind)
#174052
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #392884;
/* rgb */ color: rgb(57, 40, 132);
/* oklch */ color: oklch(35.8% 0.146 284.8);
Tailwind
colors: {
  custom: {
    50: '#7863a9',
    500: '#392884',
    950: '#000000',
  },
}
SCSS
$custom: #392884;
$custom-light: #7863a9;
$custom-dark: #000000;
JSON
{
  "hex": "#392884",
  "rgb": {
    "r": 57,
    "g": 40,
    "b": 132
  },
  "hsl": {
    "h": 251.087,
    "s": 53.488,
    "l": 33.725
  },
  "oklch": {
    "l": 0.35807,
    "c": 0.14602,
    "h": 284.8
  },
  "luminance": 0.04053
}

Semantic roles & 50–950 ramp

primary
#392884
secondary
#A1B256
accent
#DD4BC2
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0510
muted
#7C7A7F

Preview Lab

Preview with #392884

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

Preview Lab → · Contrast checker → · Palette generator →

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