#391054#391054

#391054 is a dark, moderate violet. Relative luminance 0.019; OKLCH L 28.1% C 0.117 H 307.9°. Best body text is #FFFFFF at 15.26:1 contrast (WCAG AA passes).

Color values

HEX#391054
RGBrgb(57, 16, 84)
HSLhsl(276, 68%, 20%)
HSVhsv(276, 81%, 33%)
CMYKcmyk(32.1%, 81%, 0%, 67.1%)
CIE-LABlab(14.85, 32.95, -32.51)
CIE-LCHlch(14.85, 46.29, 315.38°)
OKLaboklab(28.07% 0.0719 -0.0923)
OKLCHoklch(28.07% 0.117 307.9)
XYZxyz(3.4725, 1.8806, 8.5658)
Luminance0.0188 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391054 #2B5410
analogous
#171054 #391054 #54104D
triadic
#391054 #543910 #105439
tetradic
#391054 #541710 #2B5410 #104D54
square
#391054 #541710 #2B5410 #104D54
split-complementary
#391054 #4D5410 #105417
monochromatic
#11051A #160621 #391054 #5C1A87 #7F24BB

Accessibility & contrast

On white

15.26
#391054 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#391054 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391054
15.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391054#FFFFFF#000000##FFFFFF
##3910541.0015.261.3815.26
#FFFFFF15.261.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002456
Deuteranopia (green-blind)
#002653
Tritanopia (blue-blind)
#352031
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #391054;
/* rgb */ color: rgb(57, 16, 84);
/* oklch */ color: oklch(28.1% 0.117 307.9);
Tailwind
colors: {
  custom: {
    50: '#735385',
    500: '#391054',
    950: '#000000',
  },
}
SCSS
$custom: #391054;
$custom-light: #735385;
$custom-dark: #000000;
JSON
{
  "hex": "#391054",
  "rgb": {
    "r": 57,
    "g": 16,
    "b": 84
  },
  "hsl": {
    "h": 276.176,
    "s": 68,
    "l": 19.608
  },
  "oklch": {
    "l": 0.2807,
    "c": 0.11701,
    "h": 307.9
  },
  "luminance": 0.01881
}

Semantic roles & 50–950 ramp

primary
#391054
secondary
#578E32
accent
#EB3D82
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#08030B
muted
#7B787C

Preview Lab

Preview with #391054

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

Preview Lab → · Contrast checker → · Palette generator →

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