#392092#392092

#392092 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.0% C 0.173 H 283.6°. Best body text is #FFFFFF at 11.70:1 contrast (WCAG AA passes).

Color values

HEX#392092
RGBrgb(57, 32, 146)
HSLhsl(253, 64%, 35%)
HSVhsv(253, 78%, 57%)
CMYKcmyk(61%, 78.1%, 0%, 42.7%)
CIE-LABlab(23.60, 42.73, -58.25)
CIE-LCHlch(23.60, 72.25, 306.26°)
OKLaboklab(36.04% 0.0406 -0.1679)
OKLCHoklch(36.04% 0.173 283.6)
XYZxyz(7.3906, 3.9777, 27.5669)
Luminance0.0398 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392092 #799220
analogous
#204092 #392092 #722092
triadic
#392092 #923920 #209239
tetradic
#392092 #922040 #799220 #209272
square
#392092 #922040 #799220 #209272
split-complementary
#392092 #927220 #409220
monochromatic
#120A2E #251560 #392092 #4D2BC4 #7153D9

Accessibility & contrast

On white

11.70
#392092 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#392092 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #392092
11.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392092#FFFFFF#000000##FFFFFF
##3920921.0011.701.8011.70
#FFFFFF11.701.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C95
Deuteranopia (green-blind)
#003490
Tritanopia (blue-blind)
#004158
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #392092;
/* rgb */ color: rgb(57, 32, 146);
/* oklch */ color: oklch(36.0% 0.173 283.6);
Tailwind
colors: {
  custom: {
    50: '#7b5fb3',
    500: '#392092',
    950: '#000000',
  },
}
SCSS
$custom: #392092;
$custom-light: #7b5fb3;
$custom-dark: #000000;
JSON
{
  "hex": "#392092",
  "rgb": {
    "r": 57,
    "g": 32,
    "b": 146
  },
  "hsl": {
    "h": 253.158,
    "s": 64.045,
    "l": 34.902
  },
  "oklch": {
    "l": 0.36042,
    "c": 0.17275,
    "h": 283.6
  },
  "luminance": 0.03978
}

Semantic roles & 50–950 ramp

primary
#392092
secondary
#A5BD51
accent
#E741C3
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #392092

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

Preview Lab → · Contrast checker → · Palette generator →

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