#392881#392881

#392881 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 35.5% C 0.142 H 285.4°. Best body text is #FFFFFF at 11.70:1 contrast (WCAG AA passes).

Color values

HEX#392881
RGBrgb(57, 40, 129)
HSLhsl(251, 53%, 33%)
HSVhsv(251, 69%, 51%)
CMYKcmyk(55.8%, 69%, 0%, 49.4%)
CIE-LABlab(23.58, 32.89, -47.67)
CIE-LCHlch(23.58, 57.92, 304.61°)
OKLaboklab(35.53% 0.0376 -0.1369)
OKLCHoklch(35.53% 0.142 285.4)
XYZxyz(6.4074, 3.9721, 21.1937)
Luminance0.0397 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392881 #708128
analogous
#284381 #392881 #652881
triadic
#392881 #813928 #288139
tetradic
#392881 #812843 #708128 #288165
square
#392881 #812843 #708128 #288165
split-complementary
#392881 #816528 #438128
monochromatic
#100B24 #241A52 #392881 #4E36B0 #6E58CB

Accessibility & contrast

On white

11.70
#392881 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#392881 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #392881
11.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392881#FFFFFF#000000##FFFFFF
##3928811.0011.701.7911.70
#FFFFFF11.701.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B84
Deuteranopia (green-blind)
#00357F
Tritanopia (blue-blind)
#1A3F51
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #392881;
/* rgb */ color: rgb(57, 40, 129);
/* oklch */ color: oklch(35.5% 0.142 285.4);
Tailwind
colors: {
  custom: {
    50: '#7763a6',
    500: '#392881',
    950: '#000000',
  },
}
SCSS
$custom: #392881;
$custom-light: #7763a6;
$custom-dark: #000000;
JSON
{
  "hex": "#392881",
  "rgb": {
    "r": 57,
    "g": 40,
    "b": 129
  },
  "hsl": {
    "h": 251.461,
    "s": 52.663,
    "l": 33.137
  },
  "oklch": {
    "l": 0.35532,
    "c": 0.14203,
    "h": 285.4
  },
  "luminance": 0.03972
}

Semantic roles & 50–950 ramp

primary
#392881
secondary
#9FB054
accent
#DC4CC1
background
#F7F5FA
surface
#EEEAF4
border
#C9C6CE
text
#09050F
muted
#7B797F

Preview Lab

Preview with #392881

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

Preview Lab → · Contrast checker → · Palette generator →

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