#392487#392487

#392487 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.5% C 0.155 H 285.1°. Best body text is #FFFFFF at 11.82:1 contrast (WCAG AA passes).

Color values

HEX#392487
RGBrgb(57, 36, 135)
HSLhsl(253, 58%, 34%)
HSVhsv(253, 73%, 53%)
CMYKcmyk(57.8%, 73.3%, 0%, 47.1%)
CIE-LABlab(23.27, 37.17, -51.94)
CIE-LCHlch(23.27, 63.87, 305.59°)
OKLaboklab(35.48% 0.0403 -0.1495)
OKLCHoklch(35.48% 0.155 285.1)
XYZxyz(6.6901, 3.8805, 23.3135)
Luminance0.0388 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392487 #728724
analogous
#244087 #392487 #6A2487
triadic
#392487 #873924 #248739
tetradic
#392487 #872440 #728724 #24876A
square
#392487 #872440 #728724 #24876A
split-complementary
#392487 #876A24 #408724
monochromatic
#100A26 #251757 #392487 #4D31B7 #6F54D1

Accessibility & contrast

On white

11.82
#392487 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#392487 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #392487
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392487#FFFFFF#000000##FFFFFF
##3924871.0011.821.7811.82
#FFFFFF11.821.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A8A
Deuteranopia (green-blind)
#003485
Tritanopia (blue-blind)
#133F53
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #392487;
/* rgb */ color: rgb(57, 36, 135);
/* oklch */ color: oklch(35.5% 0.155 285.1);
Tailwind
colors: {
  custom: {
    50: '#7961ab',
    500: '#392487',
    950: '#000000',
  },
}
SCSS
$custom: #392487;
$custom-light: #7961ab;
$custom-dark: #000000;
JSON
{
  "hex": "#392487",
  "rgb": {
    "r": 57,
    "g": 36,
    "b": 135
  },
  "hsl": {
    "h": 252.727,
    "s": 57.895,
    "l": 33.529
  },
  "oklch": {
    "l": 0.35482,
    "c": 0.1548,
    "h": 285.1
  },
  "luminance": 0.03881
}

Semantic roles & 50–950 ramp

primary
#392487
secondary
#A0B551
accent
#E147C0
background
#F7F5FA
surface
#EEEAF4
border
#C9C6CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #392487

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

Preview Lab → · Contrast checker → · Palette generator →

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