#291D3D#291D3D

#291D3D is a dark, muted violet. Relative luminance 0.017; OKLCH L 26.2% C 0.060 H 299.6°. Best body text is #FFFFFF at 15.70:1 contrast (WCAG AA passes).

Color values

HEX#291D3D
RGBrgb(41, 29, 61)
HSLhsl(263, 36%, 18%)
HSVhsv(263, 52%, 24%)
CMYKcmyk(32.8%, 52.5%, 0%, 76.1%)
CIE-LABlab(13.75, 14.17, -18.48)
CIE-LCHlch(13.75, 23.29, 307.47°)
OKLaboklab(26.22% 0.0294 -0.0518)
OKLCHoklch(26.22% 0.06 299.6)
XYZxyz(2.1959, 1.6871, 4.6239)
Luminance0.0169 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291D3D #313D1D
analogous
#1D213D #291D3D #391D3D
triadic
#291D3D #3D291D #1D3D29
tetradic
#291D3D #3D1D21 #313D1D #1D3D39
square
#291D3D #3D1D21 #313D1D #1D3D39
split-complementary
#291D3D #3D391D #213D1D
monochromatic
#0E0A15 #0E0A15 #291D3D #453166 #614490

Accessibility & contrast

On white

15.70
#291D3D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#291D3D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291D3D
15.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291D3D#FFFFFF#000000##FFFFFF
##291D3D1.0015.701.3415.70
#FFFFFF15.701.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13233E
Deuteranopia (green-blind)
#16233C
Tritanopia (blue-blind)
#25232A
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #291d3d;
/* rgb */ color: rgb(41, 29, 61);
/* oklch */ color: oklch(26.2% 0.060 299.6);
Tailwind
colors: {
  custom: {
    50: '#645972',
    500: '#291d3d',
    950: '#000000',
  },
}
SCSS
$custom: #291d3d;
$custom-light: #645972;
$custom-dark: #000000;
JSON
{
  "hex": "#291d3d",
  "rgb": {
    "r": 41,
    "g": 29,
    "b": 61
  },
  "hsl": {
    "h": 262.5,
    "s": 35.556,
    "l": 17.647
  },
  "oklch": {
    "l": 0.26223,
    "c": 0.0596,
    "h": 299.6
  },
  "luminance": 0.01687
}

Semantic roles & 50–950 ramp

primary
#291D3D
secondary
#617244
accent
#CC5CA2
background
#F6F5F6
surface
#EBE9EC
border
#C6C5C7
text
#050308
muted
#7A787B

Preview Lab

Preview with #291D3D

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

Preview Lab → · Contrast checker → · Palette generator →

#291D3D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva