#291D39#291D39

#291D39 is a dark, muted violet. Relative luminance 0.016; OKLCH L 26.0% C 0.053 H 302.6°. Best body text is #FFFFFF at 15.80:1 contrast (WCAG AA passes).

Color values

HEX#291D39
RGBrgb(41, 29, 57)
HSLhsl(266, 33%, 17%)
HSVhsv(266, 49%, 22%)
CMYKcmyk(28.1%, 49.1%, 0%, 77.6%)
CIE-LABlab(13.51, 12.95, -16.04)
CIE-LCHlch(13.51, 20.62, 308.91°)
OKLaboklab(25.96% 0.0286 -0.0447)
OKLCHoklch(25.96% 0.053 302.6)
XYZxyz(2.0922, 1.6456, 4.0775)
Luminance0.0165 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291D39 #2D391D
analogous
#1D1F39 #291D39 #371D39
triadic
#291D39 #39291D #1D3929
tetradic
#291D39 #391D1F #2D391D #1D3937
square
#291D39 #391D1F #2D391D #1D3937
split-complementary
#291D39 #39371D #1F391D
monochromatic
#0F0A14 #0F0A14 #291D39 #463262 #63468A

Accessibility & contrast

On white

15.80
#291D39 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#291D39 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291D39
15.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291D39#FFFFFF#000000##FFFFFF
##291D391.0015.801.3315.80
#FFFFFF15.801.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16223A
Deuteranopia (green-blind)
#182338
Tritanopia (blue-blind)
#262228
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #291d39;
/* rgb */ color: rgb(41, 29, 57);
/* oklch */ color: oklch(26.0% 0.053 302.6);
Tailwind
colors: {
  custom: {
    50: '#63596f',
    500: '#291d39',
    950: '#000000',
  },
}
SCSS
$custom: #291d39;
$custom-light: #63596f;
$custom-dark: #000000;
JSON
{
  "hex": "#291d39",
  "rgb": {
    "r": 41,
    "g": 29,
    "b": 57
  },
  "hsl": {
    "h": 265.714,
    "s": 32.558,
    "l": 16.863
  },
  "oklch": {
    "l": 0.25957,
    "c": 0.05312,
    "h": 302.6
  },
  "luminance": 0.01646
}

Semantic roles & 50–950 ramp

primary
#291D39
secondary
#5C6D45
accent
#C95F9B
background
#F5F5F6
surface
#EAE9EC
border
#C6C5C7
text
#050307
muted
#79787A

Preview Lab

Preview with #291D39

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

Preview Lab → · Contrast checker → · Palette generator →

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