#391056#391056

#391056 is a dark, moderate violet. Relative luminance 0.019; OKLCH L 28.2% C 0.119 H 306.8°. Best body text is #FFFFFF at 15.19:1 contrast (WCAG AA passes).

Color values

HEX#391056
RGBrgb(57, 16, 86)
HSLhsl(275, 69%, 20%)
HSVhsv(275, 81%, 34%)
CMYKcmyk(33.7%, 81.4%, 0%, 66.3%)
CIE-LABlab(15.02, 33.46, -33.59)
CIE-LCHlch(15.02, 47.41, 314.89°)
OKLaboklab(28.25% 0.0715 -0.0955)
OKLCHoklch(28.25% 0.119 306.8)
XYZxyz(3.5520, 1.9124, 8.9843)
Luminance0.0191 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391056 #2D5610
analogous
#161056 #391056 #561050
triadic
#391056 #563910 #105639
tetradic
#391056 #561610 #2D5610 #105056
square
#391056 #561610 #2D5610 #105056
split-complementary
#391056 #505610 #105616
monochromatic
#11051A #170622 #391056 #5B1A8A #7D23BD

Accessibility & contrast

On white

15.19
#391056 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #391056
15.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391056#FFFFFF#000000##FFFFFF
##3910561.0015.191.3815.19
#FFFFFF15.191.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002458
Deuteranopia (green-blind)
#002655
Tritanopia (blue-blind)
#342132
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #391056;
/* rgb */ color: rgb(57, 16, 86);
/* oklch */ color: oklch(28.2% 0.119 306.8);
Tailwind
colors: {
  custom: {
    50: '#735386',
    500: '#391056',
    950: '#000000',
  },
}
SCSS
$custom: #391056;
$custom-light: #735386;
$custom-dark: #000000;
JSON
{
  "hex": "#391056",
  "rgb": {
    "r": 57,
    "g": 16,
    "b": 86
  },
  "hsl": {
    "h": 275.143,
    "s": 68.627,
    "l": 20
  },
  "oklch": {
    "l": 0.28246,
    "c": 0.11925,
    "h": 306.8
  },
  "luminance": 0.01912
}

Semantic roles & 50–950 ramp

primary
#391056
secondary
#598F32
accent
#EB3C85
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#08030B
muted
#7B787C

Preview Lab

Preview with #391056

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

Preview Lab → · Contrast checker → · Palette generator →

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