#391046#391046

#391046 is a dark, moderate purple. Relative luminance 0.017; OKLCH L 26.9% C 0.101 H 316.9°. Best body text is #FFFFFF at 15.71:1 contrast (WCAG AA passes).

Color values

HEX#391046
RGBrgb(57, 16, 70)
HSLhsl(286, 63%, 17%)
HSVhsv(286, 77%, 27%)
CMYKcmyk(18.6%, 77.1%, 0%, 72.5%)
CIE-LABlab(13.73, 29.50, -24.69)
CIE-LCHlch(13.73, 38.47, 320.07°)
OKLaboklab(26.92% 0.074 -0.0693)
OKLCHoklch(26.92% 0.101 316.9)
XYZxyz(2.9780, 1.6828, 5.9611)
Luminance0.0168 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391046 #1D4610
analogous
#1E1046 #391046 #461038
triadic
#391046 #463910 #104639
tetradic
#391046 #461E10 #1D4610 #103846
square
#391046 #461E10 #1D4610 #103846
split-complementary
#391046 #384610 #10461E
monochromatic
#140619 #140619 #391046 #621B78 #8A27AA

Accessibility & contrast

On white

15.71
#391046 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#391046 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391046
15.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391046#FFFFFF#000000##FFFFFF
##3910461.0015.711.3415.71
#FFFFFF15.711.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002148
Deuteranopia (green-blind)
#112445
Tritanopia (blue-blind)
#381B29
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #391046;
/* rgb */ color: rgb(57, 16, 70);
/* oklch */ color: oklch(26.9% 0.101 316.9);
Tailwind
colors: {
  custom: {
    50: '#72527a',
    500: '#391046',
    950: '#000000',
  },
}
SCSS
$custom: #391046;
$custom-light: #72527a;
$custom-dark: #000000;
JSON
{
  "hex": "#391046",
  "rgb": {
    "r": 57,
    "g": 16,
    "b": 70
  },
  "hsl": {
    "h": 285.556,
    "s": 62.791,
    "l": 16.863
  },
  "oklch": {
    "l": 0.26917,
    "c": 0.10144,
    "h": 316.9
  },
  "luminance": 0.01683
}

Semantic roles & 50–950 ramp

primary
#391046
secondary
#458032
accent
#E64269
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#080209
muted
#7B787B

Preview Lab

Preview with #391046

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

Preview Lab → · Contrast checker → · Palette generator →

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