#291149#291149

#291149 is a very dark, moderate violet. Relative luminance 0.014; OKLCH L 25.0% C 0.098 H 298.6°. Best body text is #FFFFFF at 16.53:1 contrast (WCAG AA passes).

Color values

HEX#291149
RGBrgb(41, 17, 73)
HSLhsl(266, 62%, 18%)
HSVhsv(266, 77%, 29%)
CMYKcmyk(43.8%, 76.7%, 0%, 71.4%)
CIE-LABlab(11.64, 25.83, -30.27)
CIE-LCHlch(11.64, 39.79, 310.48°)
OKLaboklab(24.97% 0.0471 -0.0864)
OKLCHoklch(24.97% 0.098 298.6)
XYZxyz(2.3172, 1.3533, 6.4412)
Luminance0.0135 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291149 #314911
analogous
#111549 #291149 #451149
triadic
#291149 #492911 #114929
tetradic
#291149 #491115 #314911 #114945
square
#291149 #491115 #314911 #114945
split-complementary
#291149 #494511 #154911
monochromatic
#0E0619 #0E0619 #291149 #451D7B #6128AC

Accessibility & contrast

On white

16.53
#291149 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #291149
16.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291149#FFFFFF#000000##FFFFFF
##2911491.0016.531.2716.53
#FFFFFF16.531.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F4B
Deuteranopia (green-blind)
#001E48
Tritanopia (blue-blind)
#211E2B
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #291149;
/* rgb */ color: rgb(41, 17, 73);
/* oklch */ color: oklch(25.0% 0.098 298.6);
Tailwind
colors: {
  custom: {
    50: '#66517c',
    500: '#291149',
    950: '#000000',
  },
}
SCSS
$custom: #291149;
$custom-light: #66517c;
$custom-dark: #000000;
JSON
{
  "hex": "#291149",
  "rgb": {
    "r": 41,
    "g": 17,
    "b": 73
  },
  "hsl": {
    "h": 265.714,
    "s": 62.222,
    "l": 17.647
  },
  "oklch": {
    "l": 0.2497,
    "c": 0.09838,
    "h": 298.6
  },
  "luminance": 0.01353
}

Semantic roles & 50–950 ramp

primary
#291149
secondary
#618233
accent
#E543A0
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#060209
muted
#7A787B

Preview Lab

Preview with #291149

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

Preview Lab → · Contrast checker → · Palette generator →

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