#392882#392882

#392882 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 35.6% C 0.143 H 285.2°. Best body text is #FFFFFF at 11.67:1 contrast (WCAG AA passes).

Color values

HEX#392882
RGBrgb(57, 40, 130)
HSLhsl(251, 53%, 33%)
HSVhsv(251, 69%, 51%)
CMYKcmyk(56.2%, 69.2%, 0%, 49%)
CIE-LABlab(23.67, 33.22, -48.15)
CIE-LCHlch(23.67, 58.50, 304.60°)
OKLaboklab(35.62% 0.0375 -0.1384)
OKLCHoklch(35.62% 0.143 285.2)
XYZxyz(6.4742, 3.9988, 21.5455)
Luminance0.0400 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392882 #718228
analogous
#284482 #392882 #662882
triadic
#392882 #823928 #288239
tetradic
#392882 #822844 #718228 #288266
square
#392882 #822844 #718228 #288266
split-complementary
#392882 #826628 #448228
monochromatic
#100B24 #241A53 #392882 #4E36B1 #6E59CC

Accessibility & contrast

On white

11.67
#392882 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#392882 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #392882
11.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392882#FFFFFF#000000##FFFFFF
##3928821.0011.671.8011.67
#FFFFFF11.671.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B85
Deuteranopia (green-blind)
#003680
Tritanopia (blue-blind)
#193F51
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #392882;
/* rgb */ color: rgb(57, 40, 130);
/* oklch */ color: oklch(35.6% 0.143 285.2);
Tailwind
colors: {
  custom: {
    50: '#7763a7',
    500: '#392882',
    950: '#000000',
  },
}
SCSS
$custom: #392882;
$custom-light: #7763a7;
$custom-dark: #000000;
JSON
{
  "hex": "#392882",
  "rgb": {
    "r": 57,
    "g": 40,
    "b": 130
  },
  "hsl": {
    "h": 251.333,
    "s": 52.941,
    "l": 33.333
  },
  "oklch": {
    "l": 0.35623,
    "c": 0.14337,
    "h": 285.2
  },
  "luminance": 0.03999
}

Semantic roles & 50–950 ramp

primary
#392882
secondary
#A0B155
accent
#DC4BC1
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#090510
muted
#7B7A7F

Preview Lab

Preview with #392882

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

Preview Lab → · Contrast checker → · Palette generator →

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