#392279#392279

#392279 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 33.9% C 0.139 H 288.8°. Best body text is #FFFFFF at 12.51:1 contrast (WCAG AA passes).

Color values

HEX#392279
RGBrgb(57, 34, 121)
HSLhsl(256, 56%, 30%)
HSVhsv(256, 72%, 47%)
CMYKcmyk(52.9%, 71.9%, 0%, 52.5%)
CIE-LABlab(21.56, 33.93, -45.90)
CIE-LCHlch(21.56, 57.08, 306.48°)
OKLaboklab(33.86% 0.045 -0.1317)
OKLCHoklch(33.86% 0.139 288.8)
XYZxyz(5.7096, 3.3941, 18.4397)
Luminance0.0339 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392279 #627922
analogous
#223679 #392279 #642279
triadic
#392279 #793922 #227939
tetradic
#392279 #792236 #627922 #227964
square
#392279 #792236 #627922 #227964
split-complementary
#392279 #796422 #367922
monochromatic
#0C0719 #221549 #392279 #502FA9 #6C49CC

Accessibility & contrast

On white

12.51
#392279 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#392279 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #392279
12.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392279#FFFFFF#000000##FFFFFF
##3922791.0012.511.6812.51
#FFFFFF12.511.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00357C
Deuteranopia (green-blind)
#003177
Tritanopia (blue-blind)
#22384A
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #392279;
/* rgb */ color: rgb(57, 34, 121);
/* oklch */ color: oklch(33.9% 0.139 288.8);
Tailwind
colors: {
  custom: {
    50: '#765fa0',
    500: '#392279',
    950: '#000000',
  },
}
SCSS
$custom: #392279;
$custom-light: #765fa0;
$custom-dark: #000000;
JSON
{
  "hex": "#392279",
  "rgb": {
    "r": 57,
    "g": 34,
    "b": 121
  },
  "hsl": {
    "h": 255.862,
    "s": 56.129,
    "l": 30.392
  },
  "oklch": {
    "l": 0.33859,
    "c": 0.13921,
    "h": 288.8
  },
  "luminance": 0.03394
}

Semantic roles & 50–950 ramp

primary
#392279
secondary
#92AC4B
accent
#DF48B7
background
#F7F5FA
surface
#EDE9F3
border
#C8C5CD
text
#09050F
muted
#7B797F

Preview Lab

Preview with #392279

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

Preview Lab → · Contrast checker → · Palette generator →

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