#29174F#29174F

#29174F is a dark, moderate violet. Relative luminance 0.016; OKLCH L 26.5% C 0.098 H 293.4°. Best body text is #FFFFFF at 15.79:1 contrast (WCAG AA passes).

Color values

HEX#29174F
RGBrgb(41, 23, 79)
HSLhsl(259, 55%, 20%)
HSVhsv(259, 71%, 31%)
CMYKcmyk(48.1%, 70.9%, 0%, 69%)
CIE-LABlab(13.52, 24.01, -31.36)
CIE-LCHlch(13.52, 39.49, 307.44°)
OKLaboklab(26.49% 0.0388 -0.0896)
OKLCHoklch(26.49% 0.098 293.4)
XYZxyz(2.6317, 1.6486, 7.5752)
Luminance0.0165 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#29174F #3D4F17
analogous
#17214F #29174F #45174F
triadic
#29174F #4F2917 #174F29
tetradic
#29174F #4F1721 #3D4F17 #174F45
square
#29174F #4F1721 #3D4F17 #174F45
split-complementary
#29174F #4F4517 #214F17
monochromatic
#0C0718 #100920 #29174F #42257E #5A33AE

Accessibility & contrast

On white

15.79
#29174F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#29174F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #29174F
15.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##29174F#FFFFFF#000000##FFFFFF
##29174F1.0015.791.3315.79
#FFFFFF15.791.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002351
Deuteranopia (green-blind)
#00224E
Tritanopia (blue-blind)
#1E2430
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #29174f;
/* rgb */ color: rgb(41, 23, 79);
/* oklch */ color: oklch(26.5% 0.098 293.4);
Tailwind
colors: {
  custom: {
    50: '#675581',
    500: '#29174f',
    950: '#000000',
  },
}
SCSS
$custom: #29174f;
$custom-light: #675581;
$custom-dark: #000000;
JSON
{
  "hex": "#29174f",
  "rgb": {
    "r": 41,
    "g": 23,
    "b": 79
  },
  "hsl": {
    "h": 259.286,
    "s": 54.902,
    "l": 20
  },
  "oklch": {
    "l": 0.26487,
    "c": 0.09761,
    "h": 293.4
  },
  "luminance": 0.01649
}

Semantic roles & 50–950 ramp

primary
#29174F
secondary
#6E863C
accent
#DE4AAE
background
#F6F5F7
surface
#EBE8EE
border
#C6C4C9
text
#06030A
muted
#7A787C

Preview Lab

Preview with #29174F

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

Preview Lab → · Contrast checker → · Palette generator →

#29174F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva