#392A79#392A79

#392A79 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.2% C 0.128 H 286.5°. Best body text is #FFFFFF at 11.79:1 contrast (WCAG AA passes).

Color values

HEX#392A79
RGBrgb(57, 42, 121)
HSLhsl(251, 48%, 32%)
HSVhsv(251, 65%, 47%)
CMYKcmyk(52.9%, 65.3%, 0%, 52.5%)
CIE-LABlab(23.36, 29.06, -42.96)
CIE-LCHlch(23.36, 51.87, 304.07°)
OKLaboklab(35.16% 0.0365 -0.1231)
OKLCHoklch(35.16% 0.128 286.5)
XYZxyz(5.9655, 3.9060, 18.5250)
Luminance0.0391 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392A79 #6A792A
analogous
#2A4379 #392A79 #612A79
triadic
#392A79 #79392A #2A7939
tetradic
#392A79 #792A43 #6A792A #2A7961
square
#392A79 #792A43 #6A792A #2A7961
split-complementary
#392A79 #79612A #43792A
monochromatic
#0E0A1E #241A4C #392A79 #4E3AA6 #6D58C5

Accessibility & contrast

On white

11.79
#392A79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#392A79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #392A79
11.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392A79#FFFFFF#000000##FFFFFF
##392A791.0011.791.7811.79
#FFFFFF11.791.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A7C
Deuteranopia (green-blind)
#003577
Tritanopia (blue-blind)
#213D4D
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #392a79;
/* rgb */ color: rgb(57, 42, 121);
/* oklch */ color: oklch(35.2% 0.128 286.5);
Tailwind
colors: {
  custom: {
    50: '#7664a0',
    500: '#392a79',
    950: '#000000',
  },
}
SCSS
$custom: #392a79;
$custom-light: #7664a0;
$custom-dark: #000000;
JSON
{
  "hex": "#392a79",
  "rgb": {
    "r": 57,
    "g": 42,
    "b": 121
  },
  "hsl": {
    "h": 251.392,
    "s": 48.466,
    "l": 31.961
  },
  "oklch": {
    "l": 0.35159,
    "c": 0.12842,
    "h": 286.5
  },
  "luminance": 0.03906
}

Semantic roles & 50–950 ramp

primary
#392A79
secondary
#9AAB54
accent
#D850BE
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#09050F
muted
#7B7A7E

Preview Lab

Preview with #392A79

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

Preview Lab → · Contrast checker → · Palette generator →

#392A79 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva