#392088#392088

#392088 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.0% C 0.161 H 285.7°. Best body text is #FFFFFF at 12.10:1 contrast (WCAG AA passes).

Color values

HEX#392088
RGBrgb(57, 32, 136)
HSLhsl(254, 62%, 33%)
HSVhsv(254, 76%, 53%)
CMYKcmyk(58.1%, 76.5%, 0%, 46.7%)
CIE-LABlab(22.58, 39.68, -53.69)
CIE-LCHlch(22.58, 66.77, 306.47°)
OKLaboklab(35.02% 0.0433 -0.1546)
OKLCHoklch(35.02% 0.161 285.7)
XYZxyz(6.6464, 3.6801, 23.6479)
Luminance0.0368 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392088 #6F8820
analogous
#203B88 #392088 #6D2088
triadic
#392088 #883920 #208839
tetradic
#392088 #88203B #6F8820 #20886D
square
#392088 #88203B #6F8820 #20886D
split-complementary
#392088 #886D20 #3B8820
monochromatic
#0F0925 #241456 #392088 #4E2CBA #6E4DD5

Accessibility & contrast

On white

12.10
#392088 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#392088 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #392088
12.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392088#FFFFFF#000000##FFFFFF
##3920881.0012.101.7412.10
#FFFFFF12.101.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00398B
Deuteranopia (green-blind)
#003386
Tritanopia (blue-blind)
#123D52
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #392088;
/* rgb */ color: rgb(57, 32, 136);
/* oklch */ color: oklch(35.0% 0.161 285.7);
Tailwind
colors: {
  custom: {
    50: '#795eac',
    500: '#392088',
    950: '#000000',
  },
}
SCSS
$custom: #392088;
$custom-light: #795eac;
$custom-dark: #000000;
JSON
{
  "hex": "#392088",
  "rgb": {
    "r": 57,
    "g": 32,
    "b": 136
  },
  "hsl": {
    "h": 254.423,
    "s": 61.905,
    "l": 32.941
  },
  "oklch": {
    "l": 0.35024,
    "c": 0.16055,
    "h": 285.7
  },
  "luminance": 0.0368
}

Semantic roles & 50–950 ramp

primary
#392088
secondary
#9EB84C
accent
#E543BE
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #392088

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

Preview Lab → · Contrast checker → · Palette generator →

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