#392879#392879

#392879 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 34.8% C 0.131 H 287.1°. Best body text is #FFFFFF at 11.98:1 contrast (WCAG AA passes).

Color values

HEX#392879
RGBrgb(57, 40, 121)
HSLhsl(253, 50%, 32%)
HSVhsv(253, 67%, 47%)
CMYKcmyk(52.9%, 66.9%, 0%, 52.5%)
CIE-LABlab(22.89, 30.31, -43.73)
CIE-LCHlch(22.89, 53.21, 304.73°)
OKLaboklab(34.82% 0.0387 -0.1254)
OKLCHoklch(34.82% 0.131 287.1)
XYZxyz(5.8963, 3.7676, 18.5020)
Luminance0.0377 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392879 #687928
analogous
#284079 #392879 #622879
triadic
#392879 #793928 #287939
tetradic
#392879 #792840 #687928 #287962
square
#392879 #792840 #687928 #287962
split-complementary
#392879 #796228 #407928
monochromatic
#0E0A1D #23194B #392879 #4F37A7 #6D55C7

Accessibility & contrast

On white

11.98
#392879 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #392879
11.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392879#FFFFFF#000000##FFFFFF
##3928791.0011.981.7511.98
#FFFFFF11.981.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00397C
Deuteranopia (green-blind)
#003477
Tritanopia (blue-blind)
#213C4C
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #392879;
/* rgb */ color: rgb(57, 40, 121);
/* oklch */ color: oklch(34.8% 0.131 287.1);
Tailwind
colors: {
  custom: {
    50: '#7663a0',
    500: '#392879',
    950: '#000000',
  },
}
SCSS
$custom: #392879;
$custom-light: #7663a0;
$custom-dark: #000000;
JSON
{
  "hex": "#392879",
  "rgb": {
    "r": 57,
    "g": 40,
    "b": 121
  },
  "hsl": {
    "h": 252.593,
    "s": 50.311,
    "l": 31.569
  },
  "oklch": {
    "l": 0.34817,
    "c": 0.13121,
    "h": 287.1
  },
  "luminance": 0.03768
}

Semantic roles & 50–950 ramp

primary
#392879
secondary
#98AB52
accent
#DA4EBC
background
#F7F5F9
surface
#EDEAF2
border
#C8C6CC
text
#09050F
muted
#7B797E

Preview Lab

Preview with #392879

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

Preview Lab → · Contrast checker → · Palette generator →

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