#291147#291147

#291147 is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.8% C 0.096 H 299.7°. Best body text is #FFFFFF at 16.60:1 contrast (WCAG AA passes).

Color values

HEX#291147
RGBrgb(41, 17, 71)
HSLhsl(267, 61%, 17%)
HSVhsv(267, 76%, 28%)
CMYKcmyk(42.3%, 76.1%, 0%, 72.2%)
CIE-LABlab(11.46, 25.23, -29.17)
CIE-LCHlch(11.46, 38.56, 310.86°)
OKLaboklab(24.79% 0.0475 -0.0831)
OKLCHoklch(24.79% 0.096 299.7)
XYZxyz(2.2519, 1.3272, 6.0976)
Luminance0.0133 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291147 #2F4711
analogous
#111447 #291147 #441147
triadic
#291147 #472911 #114729
tetradic
#291147 #471114 #2F4711 #114744
square
#291147 #471114 #2F4711 #114744
split-complementary
#291147 #474411 #144711
monochromatic
#0E0619 #0E0619 #291147 #461D78 #6229AA

Accessibility & contrast

On white

16.60
#291147 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#291147 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291147
16.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291147#FFFFFF#000000##FFFFFF
##2911471.0016.601.2716.60
#FFFFFF16.601.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E49
Deuteranopia (green-blind)
#001E46
Tritanopia (blue-blind)
#221E2A
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #291147;
/* rgb */ color: rgb(41, 17, 71);
/* oklch */ color: oklch(24.8% 0.096 299.7);
Tailwind
colors: {
  custom: {
    50: '#66517b',
    500: '#291147',
    950: '#000000',
  },
}
SCSS
$custom: #291147;
$custom-light: #66517b;
$custom-dark: #000000;
JSON
{
  "hex": "#291147",
  "rgb": {
    "r": 41,
    "g": 17,
    "b": 71
  },
  "hsl": {
    "h": 266.667,
    "s": 61.364,
    "l": 17.255
  },
  "oklch": {
    "l": 0.24786,
    "c": 0.09573,
    "h": 299.7
  },
  "luminance": 0.01327
}

Semantic roles & 50–950 ramp

primary
#291147
secondary
#5E8133
accent
#E4439D
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#060209
muted
#7A787B

Preview Lab

Preview with #291147

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

Preview Lab → · Contrast checker → · Palette generator →

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