#291544#291544

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

Color values

HEX#291544
RGBrgb(41, 21, 68)
HSLhsl(266, 53%, 17%)
HSVhsv(266, 69%, 27%)
CMYKcmyk(39.7%, 69.1%, 0%, 73.3%)
CIE-LABlab(12.12, 21.83, -26.00)
CIE-LCHlch(12.12, 33.95, 310.01°)
OKLaboklab(25.18% 0.0425 -0.0738)
OKLCHoklch(25.18% 0.085 299.9)
XYZxyz(2.2258, 1.4251, 5.6255)
Luminance0.0143 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291544 #304415
analogous
#151844 #291544 #411544
triadic
#291544 #442915 #154429
tetradic
#291544 #441518 #304415 #154441
square
#291544 #441518 #304415 #154441
split-complementary
#291544 #444115 #184415
monochromatic
#0E0717 #0E0717 #291544 #452373 #6132A2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##291544#FFFFFF#000000##FFFFFF
##2915441.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)
#002045
Deuteranopia (green-blind)
#051F43
Tritanopia (blue-blind)
#231F2A
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #291544;
/* rgb */ color: rgb(41, 21, 68);
/* oklch */ color: oklch(25.2% 0.085 299.9);
Tailwind
colors: {
  custom: {
    50: '#655378',
    500: '#291544',
    950: '#000000',
  },
}
SCSS
$custom: #291544;
$custom-light: #655378;
$custom-dark: #000000;
JSON
{
  "hex": "#291544",
  "rgb": {
    "r": 41,
    "g": 21,
    "b": 68
  },
  "hsl": {
    "h": 265.532,
    "s": 52.809,
    "l": 17.451
  },
  "oklch": {
    "l": 0.25181,
    "c": 0.08517,
    "h": 299.9
  },
  "luminance": 0.01425
}

Semantic roles & 50–950 ramp

primary
#291544
secondary
#5F7C39
accent
#DC4C9F
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060209
muted
#7A787B

Preview Lab

Preview with #291544

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

Preview Lab → · Contrast checker → · Palette generator →

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