#392886#392886

#392886 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.0% C 0.149 H 284.4°. Best body text is #FFFFFF at 11.53:1 contrast (WCAG AA passes).

Color values

HEX#392886
RGBrgb(57, 40, 134)
HSLhsl(251, 54%, 34%)
HSVhsv(251, 70%, 53%)
CMYKcmyk(57.5%, 70.1%, 0%, 47.5%)
CIE-LABlab(24.03, 34.51, -50.08)
CIE-LCHlch(24.03, 60.82, 304.57°)
OKLaboklab(35.99% 0.0369 -0.144)
OKLCHoklch(35.99% 0.149 284.4)
XYZxyz(6.7479, 4.1083, 22.9870)
Luminance0.0411 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392886 #758628
analogous
#284686 #392886 #682886
triadic
#392886 #863928 #288639
tetradic
#392886 #862846 #758628 #288668
square
#392886 #862846 #758628 #288668
split-complementary
#392886 #866828 #468628
monochromatic
#110C28 #251A57 #392886 #4D36B5 #6F5BCE

Accessibility & contrast

On white

11.53
#392886 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #392886
11.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392886#FFFFFF#000000##FFFFFF
##3928861.0011.531.8211.53
#FFFFFF11.531.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C89
Deuteranopia (green-blind)
#003684
Tritanopia (blue-blind)
#144053
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #392886;
/* rgb */ color: rgb(57, 40, 134);
/* oklch */ color: oklch(36.0% 0.149 284.4);
Tailwind
colors: {
  custom: {
    50: '#7863aa',
    500: '#392886',
    950: '#000000',
  },
}
SCSS
$custom: #392886;
$custom-light: #7863aa;
$custom-dark: #000000;
JSON
{
  "hex": "#392886",
  "rgb": {
    "r": 57,
    "g": 40,
    "b": 134
  },
  "hsl": {
    "h": 250.851,
    "s": 54.023,
    "l": 34.118
  },
  "oklch": {
    "l": 0.35992,
    "c": 0.14867,
    "h": 284.4
  },
  "luminance": 0.04109
}

Semantic roles & 50–950 ramp

primary
#392886
secondary
#A2B357
accent
#DD4AC3
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0510
muted
#7C7A7F

Preview Lab

Preview with #392886

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

Preview Lab → · Contrast checker → · Palette generator →

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