#392098#392098

#392098 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.7% C 0.180 H 282.5°. Best body text is #FFFFFF at 11.45:1 contrast (WCAG AA passes).

Color values

HEX#392098
RGBrgb(57, 32, 152)
HSLhsl(253, 65%, 36%)
HSVhsv(253, 79%, 60%)
CMYKcmyk(62.5%, 78.9%, 0%, 40.4%)
CIE-LABlab(24.22, 44.55, -60.92)
CIE-LCHlch(24.22, 75.47, 306.18°)
OKLaboklab(36.67% 0.0389 -0.1757)
OKLCHoklch(36.67% 0.18 282.5)
XYZxyz(7.8696, 4.1693, 30.0897)
Luminance0.0417 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392098 #7F9820
analogous
#204398 #392098 #752098
triadic
#392098 #983920 #209839
tetradic
#392098 #982043 #7F9820 #209875
square
#392098 #982043 #7F9820 #209875
split-complementary
#392098 #987520 #439820
monochromatic
#130B33 #261565 #392098 #4C2BCB #7257DC

Accessibility & contrast

On white

11.45
#392098 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#392098 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #392098
11.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392098#FFFFFF#000000##FFFFFF
##3920981.0011.451.8311.45
#FFFFFF11.451.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D9B
Deuteranopia (green-blind)
#003596
Tritanopia (blue-blind)
#00435B
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #392098;
/* rgb */ color: rgb(57, 32, 152);
/* oklch */ color: oklch(36.7% 0.180 282.5);
Tailwind
colors: {
  custom: {
    50: '#7c5fb7',
    500: '#392098',
    950: '#000000',
  },
}
SCSS
$custom: #392098;
$custom-light: #7c5fb7;
$custom-dark: #000000;
JSON
{
  "hex": "#392098",
  "rgb": {
    "r": 57,
    "g": 32,
    "b": 152
  },
  "hsl": {
    "h": 252.5,
    "s": 65.217,
    "l": 36.078
  },
  "oklch": {
    "l": 0.36667,
    "c": 0.17995,
    "h": 282.5
  },
  "luminance": 0.0417
}

Semantic roles & 50–950 ramp

primary
#392098
secondary
#A9BF54
accent
#E840C5
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #392098

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

Preview Lab → · Contrast checker → · Palette generator →

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