#392170#392170

#392170 is a dark, vivid violet. Relative luminance 0.031; OKLCH L 32.9% C 0.129 H 291.7°. Best body text is #FFFFFF at 12.92:1 contrast (WCAG AA passes).

Color values

HEX#392170
RGBrgb(57, 33, 112)
HSLhsl(258, 54%, 28%)
HSVhsv(258, 71%, 44%)
CMYKcmyk(49.1%, 70.5%, 0%, 56.1%)
CIE-LABlab(20.55, 31.74, -41.77)
CIE-LCHlch(20.55, 52.46, 307.23°)
OKLaboklab(32.89% 0.0476 -0.1196)
OKLCHoklch(32.89% 0.129 291.7)
XYZxyz(5.1550, 3.1272, 15.6581)
Luminance0.0313 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392170 #587021
analogous
#213070 #392170 #602170
triadic
#392170 #703921 #217039
tetradic
#392170 #702130 #587021 #217060
square
#392170 #702130 #587021 #217060
split-complementary
#392170 #706021 #307021
monochromatic
#0C0718 #211341 #392170 #512F9F #6C44C8

Accessibility & contrast

On white

12.92
#392170 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#392170 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #392170
12.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392170#FFFFFF#000000##FFFFFF
##3921701.0012.921.6312.92
#FFFFFF12.921.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003372
Deuteranopia (green-blind)
#00306E
Tritanopia (blue-blind)
#283445
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #392170;
/* rgb */ color: rgb(57, 33, 112);
/* oklch */ color: oklch(32.9% 0.129 291.7);
Tailwind
colors: {
  custom: {
    50: '#755e9a',
    500: '#392170',
    950: '#000000',
  },
}
SCSS
$custom: #392170;
$custom-light: #755e9a;
$custom-dark: #000000;
JSON
{
  "hex": "#392170",
  "rgb": {
    "r": 57,
    "g": 33,
    "b": 112
  },
  "hsl": {
    "h": 258.228,
    "s": 54.483,
    "l": 28.431
  },
  "oklch": {
    "l": 0.32887,
    "c": 0.12874,
    "h": 291.7
  },
  "luminance": 0.03127
}

Semantic roles & 50–950 ramp

primary
#392170
secondary
#88A449
accent
#DE4AB1
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #392170

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

Preview Lab → · Contrast checker → · Palette generator →

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