#392094#392094

#392094 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.2% C 0.175 H 283.2°. Best body text is #FFFFFF at 11.61:1 contrast (WCAG AA passes).

Color values

HEX#392094
RGBrgb(57, 32, 148)
HSLhsl(253, 64%, 35%)
HSVhsv(253, 78%, 58%)
CMYKcmyk(61.5%, 78.4%, 0%, 42%)
CIE-LABlab(23.80, 43.34, -59.15)
CIE-LCHlch(23.80, 73.32, 306.23°)
OKLaboklab(36.25% 0.04 -0.1705)
OKLCHoklch(36.25% 0.175 283.2)
XYZxyz(7.5475, 4.0405, 28.3934)
Luminance0.0404 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392094 #7B9420
analogous
#204194 #392094 #732094
triadic
#392094 #943920 #209439
tetradic
#392094 #942041 #7B9420 #209473
square
#392094 #942041 #7B9420 #209473
split-complementary
#392094 #947320 #419420
monochromatic
#120A2F #261562 #392094 #4C2BC6 #7154DA

Accessibility & contrast

On white

11.61
#392094 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#392094 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #392094
11.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392094#FFFFFF#000000##FFFFFF
##3920941.0011.611.8111.61
#FFFFFF11.611.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C97
Deuteranopia (green-blind)
#003592
Tritanopia (blue-blind)
#004259
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #392094;
/* rgb */ color: rgb(57, 32, 148);
/* oklch */ color: oklch(36.2% 0.175 283.2);
Tailwind
colors: {
  custom: {
    50: '#7b5fb5',
    500: '#392094',
    950: '#000000',
  },
}
SCSS
$custom: #392094;
$custom-light: #7b5fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#392094",
  "rgb": {
    "r": 57,
    "g": 32,
    "b": 148
  },
  "hsl": {
    "h": 252.931,
    "s": 64.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.36249,
    "c": 0.17516,
    "h": 283.2
  },
  "luminance": 0.04041
}

Semantic roles & 50–950 ramp

primary
#392094
secondary
#A6BE52
accent
#E740C3
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #392094

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

Preview Lab → · Contrast checker → · Palette generator →

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