#392175#392175

#392175 is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.3% C 0.135 H 290.2°. Best body text is #FFFFFF at 12.74:1 contrast (WCAG AA passes).

Color values

HEX#392175
RGBrgb(57, 33, 117)
HSLhsl(257, 56%, 29%)
HSVhsv(257, 72%, 46%)
CMYKcmyk(51.3%, 71.8%, 0%, 54.1%)
CIE-LABlab(20.99, 33.28, -44.27)
CIE-LCHlch(20.99, 55.38, 306.93°)
OKLaboklab(33.34% 0.0467 -0.127)
OKLCHoklch(33.34% 0.135 290.2)
XYZxyz(5.4412, 3.2417, 17.1652)
Luminance0.0324 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392175 #5D7521
analogous
#213375 #392175 #632175
triadic
#392175 #753921 #217539
tetradic
#392175 #752133 #5D7521 #217563
square
#392175 #752133 #5D7521 #217563
split-complementary
#392175 #756321 #337521
monochromatic
#0C0718 #221445 #392175 #502EA5 #6C46CB

Accessibility & contrast

On white

12.74
#392175 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#392175 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #392175
12.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392175#FFFFFF#000000##FFFFFF
##3921751.0012.741.6512.74
#FFFFFF12.741.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003478
Deuteranopia (green-blind)
#003073
Tritanopia (blue-blind)
#253648
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #392175;
/* rgb */ color: rgb(57, 33, 117);
/* oklch */ color: oklch(33.3% 0.135 290.2);
Tailwind
colors: {
  custom: {
    50: '#765e9e',
    500: '#392175',
    950: '#000000',
  },
}
SCSS
$custom: #392175;
$custom-light: #765e9e;
$custom-dark: #000000;
JSON
{
  "hex": "#392175",
  "rgb": {
    "r": 57,
    "g": 33,
    "b": 117
  },
  "hsl": {
    "h": 257.143,
    "s": 56,
    "l": 29.412
  },
  "oklch": {
    "l": 0.3334,
    "c": 0.13529,
    "h": 290.2
  },
  "luminance": 0.03242
}

Semantic roles & 50–950 ramp

primary
#392175
secondary
#8DA84A
accent
#DF49B4
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #392175

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

Preview Lab → · Contrast checker → · Palette generator →

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