#392399#392399

#392399 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.1% C 0.178 H 281.9°. Best body text is #FFFFFF at 11.20:1 contrast (WCAG AA passes).

Color values

HEX#392399
RGBrgb(57, 35, 153)
HSLhsl(251, 63%, 37%)
HSVhsv(251, 77%, 60%)
CMYKcmyk(62.7%, 77.1%, 0%, 40%)
CIE-LABlab(24.86, 43.32, -60.48)
CIE-LCHlch(24.86, 74.40, 305.61°)
OKLaboklab(37.15% 0.0367 -0.1744)
OKLCHoklch(37.15% 0.178 281.9)
XYZxyz(8.0363, 4.3712, 30.5511)
Luminance0.0437 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392399 #839923
analogous
#234899 #392399 #742399
triadic
#392399 #993923 #239939
tetradic
#392399 #992348 #839923 #239974
square
#392399 #992348 #839923 #239974
split-complementary
#392399 #997423 #489923
monochromatic
#140C35 #261867 #392399 #4C2ECB #745DDA

Accessibility & contrast

On white

11.20
#392399 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#392399 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #392399
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392399#FFFFFF#000000##FFFFFF
##3923991.0011.201.8711.20
#FFFFFF11.201.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F9C
Deuteranopia (green-blind)
#003797
Tritanopia (blue-blind)
#00455D
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #392399;
/* rgb */ color: rgb(57, 35, 153);
/* oklch */ color: oklch(37.1% 0.178 281.9);
Tailwind
colors: {
  custom: {
    50: '#7c61b8',
    500: '#392399',
    950: '#000000',
  },
}
SCSS
$custom: #392399;
$custom-light: #7c61b8;
$custom-dark: #000000;
JSON
{
  "hex": "#392399",
  "rgb": {
    "r": 57,
    "g": 35,
    "b": 153
  },
  "hsl": {
    "h": 251.186,
    "s": 62.766,
    "l": 36.863
  },
  "oklch": {
    "l": 0.37146,
    "c": 0.17826,
    "h": 281.9
  },
  "luminance": 0.04372
}

Semantic roles & 50–950 ramp

primary
#392399
secondary
#ACBE59
accent
#E642C7
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #392399

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

Preview Lab → · Contrast checker → · Palette generator →

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