#392384#392384

#392384 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.0% C 0.152 H 285.9°. Best body text is #FFFFFF at 12.02:1 contrast (WCAG AA passes).

Color values

HEX#392384
RGBrgb(57, 35, 132)
HSLhsl(254, 58%, 33%)
HSVhsv(254, 73%, 52%)
CMYKcmyk(56.8%, 73.5%, 0%, 48.2%)
CIE-LABlab(22.78, 36.79, -50.86)
CIE-LCHlch(22.78, 62.77, 305.88°)
OKLaboklab(35.05% 0.0418 -0.1463)
OKLCHoklch(35.05% 0.152 285.9)
XYZxyz(6.4520, 3.7375, 22.2068)
Luminance0.0374 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392384 #6E8423
analogous
#233E84 #392384 #692384
triadic
#392384 #843923 #238439
tetradic
#392384 #84233E #6E8423 #238469
square
#392384 #84233E #6E8423 #238469
split-complementary
#392384 #846923 #3E8423
monochromatic
#0F0923 #241654 #392384 #4E30B4 #6E51D1

Accessibility & contrast

On white

12.02
#392384 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#392384 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #392384
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392384#FFFFFF#000000##FFFFFF
##3923841.0012.021.7512.02
#FFFFFF12.021.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #392384;
/* rgb */ color: rgb(57, 35, 132);
/* oklch */ color: oklch(35.0% 0.152 285.9);
Tailwind
colors: {
  custom: {
    50: '#7860a9',
    500: '#392384',
    950: '#000000',
  },
}
SCSS
$custom: #392384;
$custom-light: #7860a9;
$custom-dark: #000000;
JSON
{
  "hex": "#392384",
  "rgb": {
    "r": 57,
    "g": 35,
    "b": 132
  },
  "hsl": {
    "h": 253.608,
    "s": 58.084,
    "l": 32.745
  },
  "oklch": {
    "l": 0.35047,
    "c": 0.15215,
    "h": 285.9
  },
  "luminance": 0.03738
}

Semantic roles & 50–950 ramp

primary
#392384
secondary
#9DB44E
accent
#E146BE
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #392384

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

Preview Lab → · Contrast checker → · Palette generator →

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