#392585#392585

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

Color values

HEX#392585
RGBrgb(57, 37, 133)
HSLhsl(253, 56%, 33%)
HSVhsv(253, 72%, 52%)
CMYKcmyk(57.1%, 72.2%, 0%, 47.8%)
CIE-LABlab(23.29, 35.96, -50.65)
CIE-LCHlch(23.29, 62.12, 305.37°)
OKLaboklab(35.44% 0.0398 -0.1457)
OKLCHoklch(35.44% 0.151 285.3)
XYZxyz(6.5813, 3.8861, 22.5891)
Luminance0.0389 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392585 #718525
analogous
#254185 #392585 #692585
triadic
#392585 #853925 #258539
tetradic
#392585 #852541 #718525 #258569
square
#392585 #852541 #718525 #258569
split-complementary
#392585 #856925 #418525
monochromatic
#100A25 #241855 #392585 #4E32B5 #6E55D0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##392585#FFFFFF#000000##FFFFFF
##3925851.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)
#003A88
Deuteranopia (green-blind)
#003583
Tritanopia (blue-blind)
#163E52
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #392585;
/* rgb */ color: rgb(57, 37, 133);
/* oklch */ color: oklch(35.4% 0.151 285.3);
Tailwind
colors: {
  custom: {
    50: '#7861a9',
    500: '#392585',
    950: '#000000',
  },
}
SCSS
$custom: #392585;
$custom-light: #7861a9;
$custom-dark: #000000;
JSON
{
  "hex": "#392585",
  "rgb": {
    "r": 57,
    "g": 37,
    "b": 133
  },
  "hsl": {
    "h": 252.5,
    "s": 56.471,
    "l": 33.333
  },
  "oklch": {
    "l": 0.35437,
    "c": 0.15105,
    "h": 285.3
  },
  "luminance": 0.03886
}

Semantic roles & 50–950 ramp

primary
#392585
secondary
#A0B452
accent
#E048C0
background
#F7F5FA
surface
#EEEAF4
border
#C9C6CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #392585

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

Preview Lab → · Contrast checker → · Palette generator →

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