#391651#391651

#391651 is a dark, moderate violet. Relative luminance 0.020; OKLCH L 28.6% C 0.105 H 308.4°. Best body text is #FFFFFF at 14.92:1 contrast (WCAG AA passes).

Color values

HEX#391651
RGBrgb(57, 22, 81)
HSLhsl(276, 57%, 20%)
HSVhsv(276, 73%, 32%)
CMYKcmyk(29.6%, 72.8%, 0%, 68.2%)
CIE-LABlab(15.68, 29.13, -29.12)
CIE-LCHlch(15.68, 41.19, 315.01°)
OKLaboklab(28.59% 0.0652 -0.0824)
OKLCHoklch(28.59% 0.105 308.4)
XYZxyz(3.4592, 2.0378, 7.9941)
Luminance0.0204 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391651 #2E5116
analogous
#1B1651 #391651 #51164C
triadic
#391651 #513916 #165139
tetradic
#391651 #511B16 #2E5116 #164C51
square
#391651 #511B16 #2E5116 #164C51
split-complementary
#391651 #4C5116 #16511B
monochromatic
#110718 #170921 #391651 #5B2381 #7D30B1

Accessibility & contrast

On white

14.92
#391651 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#391651 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391651
14.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391651#FFFFFF#000000##FFFFFF
##3916511.0014.921.4114.92
#FFFFFF14.921.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002653
Deuteranopia (green-blind)
#0A2850
Tritanopia (blue-blind)
#352331
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #391651;
/* rgb */ color: rgb(57, 22, 81);
/* oklch */ color: oklch(28.6% 0.105 308.4);
Tailwind
colors: {
  custom: {
    50: '#725682',
    500: '#391651',
    950: '#000000',
  },
}
SCSS
$custom: #391651;
$custom-light: #725682;
$custom-dark: #000000;
JSON
{
  "hex": "#391651",
  "rgb": {
    "r": 57,
    "g": 22,
    "b": 81
  },
  "hsl": {
    "h": 275.593,
    "s": 57.282,
    "l": 20.196
  },
  "oklch": {
    "l": 0.28588,
    "c": 0.10508,
    "h": 308.4
  },
  "luminance": 0.02038
}

Semantic roles & 50–950 ramp

primary
#391651
secondary
#5A883A
accent
#E14786
background
#F7F5F8
surface
#EDE9EF
border
#C8C5CA
text
#08030A
muted
#7B787C

Preview Lab

Preview with #391651

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

Preview Lab → · Contrast checker → · Palette generator →

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