#392985#392985

#392985 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.1% C 0.146 H 284.3°. Best body text is #FFFFFF at 11.48:1 contrast (WCAG AA passes).

Color values

HEX#392985
RGBrgb(57, 41, 133)
HSLhsl(250, 53%, 34%)
HSVhsv(250, 69%, 52%)
CMYKcmyk(57.1%, 69.2%, 0%, 47.8%)
CIE-LABlab(24.16, 33.58, -49.24)
CIE-LCHlch(24.16, 59.60, 304.30°)
OKLaboklab(36.06% 0.0361 -0.1416)
OKLCHoklch(36.06% 0.146 284.3)
XYZxyz(6.7126, 4.1488, 22.6328)
Luminance0.0415 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392985 #758529
analogous
#294785 #392985 #672985
triadic
#392985 #853929 #298539
tetradic
#392985 #852947 #758529 #298567
square
#392985 #852947 #758529 #298567
split-complementary
#392985 #856729 #478529
monochromatic
#110C27 #251B56 #392985 #4D37B4 #6F5CCD

Accessibility & contrast

On white

11.48
#392985 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #392985
11.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392985#FFFFFF#000000##FFFFFF
##3929851.0011.481.8311.48
#FFFFFF11.481.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C88
Deuteranopia (green-blind)
#003683
Tritanopia (blue-blind)
#154053
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #392985;
/* rgb */ color: rgb(57, 41, 133);
/* oklch */ color: oklch(36.1% 0.146 284.3);
Tailwind
colors: {
  custom: {
    50: '#7864a9',
    500: '#392985',
    950: '#000000',
  },
}
SCSS
$custom: #392985;
$custom-light: #7864a9;
$custom-dark: #000000;
JSON
{
  "hex": "#392985",
  "rgb": {
    "r": 57,
    "g": 41,
    "b": 133
  },
  "hsl": {
    "h": 250.435,
    "s": 52.874,
    "l": 34.118
  },
  "oklch": {
    "l": 0.36058,
    "c": 0.14608,
    "h": 284.3
  },
  "luminance": 0.04149
}

Semantic roles & 50–950 ramp

primary
#392985
secondary
#A2B258
accent
#DC4CC3
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0510
muted
#7C7A7F

Preview Lab

Preview with #392985

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

Preview Lab → · Contrast checker → · Palette generator →

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