#392193#392193

#392193 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.3% C 0.173 H 283.2°. Best body text is #FFFFFF at 11.58:1 contrast (WCAG AA passes).

Color values

HEX#392193
RGBrgb(57, 33, 147)
HSLhsl(253, 63%, 35%)
HSVhsv(253, 78%, 58%)
CMYKcmyk(61.2%, 77.6%, 0%, 42.4%)
CIE-LABlab(23.88, 42.52, -58.40)
CIE-LCHlch(23.88, 72.24, 306.06°)
OKLaboklab(36.27% 0.0396 -0.1684)
OKLCHoklch(36.27% 0.173 283.2)
XYZxyz(7.4960, 4.0637, 27.9875)
Luminance0.0406 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392193 #7B9321
analogous
#214293 #392193 #722193
triadic
#392193 #933921 #219339
tetradic
#392193 #932142 #7B9321 #219372
square
#392193 #932142 #7B9321 #219372
split-complementary
#392193 #937221 #429321
monochromatic
#120B2F #261661 #392193 #4C2CC5 #7155D9

Accessibility & contrast

On white

11.58
#392193 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #392193
11.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392193#FFFFFF#000000##FFFFFF
##3921931.0011.581.8111.58
#FFFFFF11.581.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.581.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #392193;
/* rgb */ color: rgb(57, 33, 147);
/* oklch */ color: oklch(36.3% 0.173 283.2);
Tailwind
colors: {
  custom: {
    50: '#7b60b4',
    500: '#392193',
    950: '#000000',
  },
}
SCSS
$custom: #392193;
$custom-light: #7b60b4;
$custom-dark: #000000;
JSON
{
  "hex": "#392193",
  "rgb": {
    "r": 57,
    "g": 33,
    "b": 147
  },
  "hsl": {
    "h": 252.632,
    "s": 63.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.36271,
    "c": 0.17296,
    "h": 283.2
  },
  "luminance": 0.04064
}

Semantic roles & 50–950 ramp

primary
#392193
secondary
#A6BD53
accent
#E641C4
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #392193

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

Preview Lab → · Contrast checker → · Palette generator →

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