#392484#392484

#392484 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.2% C 0.151 H 285.7°. Best body text is #FFFFFF at 11.93:1 contrast (WCAG AA passes).

Color values

HEX#392484
RGBrgb(57, 36, 132)
HSLhsl(253, 57%, 33%)
HSVhsv(253, 73%, 52%)
CMYKcmyk(56.8%, 72.7%, 0%, 48.2%)
CIE-LABlab(22.99, 36.22, -50.52)
CIE-LCHlch(22.99, 62.16, 305.64°)
OKLaboklab(35.19% 0.0409 -0.1453)
OKLCHoklch(35.19% 0.151 285.7)
XYZxyz(6.4818, 3.7972, 22.2167)
Luminance0.0380 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392484 #6F8424
analogous
#243F84 #392484 #692484
triadic
#392484 #843924 #248439
tetradic
#392484 #84243F #6F8424 #248469
square
#392484 #84243F #6F8424 #248469
split-complementary
#392484 #846924 #3F8424
monochromatic
#0F0A24 #241754 #392484 #4E31B4 #6E52D0

Accessibility & contrast

On white

11.93
#392484 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#392484 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #392484
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392484#FFFFFF#000000##FFFFFF
##3924841.0011.931.7611.93
#FFFFFF11.931.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003987
Deuteranopia (green-blind)
#003482
Tritanopia (blue-blind)
#173D51
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #392484;
/* rgb */ color: rgb(57, 36, 132);
/* oklch */ color: oklch(35.2% 0.151 285.7);
Tailwind
colors: {
  custom: {
    50: '#7861a9',
    500: '#392484',
    950: '#000000',
  },
}
SCSS
$custom: #392484;
$custom-light: #7861a9;
$custom-dark: #000000;
JSON
{
  "hex": "#392484",
  "rgb": {
    "r": 57,
    "g": 36,
    "b": 132
  },
  "hsl": {
    "h": 253.125,
    "s": 57.143,
    "l": 32.941
  },
  "oklch": {
    "l": 0.35193,
    "c": 0.15095,
    "h": 285.7
  },
  "luminance": 0.03798
}

Semantic roles & 50–950 ramp

primary
#392484
secondary
#9EB450
accent
#E047BF
background
#F7F5FA
surface
#EEEAF4
border
#C9C6CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #392484

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

Preview Lab → · Contrast checker → · Palette generator →

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