#392276#392276

#392276 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 33.6% C 0.135 H 289.7°. Best body text is #FFFFFF at 12.62:1 contrast (WCAG AA passes).

Color values

HEX#392276
RGBrgb(57, 34, 118)
HSLhsl(256, 55%, 30%)
HSVhsv(256, 71%, 46%)
CMYKcmyk(51.7%, 71.2%, 0%, 53.7%)
CIE-LABlab(21.29, 33.00, -44.42)
CIE-LCHlch(21.29, 55.34, 306.61°)
OKLaboklab(33.58% 0.0455 -0.1274)
OKLCHoklch(33.58% 0.135 289.7)
XYZxyz(5.5284, 3.3217, 17.4859)
Luminance0.0332 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392276 #5F7622
analogous
#223576 #392276 #632276
triadic
#392276 #763922 #227639
tetradic
#392276 #762235 #5F7622 #227663
square
#392276 #762235 #5F7622 #227663
split-complementary
#392276 #766322 #357622
monochromatic
#0B0718 #221446 #392276 #5030A6 #6C48CA

Accessibility & contrast

On white

12.62
#392276 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#392276 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #392276
12.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392276#FFFFFF#000000##FFFFFF
##3922761.0012.621.6612.62
#FFFFFF12.621.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003579
Deuteranopia (green-blind)
#003174
Tritanopia (blue-blind)
#243749
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #392276;
/* rgb */ color: rgb(57, 34, 118);
/* oklch */ color: oklch(33.6% 0.135 289.7);
Tailwind
colors: {
  custom: {
    50: '#765f9e',
    500: '#392276',
    950: '#000000',
  },
}
SCSS
$custom: #392276;
$custom-light: #765f9e;
$custom-dark: #000000;
JSON
{
  "hex": "#392276",
  "rgb": {
    "r": 57,
    "g": 34,
    "b": 118
  },
  "hsl": {
    "h": 256.429,
    "s": 55.263,
    "l": 29.804
  },
  "oklch": {
    "l": 0.33583,
    "c": 0.13529,
    "h": 289.7
  },
  "luminance": 0.03322
}

Semantic roles & 50–950 ramp

primary
#392276
secondary
#8FA94B
accent
#DF49B6
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #392276

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

Preview Lab → · Contrast checker → · Palette generator →

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