#392498#392498

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

Color values

HEX#392498
RGBrgb(57, 36, 152)
HSLhsl(251, 62%, 37%)
HSVhsv(251, 76%, 60%)
CMYKcmyk(62.5%, 76.3%, 0%, 40.4%)
CIE-LABlab(24.95, 42.48, -59.73)
CIE-LCHlch(24.95, 73.30, 305.42°)
OKLaboklab(37.17% 0.0363 -0.1723)
OKLCHoklch(37.17% 0.176 281.9)
XYZxyz(7.9839, 4.3980, 30.1279)
Luminance0.0440 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392498 #839824
analogous
#244998 #392498 #732498
triadic
#392498 #983924 #249839
tetradic
#392498 #982449 #839824 #249873
square
#392498 #982449 #839824 #249873
split-complementary
#392498 #987324 #499824
monochromatic
#140D35 #261867 #392498 #4C30C9 #745ED9

Accessibility & contrast

On white

11.17
#392498 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#392498 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #392498
11.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392498#FFFFFF#000000##FFFFFF
##3924981.0011.171.8811.17
#FFFFFF11.171.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.171.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: #392498;
/* rgb */ color: rgb(57, 36, 152);
/* oklch */ color: oklch(37.2% 0.176 281.9);
Tailwind
colors: {
  custom: {
    50: '#7c62b7',
    500: '#392498',
    950: '#000000',
  },
}
SCSS
$custom: #392498;
$custom-light: #7c62b7;
$custom-dark: #000000;
JSON
{
  "hex": "#392498",
  "rgb": {
    "r": 57,
    "g": 36,
    "b": 152
  },
  "hsl": {
    "h": 250.862,
    "s": 61.702,
    "l": 36.863
  },
  "oklch": {
    "l": 0.37173,
    "c": 0.17603,
    "h": 281.9
  },
  "luminance": 0.04399
}

Semantic roles & 50–950 ramp

primary
#392498
secondary
#ACBE5A
accent
#E543C8
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #392498

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

Preview Lab → · Contrast checker → · Palette generator →

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