#291447#291447

#291447 is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.3% C 0.091 H 298.6°. Best body text is #FFFFFF at 16.34:1 contrast (WCAG AA passes).

Color values

HEX#291447
RGBrgb(41, 20, 71)
HSLhsl(265, 56%, 18%)
HSVhsv(265, 72%, 28%)
CMYKcmyk(42.3%, 71.8%, 0%, 72.2%)
CIE-LABlab(12.13, 23.39, -28.08)
CIE-LCHlch(12.13, 36.55, 309.80°)
OKLaboklab(25.27% 0.0436 -0.0799)
OKLCHoklch(25.27% 0.091 298.6)
XYZxyz(2.3017, 1.4266, 6.1141)
Luminance0.0143 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291447 #324714
analogous
#141847 #291447 #421447
triadic
#291447 #472914 #144729
tetradic
#291447 #471418 #324714 #144742
square
#291447 #471418 #324714 #144742
split-complementary
#291447 #474214 #184714
monochromatic
#0E0718 #0E0718 #291447 #452177 #602FA6

Accessibility & contrast

On white

16.34
#291447 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#291447 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291447
16.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291447#FFFFFF#000000##FFFFFF
##2914471.0016.341.2916.34
#FFFFFF16.341.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002049
Deuteranopia (green-blind)
#001F46
Tritanopia (blue-blind)
#22202B
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #291447;
/* rgb */ color: rgb(41, 20, 71);
/* oklch */ color: oklch(25.3% 0.091 298.6);
Tailwind
colors: {
  custom: {
    50: '#66537b',
    500: '#291447',
    950: '#000000',
  },
}
SCSS
$custom: #291447;
$custom-light: #66537b;
$custom-dark: #000000;
JSON
{
  "hex": "#291447",
  "rgb": {
    "r": 41,
    "g": 20,
    "b": 71
  },
  "hsl": {
    "h": 264.706,
    "s": 56.044,
    "l": 17.843
  },
  "oklch": {
    "l": 0.25267,
    "c": 0.09106,
    "h": 298.6
  },
  "luminance": 0.01427
}

Semantic roles & 50–950 ramp

primary
#291447
secondary
#627F38
accent
#DF48A1
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#060209
muted
#7A787B

Preview Lab

Preview with #291447

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

Preview Lab → · Contrast checker → · Palette generator →

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