#392376#392376

#392376 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 33.7% C 0.134 H 289.4°. Best body text is #FFFFFF at 12.53:1 contrast (WCAG AA passes).

Color values

HEX#392376
RGBrgb(57, 35, 118)
HSLhsl(256, 54%, 30%)
HSVhsv(256, 70%, 46%)
CMYKcmyk(51.7%, 70.3%, 0%, 53.7%)
CIE-LABlab(21.50, 32.41, -44.07)
CIE-LCHlch(21.50, 54.70, 306.33°)
OKLaboklab(33.74% 0.0445 -0.1264)
OKLCHoklch(33.74% 0.134 289.4)
XYZxyz(5.5574, 3.3797, 17.4955)
Luminance0.0338 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392376 #607623
analogous
#233676 #392376 #632376
triadic
#392376 #763923 #237639
tetradic
#392376 #762336 #607623 #237663
square
#392376 #762336 #607623 #237663
split-complementary
#392376 #766323 #367623
monochromatic
#0B0718 #221547 #392376 #5031A5 #6C4AC9

Accessibility & contrast

On white

12.53
#392376 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #392376
12.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392376#FFFFFF#000000##FFFFFF
##3923761.0012.531.6812.53
#FFFFFF12.531.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003579
Deuteranopia (green-blind)
#003274
Tritanopia (blue-blind)
#243849
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #392376;
/* rgb */ color: rgb(57, 35, 118);
/* oklch */ color: oklch(33.7% 0.134 289.4);
Tailwind
colors: {
  custom: {
    50: '#765f9e',
    500: '#392376',
    950: '#000000',
  },
}
SCSS
$custom: #392376;
$custom-light: #765f9e;
$custom-dark: #000000;
JSON
{
  "hex": "#392376",
  "rgb": {
    "r": 57,
    "g": 35,
    "b": 118
  },
  "hsl": {
    "h": 255.904,
    "s": 54.248,
    "l": 30
  },
  "oklch": {
    "l": 0.33738,
    "c": 0.13396,
    "h": 289.4
  },
  "luminance": 0.0338
}

Semantic roles & 50–950 ramp

primary
#392376
secondary
#90A94C
accent
#DE4AB7
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09050E
muted
#7B797E

Preview Lab

Preview with #392376

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

Preview Lab → · Contrast checker → · Palette generator →

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