#392382#392382

#392382 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 34.9% C 0.150 H 286.4°. Best body text is #FFFFFF at 12.09:1 contrast (WCAG AA passes).

Color values

HEX#392382
RGBrgb(57, 35, 130)
HSLhsl(254, 58%, 32%)
HSVhsv(254, 73%, 51%)
CMYKcmyk(56.2%, 73.1%, 0%, 49%)
CIE-LABlab(22.60, 36.17, -49.91)
CIE-LCHlch(22.60, 61.63, 305.93°)
OKLaboklab(34.86% 0.0422 -0.1435)
OKLCHoklch(34.86% 0.15 286.4)
XYZxyz(6.3164, 3.6833, 21.4929)
Luminance0.0368 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392382 #6C8223
analogous
#233C82 #392382 #692382
triadic
#392382 #823923 #238239
tetradic
#392382 #82233C #6C8223 #238269
square
#392382 #82233C #6C8223 #238269
split-complementary
#392382 #826923 #3C8223
monochromatic
#0F0922 #241652 #392382 #4E30B2 #6D50D0

Accessibility & contrast

On white

12.09
#392382 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#392382 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #392382
12.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392382#FFFFFF#000000##FFFFFF
##3923821.0012.091.7412.09
#FFFFFF12.091.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003885
Deuteranopia (green-blind)
#003380
Tritanopia (blue-blind)
#1A3C50
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #392382;
/* rgb */ color: rgb(57, 35, 130);
/* oklch */ color: oklch(34.9% 0.150 286.4);
Tailwind
colors: {
  custom: {
    50: '#7860a7',
    500: '#392382',
    950: '#000000',
  },
}
SCSS
$custom: #392382;
$custom-light: #7860a7;
$custom-dark: #000000;
JSON
{
  "hex": "#392382",
  "rgb": {
    "r": 57,
    "g": 35,
    "b": 130
  },
  "hsl": {
    "h": 253.895,
    "s": 57.576,
    "l": 32.353
  },
  "oklch": {
    "l": 0.34855,
    "c": 0.14959,
    "h": 286.4
  },
  "luminance": 0.03684
}

Semantic roles & 50–950 ramp

primary
#392382
secondary
#9CB34D
accent
#E147BD
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #392382

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

Preview Lab → · Contrast checker → · Palette generator →

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