#291E2F#291E2F

#291E2F is a dark, muted violet. Relative luminance 0.016; OKLCH L 25.6% C 0.035 H 313.3°. Best body text is #FFFFFF at 15.90:1 contrast (WCAG AA passes).

Color values

HEX#291E2F
RGBrgb(41, 30, 47)
HSLhsl(279, 22%, 15%)
HSVhsv(279, 36%, 18%)
CMYKcmyk(12.8%, 36.2%, 0%, 81.6%)
CIE-LABlab(13.26, 9.37, -9.27)
CIE-LCHlch(13.26, 13.18, 315.32°)
OKLaboklab(25.6% 0.0239 -0.0253)
OKLCHoklch(25.6% 0.035 313.3)
XYZxyz(1.8917, 1.6052, 2.8990)
Luminance0.0160 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291E2F #242F1E
analogous
#211E2F #291E2F #2F1E2C
triadic
#291E2F #2F291E #1E2F29
tetradic
#291E2F #2F211E #242F1E #1E2C2F
square
#291E2F #2F211E #242F1E #1E2C2F
split-complementary
#291E2F #2C2F1E #1E2F21
monochromatic
#100C13 #100C13 #291E2F #4A3654 #6A4E7A

Accessibility & contrast

On white

15.90
#291E2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#291E2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291E2F
15.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291E2F#FFFFFF#000000##FFFFFF
##291E2F1.0015.901.3215.90
#FFFFFF15.901.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B2130
Deuteranopia (green-blind)
#1E222E
Tritanopia (blue-blind)
#292024
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #291e2f;
/* rgb */ color: rgb(41, 30, 47);
/* oklch */ color: oklch(25.6% 0.035 313.3);
Tailwind
colors: {
  custom: {
    50: '#635967',
    500: '#291e2f',
    950: '#000000',
  },
}
SCSS
$custom: #291e2f;
$custom-light: #635967;
$custom-dark: #000000;
JSON
{
  "hex": "#291e2f",
  "rgb": {
    "r": 41,
    "g": 30,
    "b": 47
  },
  "hsl": {
    "h": 278.824,
    "s": 22.078,
    "l": 15.098
  },
  "oklch": {
    "l": 0.25595,
    "c": 0.03483,
    "h": 313.3
  },
  "luminance": 0.01605
}

Semantic roles & 50–950 ramp

primary
#291E2F
secondary
#516147
accent
#BF6987
background
#F5F5F6
surface
#EAE9EB
border
#C6C5C6
text
#050306
muted
#79787A

Preview Lab

Preview with #291E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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