#291440#291440

#291440 is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.7% C 0.081 H 302.9°. Best body text is #FFFFFF at 16.56:1 contrast (WCAG AA passes).

Color values

HEX#291440
RGBrgb(41, 20, 64)
HSLhsl(269, 52%, 16%)
HSVhsv(269, 69%, 25%)
CMYKcmyk(35.9%, 68.8%, 0%, 74.9%)
CIE-LABlab(11.57, 21.26, -24.09)
CIE-LCHlch(11.57, 32.13, 311.43°)
OKLaboklab(24.67% 0.0441 -0.0682)
OKLCHoklch(24.67% 0.081 302.9)
XYZxyz(2.0898, 1.3419, 4.9984)
Luminance0.0134 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291440 #2B4014
analogous
#141540 #291440 #3F1440
triadic
#291440 #402914 #144029
tetradic
#291440 #401415 #2B4014 #14403F
square
#291440 #401415 #2B4014 #14403F
split-complementary
#291440 #403F14 #154014
monochromatic
#0F0717 #0F0717 #291440 #47236F #65319D

Accessibility & contrast

On white

16.56
#291440 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #291440
16.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291440#FFFFFF#000000##FFFFFF
##2914401.0016.561.2716.56
#FFFFFF16.561.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#011E41
Deuteranopia (green-blind)
#081F3F
Tritanopia (blue-blind)
#251D27
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #291440;
/* rgb */ color: rgb(41, 20, 64);
/* oklch */ color: oklch(24.7% 0.081 302.9);
Tailwind
colors: {
  custom: {
    50: '#655275',
    500: '#291440',
    950: '#000000',
  },
}
SCSS
$custom: #291440;
$custom-light: #655275;
$custom-dark: #000000;
JSON
{
  "hex": "#291440",
  "rgb": {
    "r": 41,
    "g": 20,
    "b": 64
  },
  "hsl": {
    "h": 268.636,
    "s": 52.381,
    "l": 16.471
  },
  "oklch": {
    "l": 0.24674,
    "c": 0.08122,
    "h": 302.9
  },
  "luminance": 0.01342
}

Semantic roles & 50–950 ramp

primary
#291440
secondary
#597838
accent
#DC4C97
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060208
muted
#7A787B

Preview Lab

Preview with #291440

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

Preview Lab → · Contrast checker → · Palette generator →

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