#392087#392087

#392087 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 34.9% C 0.159 H 285.9°. Best body text is #FFFFFF at 12.14:1 contrast (WCAG AA passes).

Color values

HEX#392087
RGBrgb(57, 32, 135)
HSLhsl(255, 62%, 33%)
HSVhsv(255, 76%, 53%)
CMYKcmyk(57.8%, 76.3%, 0%, 47.1%)
CIE-LABlab(22.49, 39.38, -53.23)
CIE-LCHlch(22.49, 66.21, 306.49°)
OKLaboklab(34.92% 0.0436 -0.1532)
OKLCHoklch(34.92% 0.159 285.9)
XYZxyz(6.5757, 3.6518, 23.2753)
Luminance0.0365 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392087 #6E8720
analogous
#203A87 #392087 #6C2087
triadic
#392087 #873920 #208739
tetradic
#392087 #87203A #6E8720 #20876C
square
#392087 #87203A #6E8720 #20876C
split-complementary
#392087 #876C20 #3A8720
monochromatic
#0F0924 #241456 #392087 #4E2CB8 #6E4DD5

Accessibility & contrast

On white

12.14
#392087 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#392087 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #392087
12.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392087#FFFFFF#000000##FFFFFF
##3920871.0012.141.7312.14
#FFFFFF12.141.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00388A
Deuteranopia (green-blind)
#003385
Tritanopia (blue-blind)
#143D52
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #392087;
/* rgb */ color: rgb(57, 32, 135);
/* oklch */ color: oklch(34.9% 0.159 285.9);
Tailwind
colors: {
  custom: {
    50: '#795eab',
    500: '#392087',
    950: '#000000',
  },
}
SCSS
$custom: #392087;
$custom-light: #795eab;
$custom-dark: #000000;
JSON
{
  "hex": "#392087",
  "rgb": {
    "r": 57,
    "g": 32,
    "b": 135
  },
  "hsl": {
    "h": 254.563,
    "s": 61.677,
    "l": 32.745
  },
  "oklch": {
    "l": 0.34924,
    "c": 0.15931,
    "h": 285.9
  },
  "luminance": 0.03652
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #392087

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

Preview Lab → · Contrast checker → · Palette generator →

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