#392676#392676

#392676 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.2% C 0.130 H 288.5°. Best body text is #FFFFFF at 12.26:1 contrast (WCAG AA passes).

Color values

HEX#392676
RGBrgb(57, 38, 118)
HSLhsl(254, 51%, 31%)
HSVhsv(254, 68%, 46%)
CMYKcmyk(51.7%, 67.8%, 0%, 53.7%)
CIE-LABlab(22.17, 30.59, -42.98)
CIE-LCHlch(22.17, 52.75, 305.44°)
OKLaboklab(34.22% 0.0412 -0.1232)
OKLCHoklch(34.22% 0.13 288.5)
XYZxyz(5.6495, 3.5638, 17.5262)
Luminance0.0356 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392676 #637626
analogous
#263B76 #392676 #612676
triadic
#392676 #763926 #267639
tetradic
#392676 #76263B #637626 #267661
square
#392676 #76263B #637626 #267661
split-complementary
#392676 #766126 #3B7626
monochromatic
#0C0819 #231748 #392676 #4F35A4 #6C50C7

Accessibility & contrast

On white

12.26
#392676 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#392676 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #392676
12.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392676#FFFFFF#000000##FFFFFF
##3926761.0012.261.7112.26
#FFFFFF12.261.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003778
Deuteranopia (green-blind)
#003374
Tritanopia (blue-blind)
#24394A
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #392676;
/* rgb */ color: rgb(57, 38, 118);
/* oklch */ color: oklch(34.2% 0.130 288.5);
Tailwind
colors: {
  custom: {
    50: '#75619e',
    500: '#392676',
    950: '#000000',
  },
}
SCSS
$custom: #392676;
$custom-light: #75619e;
$custom-dark: #000000;
JSON
{
  "hex": "#392676",
  "rgb": {
    "r": 57,
    "g": 38,
    "b": 118
  },
  "hsl": {
    "h": 254.25,
    "s": 51.282,
    "l": 30.588
  },
  "oklch": {
    "l": 0.3422,
    "c": 0.12989,
    "h": 288.5
  },
  "luminance": 0.03564
}

Semantic roles & 50–950 ramp

primary
#392676
secondary
#93A84F
accent
#DB4DB9
background
#F7F5F9
surface
#EDEAF2
border
#C8C6CC
text
#09050E
muted
#7B797E

Preview Lab

Preview with #392676

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

Preview Lab → · Contrast checker → · Palette generator →

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