#392481#392481

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

Color values

HEX#392481
RGBrgb(57, 36, 129)
HSLhsl(254, 56%, 32%)
HSVhsv(254, 72%, 51%)
CMYKcmyk(55.8%, 72.1%, 0%, 49.4%)
CIE-LABlab(22.71, 35.28, -49.09)
CIE-LCHlch(22.71, 60.45, 305.70°)
OKLaboklab(34.91% 0.0415 -0.1411)
OKLCHoklch(34.91% 0.147 286.4)
XYZxyz(6.2795, 3.7163, 21.1510)
Luminance0.0372 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392481 #6C8124
analogous
#243E81 #392481 #672481
triadic
#392481 #813924 #248139
tetradic
#392481 #81243E #6C8124 #248167
square
#392481 #81243E #6C8124 #248167
split-complementary
#392481 #816724 #3E8124
monochromatic
#0F0921 #241751 #392481 #4E31B1 #6D51CE

Accessibility & contrast

On white

12.05
#392481 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #392481
12.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392481#FFFFFF#000000##FFFFFF
##3924811.0012.051.7412.05
#FFFFFF12.051.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003984
Deuteranopia (green-blind)
#00347F
Tritanopia (blue-blind)
#1B3C4F
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #392481;
/* rgb */ color: rgb(57, 36, 129);
/* oklch */ color: oklch(34.9% 0.147 286.4);
Tailwind
colors: {
  custom: {
    50: '#7861a6',
    500: '#392481',
    950: '#000000',
  },
}
SCSS
$custom: #392481;
$custom-light: #7861a6;
$custom-dark: #000000;
JSON
{
  "hex": "#392481",
  "rgb": {
    "r": 57,
    "g": 36,
    "b": 129
  },
  "hsl": {
    "h": 253.548,
    "s": 56.364,
    "l": 32.353
  },
  "oklch": {
    "l": 0.34909,
    "c": 0.14708,
    "h": 286.4
  },
  "luminance": 0.03717
}

Semantic roles & 50–950 ramp

primary
#392481
secondary
#9CB24E
accent
#E048BD
background
#F7F5FA
surface
#EEEAF4
border
#C9C6CE
text
#09050F
muted
#7B797F

Preview Lab

Preview with #392481

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

Preview Lab → · Contrast checker → · Palette generator →

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