#392885#392885

#392885 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 35.9% C 0.147 H 284.6°. Best body text is #FFFFFF at 11.56:1 contrast (WCAG AA passes).

Color values

HEX#392885
RGBrgb(57, 40, 133)
HSLhsl(251, 54%, 34%)
HSVhsv(251, 70%, 52%)
CMYKcmyk(57.1%, 69.9%, 0%, 47.8%)
CIE-LABlab(23.94, 34.19, -49.60)
CIE-LCHlch(23.94, 60.24, 304.58°)
OKLaboklab(35.9% 0.037 -0.1426)
OKLCHoklch(35.9% 0.147 284.6)
XYZxyz(6.6785, 4.0805, 22.6215)
Luminance0.0408 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392885 #748528
analogous
#284685 #392885 #682885
triadic
#392885 #853928 #288539
tetradic
#392885 #852846 #748528 #288568
square
#392885 #852846 #748528 #288568
split-complementary
#392885 #856828 #468528
monochromatic
#110C27 #251A56 #392885 #4D36B4 #6F5ACD

Accessibility & contrast

On white

11.56
#392885 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#392885 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #392885
11.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392885#FFFFFF#000000##FFFFFF
##3928851.0011.561.8211.56
#FFFFFF11.561.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.561.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #392885;
/* rgb */ color: rgb(57, 40, 133);
/* oklch */ color: oklch(35.9% 0.147 284.6);
Tailwind
colors: {
  custom: {
    50: '#7863a9',
    500: '#392885',
    950: '#000000',
  },
}
SCSS
$custom: #392885;
$custom-light: #7863a9;
$custom-dark: #000000;
JSON
{
  "hex": "#392885",
  "rgb": {
    "r": 57,
    "g": 40,
    "b": 133
  },
  "hsl": {
    "h": 250.968,
    "s": 53.757,
    "l": 33.922
  },
  "oklch": {
    "l": 0.35899,
    "c": 0.14735,
    "h": 284.6
  },
  "luminance": 0.04081
}

Semantic roles & 50–950 ramp

primary
#392885
secondary
#A2B356
accent
#DD4BC2
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0510
muted
#7C7A7F

Preview Lab

Preview with #392885

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

Preview Lab → · Contrast checker → · Palette generator →

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