#392379#392379

#392379 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.0% C 0.138 H 288.6°. Best body text is #FFFFFF at 12.42:1 contrast (WCAG AA passes).

Color values

HEX#392379
RGBrgb(57, 35, 121)
HSLhsl(255, 55%, 31%)
HSVhsv(255, 71%, 47%)
CMYKcmyk(52.9%, 71.1%, 0%, 52.5%)
CIE-LABlab(21.77, 33.35, -45.55)
CIE-LCHlch(21.77, 56.45, 306.21°)
OKLaboklab(34.01% 0.044 -0.1307)
OKLCHoklch(34.01% 0.138 288.6)
XYZxyz(5.7386, 3.4521, 18.4494)
Luminance0.0345 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392379 #637923
analogous
#233879 #392379 #642379
triadic
#392379 #793923 #237939
tetradic
#392379 #792338 #637923 #237964
square
#392379 #792338 #637923 #237964
split-complementary
#392379 #796423 #387923
monochromatic
#0C081A #23154A #392379 #4F31A8 #6C4BCB

Accessibility & contrast

On white

12.42
#392379 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#392379 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #392379
12.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392379#FFFFFF#000000##FFFFFF
##3923791.0012.421.6912.42
#FFFFFF12.421.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00367C
Deuteranopia (green-blind)
#003277
Tritanopia (blue-blind)
#22394B
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #392379;
/* rgb */ color: rgb(57, 35, 121);
/* oklch */ color: oklch(34.0% 0.138 288.6);
Tailwind
colors: {
  custom: {
    50: '#7660a0',
    500: '#392379',
    950: '#000000',
  },
}
SCSS
$custom: #392379;
$custom-light: #7660a0;
$custom-dark: #000000;
JSON
{
  "hex": "#392379",
  "rgb": {
    "r": 57,
    "g": 35,
    "b": 121
  },
  "hsl": {
    "h": 255.349,
    "s": 55.128,
    "l": 30.588
  },
  "oklch": {
    "l": 0.34012,
    "c": 0.13792,
    "h": 288.6
  },
  "luminance": 0.03452
}

Semantic roles & 50–950 ramp

primary
#392379
secondary
#93AC4C
accent
#DE49B8
background
#F7F5FA
surface
#EDE9F3
border
#C8C5CD
text
#09050F
muted
#7B797F

Preview Lab

Preview with #392379

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

Preview Lab → · Contrast checker → · Palette generator →

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