#392091#392091

#392091 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.9% C 0.172 H 283.8°. Best body text is #FFFFFF at 11.74:1 contrast (WCAG AA passes).

Color values

HEX#392091
RGBrgb(57, 32, 145)
HSLhsl(253, 64%, 35%)
HSVhsv(253, 78%, 57%)
CMYKcmyk(60.7%, 77.9%, 0%, 43.1%)
CIE-LABlab(23.49, 42.43, -57.80)
CIE-LCHlch(23.49, 71.70, 306.28°)
OKLaboklab(35.94% 0.0409 -0.1666)
OKLCHoklch(35.94% 0.172 283.8)
XYZxyz(7.3131, 3.9467, 27.1590)
Luminance0.0395 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392091 #789120
analogous
#204091 #392091 #712091
triadic
#392091 #913920 #209139
tetradic
#392091 #912040 #789120 #209171
square
#392091 #912040 #789120 #209171
split-complementary
#392091 #917120 #409120
monochromatic
#120A2D #25155F #392091 #4D2BC3 #7052D9

Accessibility & contrast

On white

11.74
#392091 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#392091 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #392091
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392091#FFFFFF#000000##FFFFFF
##3920911.0011.741.7911.74
#FFFFFF11.741.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B94
Deuteranopia (green-blind)
#00348F
Tritanopia (blue-blind)
#004057
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #392091;
/* rgb */ color: rgb(57, 32, 145);
/* oklch */ color: oklch(35.9% 0.172 283.8);
Tailwind
colors: {
  custom: {
    50: '#7b5fb2',
    500: '#392091',
    950: '#000000',
  },
}
SCSS
$custom: #392091;
$custom-light: #7b5fb2;
$custom-dark: #000000;
JSON
{
  "hex": "#392091",
  "rgb": {
    "r": 57,
    "g": 32,
    "b": 145
  },
  "hsl": {
    "h": 253.274,
    "s": 63.842,
    "l": 34.706
  },
  "oklch": {
    "l": 0.35939,
    "c": 0.17154,
    "h": 283.8
  },
  "luminance": 0.03947
}

Semantic roles & 50–950 ramp

primary
#392091
secondary
#A4BC51
accent
#E741C2
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #392091

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

Preview Lab → · Contrast checker → · Palette generator →

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