#29174C#29174C

#29174C is a dark, moderate violet. Relative luminance 0.016; OKLCH L 26.2% C 0.093 H 294.7°. Best body text is #FFFFFF at 15.89:1 contrast (WCAG AA passes).

Color values

HEX#29174C
RGBrgb(41, 23, 76)
HSLhsl(260, 54%, 19%)
HSVhsv(260, 70%, 30%)
CMYKcmyk(46.1%, 69.7%, 0%, 70.2%)
CIE-LABlab(13.27, 23.04, -29.71)
CIE-LCHlch(13.27, 37.60, 307.80°)
OKLaboklab(26.22% 0.0391 -0.0848)
OKLCHoklch(26.22% 0.093 294.7)
XYZxyz(2.5250, 1.6060, 7.0130)
Luminance0.0161 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#29174C #3A4C17
analogous
#17204C #29174C #44174C
triadic
#29174C #4C2917 #174C29
tetradic
#29174C #4C1720 #3A4C17 #174C44
square
#29174C #4C1720 #3A4C17 #174C44
split-complementary
#29174C #4C4417 #204C17
monochromatic
#0D0717 #10091D #29174C #42257B #5C33AA

Accessibility & contrast

On white

15.89
#29174C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#29174C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #29174C
15.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##29174C#FFFFFF#000000##FFFFFF
##29174C1.0015.891.3215.89
#FFFFFF15.891.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00234E
Deuteranopia (green-blind)
#00214B
Tritanopia (blue-blind)
#20232F
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #29174c;
/* rgb */ color: rgb(41, 23, 76);
/* oklch */ color: oklch(26.2% 0.093 294.7);
Tailwind
colors: {
  custom: {
    50: '#66557e',
    500: '#29174c',
    950: '#000000',
  },
}
SCSS
$custom: #29174c;
$custom-light: #66557e;
$custom-dark: #000000;
JSON
{
  "hex": "#29174c",
  "rgb": {
    "r": 41,
    "g": 23,
    "b": 76
  },
  "hsl": {
    "h": 260.377,
    "s": 53.535,
    "l": 19.412
  },
  "oklch": {
    "l": 0.2622,
    "c": 0.09332,
    "h": 294.7
  },
  "luminance": 0.01606
}

Semantic roles & 50–950 ramp

primary
#29174C
secondary
#6B833C
accent
#DD4BAB
background
#F6F5F7
surface
#EBE8EE
border
#C6C4C9
text
#06030A
muted
#7A787C

Preview Lab

Preview with #29174C

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

Preview Lab → · Contrast checker → · Palette generator →

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