#291141#291141

#291141 is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.3% C 0.088 H 303.4°. Best body text is #FFFFFF at 16.79:1 contrast (WCAG AA passes).

Color values

HEX#291141
RGBrgb(41, 17, 65)
HSLhsl(270, 59%, 16%)
HSVhsv(270, 74%, 25%)
CMYKcmyk(36.9%, 73.8%, 0%, 74.5%)
CIE-LABlab(10.95, 23.44, -25.78)
CIE-LCHlch(10.95, 34.85, 312.27°)
OKLaboklab(24.25% 0.0483 -0.0732)
OKLCHoklch(24.25% 0.088 303.4)
XYZxyz(2.0688, 1.2540, 5.1331)
Luminance0.0125 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291141 #294111
analogous
#111141 #291141 #411141
triadic
#291141 #412911 #114129
tetradic
#291141 #411111 #294111 #114141
square
#291141 #411111 #294111 #114141
split-complementary
#291141 #414111 #114111
monochromatic
#0F0618 #0F0618 #291141 #481E72 #662AA2

Accessibility & contrast

On white

16.79
#291141 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#291141 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291141
16.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291141#FFFFFF#000000##FFFFFF
##2911411.0016.791.2516.79
#FFFFFF16.791.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D42
Deuteranopia (green-blind)
#031D40
Tritanopia (blue-blind)
#241B27
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #291141;
/* rgb */ color: rgb(41, 17, 65);
/* oklch */ color: oklch(24.3% 0.088 303.4);
Tailwind
colors: {
  custom: {
    50: '#655176',
    500: '#291141',
    950: '#000000',
  },
}
SCSS
$custom: #291141;
$custom-light: #655176;
$custom-dark: #000000;
JSON
{
  "hex": "#291141",
  "rgb": {
    "r": 41,
    "g": 17,
    "b": 65
  },
  "hsl": {
    "h": 270,
    "s": 58.537,
    "l": 16.078
  },
  "oklch": {
    "l": 0.24253,
    "c": 0.0877,
    "h": 303.4
  },
  "luminance": 0.01254
}

Semantic roles & 50–950 ramp

primary
#291141
secondary
#577B33
accent
#E24694
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060208
muted
#7A787B

Preview Lab

Preview with #291141

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

Preview Lab → · Contrast checker → · Palette generator →

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