#392177#392177

#392177 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 33.5% C 0.138 H 289.6°. Best body text is #FFFFFF at 12.67:1 contrast (WCAG AA passes).

Color values

HEX#392177
RGBrgb(57, 33, 119)
HSLhsl(257, 57%, 30%)
HSVhsv(257, 72%, 47%)
CMYKcmyk(52.1%, 72.3%, 0%, 53.3%)
CIE-LABlab(21.17, 33.89, -45.26)
CIE-LCHlch(21.17, 56.54, 306.83°)
OKLaboklab(33.52% 0.0464 -0.1299)
OKLCHoklch(33.52% 0.138 289.6)
XYZxyz(5.5600, 3.2892, 17.7911)
Luminance0.0329 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392177 #5F7721
analogous
#213477 #392177 #642177
triadic
#392177 #773921 #217739
tetradic
#392177 #772134 #5F7721 #217764
square
#392177 #772134 #5F7721 #217764
split-complementary
#392177 #776421 #347721
monochromatic
#0B0718 #221447 #392177 #502EA7 #6C47CC

Accessibility & contrast

On white

12.67
#392177 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #392177
12.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392177#FFFFFF#000000##FFFFFF
##3921771.0012.671.6612.67
#FFFFFF12.671.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00347A
Deuteranopia (green-blind)
#003175
Tritanopia (blue-blind)
#243749
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #392177;
/* rgb */ color: rgb(57, 33, 119);
/* oklch */ color: oklch(33.5% 0.138 289.6);
Tailwind
colors: {
  custom: {
    50: '#765e9f',
    500: '#392177',
    950: '#000000',
  },
}
SCSS
$custom: #392177;
$custom-light: #765e9f;
$custom-dark: #000000;
JSON
{
  "hex": "#392177",
  "rgb": {
    "r": 57,
    "g": 33,
    "b": 119
  },
  "hsl": {
    "h": 256.744,
    "s": 56.579,
    "l": 29.804
  },
  "oklch": {
    "l": 0.33524,
    "c": 0.13789,
    "h": 289.6
  },
  "luminance": 0.03289
}

Semantic roles & 50–950 ramp

primary
#392177
secondary
#8FAA4A
accent
#E048B5
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040F
muted
#7B797E

Preview Lab

Preview with #392177

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

Preview Lab → · Contrast checker → · Palette generator →

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