#392293#392293

#392293 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.4% C 0.172 H 283.1°. Best body text is #FFFFFF at 11.51:1 contrast (WCAG AA passes).

Color values

HEX#392293
RGBrgb(57, 34, 147)
HSLhsl(252, 62%, 35%)
HSVhsv(252, 77%, 58%)
CMYKcmyk(61.2%, 76.9%, 0%, 42.4%)
CIE-LABlab(24.06, 42.00, -58.10)
CIE-LCHlch(24.06, 71.69, 305.86°)
OKLaboklab(36.4% 0.0389 -0.1675)
OKLCHoklch(36.4% 0.172 283.1)
XYZxyz(7.5242, 4.1200, 27.9969)
Luminance0.0412 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392293 #7C9322
analogous
#224493 #392293 #712293
triadic
#392293 #933922 #229339
tetradic
#392293 #932244 #7C9322 #229371
square
#392293 #932244 #7C9322 #229371
split-complementary
#392293 #937122 #449322
monochromatic
#120B30 #261761 #392293 #4C2DC5 #7157D8

Accessibility & contrast

On white

11.51
#392293 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#392293 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #392293
11.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392293#FFFFFF#000000##FFFFFF
##3922931.0011.511.8211.51
#FFFFFF11.511.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.511.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #392293;
/* rgb */ color: rgb(57, 34, 147);
/* oklch */ color: oklch(36.4% 0.172 283.1);
Tailwind
colors: {
  custom: {
    50: '#7b60b4',
    500: '#392293',
    950: '#000000',
  },
}
SCSS
$custom: #392293;
$custom-light: #7b60b4;
$custom-dark: #000000;
JSON
{
  "hex": "#392293",
  "rgb": {
    "r": 57,
    "g": 34,
    "b": 147
  },
  "hsl": {
    "h": 252.212,
    "s": 62.431,
    "l": 35.49
  },
  "oklch": {
    "l": 0.364,
    "c": 0.17196,
    "h": 283.1
  },
  "luminance": 0.0412
}

Semantic roles & 50–950 ramp

primary
#392293
secondary
#A7BC55
accent
#E542C4
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #392293

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

Preview Lab → · Contrast checker → · Palette generator →

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