#392398#392398

#392398 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.0% C 0.177 H 282.0°. Best body text is #FFFFFF at 11.24:1 contrast (WCAG AA passes).

Color values

HEX#392398
RGBrgb(57, 35, 152)
HSLhsl(251, 63%, 37%)
HSVhsv(251, 77%, 60%)
CMYKcmyk(62.5%, 77%, 0%, 40.4%)
CIE-LABlab(24.76, 43.01, -60.04)
CIE-LCHlch(24.76, 73.85, 305.62°)
OKLaboklab(37.04% 0.0369 -0.1731)
OKLCHoklch(37.04% 0.177 282)
XYZxyz(7.9541, 4.3384, 30.1179)
Luminance0.0434 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392398 #829823
analogous
#234898 #392398 #742398
triadic
#392398 #983923 #239839
tetradic
#392398 #982348 #829823 #239874
square
#392398 #982348 #829823 #239874
split-complementary
#392398 #987423 #489823
monochromatic
#140C35 #261866 #392398 #4C2ECA #745CD9

Accessibility & contrast

On white

11.24
#392398 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #392398
11.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392398#FFFFFF#000000##FFFFFF
##3923981.0011.241.8711.24
#FFFFFF11.241.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F9B
Deuteranopia (green-blind)
#003796
Tritanopia (blue-blind)
#00455C
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #392398;
/* rgb */ color: rgb(57, 35, 152);
/* oklch */ color: oklch(37.0% 0.177 282.0);
Tailwind
colors: {
  custom: {
    50: '#7c61b7',
    500: '#392398',
    950: '#000000',
  },
}
SCSS
$custom: #392398;
$custom-light: #7c61b7;
$custom-dark: #000000;
JSON
{
  "hex": "#392398",
  "rgb": {
    "r": 57,
    "g": 35,
    "b": 152
  },
  "hsl": {
    "h": 251.282,
    "s": 62.567,
    "l": 36.667
  },
  "oklch": {
    "l": 0.37043,
    "c": 0.17704,
    "h": 282
  },
  "luminance": 0.04339
}

Semantic roles & 50–950 ramp

primary
#392398
secondary
#ABBE59
accent
#E642C7
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #392398

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

Preview Lab → · Contrast checker → · Palette generator →

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