#392090#392090

#392090 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.8% C 0.170 H 284.0°. Best body text is #FFFFFF at 11.78:1 contrast (WCAG AA passes).

Color values

HEX#392090
RGBrgb(57, 32, 144)
HSLhsl(253, 64%, 35%)
HSVhsv(253, 78%, 56%)
CMYKcmyk(60.4%, 77.8%, 0%, 43.5%)
CIE-LABlab(23.39, 42.12, -57.35)
CIE-LCHlch(23.39, 71.16, 306.30°)
OKLaboklab(35.84% 0.0412 -0.1653)
OKLCHoklch(35.84% 0.17 284)
XYZxyz(7.2363, 3.9160, 26.7547)
Luminance0.0392 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392090 #779020
analogous
#203F90 #392090 #712090
triadic
#392090 #903920 #209039
tetradic
#392090 #90203F #779020 #209071
square
#392090 #90203F #779020 #209071
split-complementary
#392090 #907120 #3F9020
monochromatic
#110A2C #25155E #392090 #4D2BC2 #7052D9

Accessibility & contrast

On white

11.78
#392090 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#392090 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #392090
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392090#FFFFFF#000000##FFFFFF
##3920901.0011.781.7811.78
#FFFFFF11.781.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B93
Deuteranopia (green-blind)
#00348E
Tritanopia (blue-blind)
#014057
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #392090;
/* rgb */ color: rgb(57, 32, 144);
/* oklch */ color: oklch(35.8% 0.170 284.0);
Tailwind
colors: {
  custom: {
    50: '#7b5fb2',
    500: '#392090',
    950: '#000000',
  },
}
SCSS
$custom: #392090;
$custom-light: #7b5fb2;
$custom-dark: #000000;
JSON
{
  "hex": "#392090",
  "rgb": {
    "r": 57,
    "g": 32,
    "b": 144
  },
  "hsl": {
    "h": 253.393,
    "s": 63.636,
    "l": 34.51
  },
  "oklch": {
    "l": 0.35836,
    "c": 0.17033,
    "h": 284
  },
  "luminance": 0.03916
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #392090

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

Preview Lab → · Contrast checker → · Palette generator →

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