#291241#291241

#291241 is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.4% C 0.086 H 303.0°. Best body text is #FFFFFF at 16.70:1 contrast (WCAG AA passes).

Color values

HEX#291241
RGBrgb(41, 18, 65)
HSLhsl(269, 57%, 16%)
HSVhsv(269, 72%, 25%)
CMYKcmyk(36.9%, 72.3%, 0%, 74.5%)
CIE-LABlab(11.18, 22.83, -25.42)
CIE-LCHlch(11.18, 34.16, 311.92°)
OKLaboklab(24.42% 0.0469 -0.0721)
OKLCHoklch(24.42% 0.086 303)
XYZxyz(2.0847, 1.2857, 5.1383)
Luminance0.0129 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291241 #2A4112
analogous
#121341 #291241 #411241
triadic
#291241 #412912 #124129
tetradic
#291241 #411213 #2A4112 #124141
square
#291241 #411213 #2A4112 #124141
split-complementary
#291241 #414112 #134112
monochromatic
#0F0718 #0F0718 #291241 #471F71 #652DA1

Accessibility & contrast

On white

16.70
#291241 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#291241 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291241
16.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291241#FFFFFF#000000##FFFFFF
##2912411.0016.701.2616.70
#FFFFFF16.701.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D42
Deuteranopia (green-blind)
#041E40
Tritanopia (blue-blind)
#241C27
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #291241;
/* rgb */ color: rgb(41, 18, 65);
/* oklch */ color: oklch(24.4% 0.086 303.0);
Tailwind
colors: {
  custom: {
    50: '#655176',
    500: '#291241',
    950: '#000000',
  },
}
SCSS
$custom: #291241;
$custom-light: #655176;
$custom-dark: #000000;
JSON
{
  "hex": "#291241",
  "rgb": {
    "r": 41,
    "g": 18,
    "b": 65
  },
  "hsl": {
    "h": 269.362,
    "s": 56.627,
    "l": 16.275
  },
  "oklch": {
    "l": 0.24416,
    "c": 0.08605,
    "h": 303
  },
  "luminance": 0.01286
}

Semantic roles & 50–950 ramp

primary
#291241
secondary
#587A35
accent
#E04896
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060208
muted
#7A787B

Preview Lab

Preview with #291241

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

Preview Lab → · Contrast checker → · Palette generator →

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