#29174A#29174A

#29174A is a dark, moderate violet. Relative luminance 0.016; OKLCH L 26.0% C 0.090 H 295.7°. Best body text is #FFFFFF at 15.96:1 contrast (WCAG AA passes).

Color values

HEX#29174A
RGBrgb(41, 23, 74)
HSLhsl(261, 53%, 19%)
HSVhsv(261, 69%, 29%)
CMYKcmyk(44.6%, 68.9%, 0%, 71%)
CIE-LABlab(13.10, 22.40, -28.60)
CIE-LCHlch(13.10, 36.33, 308.07°)
OKLaboklab(26.05% 0.0393 -0.0815)
OKLCHoklch(26.05% 0.09 295.7)
XYZxyz(2.4566, 1.5786, 6.6525)
Luminance0.0158 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#29174A #384A17
analogous
#171F4A #29174A #43174A
triadic
#29174A #4A2917 #174A29
tetradic
#29174A #4A171F #384A17 #174A43
square
#29174A #4A171F #384A17 #174A43
split-complementary
#29174A #4A4317 #1F4A17
monochromatic
#0D0717 #0F081B #29174A #432679 #5D34A7

Accessibility & contrast

On white

15.96
#29174A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #29174A
15.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##29174A#FFFFFF#000000##FFFFFF
##29174A1.0015.961.3215.96
#FFFFFF15.961.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00224C
Deuteranopia (green-blind)
#002149
Tritanopia (blue-blind)
#21222E
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #29174a;
/* rgb */ color: rgb(41, 23, 74);
/* oklch */ color: oklch(26.0% 0.090 295.7);
Tailwind
colors: {
  custom: {
    50: '#66557d',
    500: '#29174a',
    950: '#000000',
  },
}
SCSS
$custom: #29174a;
$custom-light: #66557d;
$custom-dark: #000000;
JSON
{
  "hex": "#29174a",
  "rgb": {
    "r": 41,
    "g": 23,
    "b": 74
  },
  "hsl": {
    "h": 261.176,
    "s": 52.577,
    "l": 19.02
  },
  "oklch": {
    "l": 0.26046,
    "c": 0.09045,
    "h": 295.7
  },
  "luminance": 0.01579
}

Semantic roles & 50–950 ramp

primary
#29174A
secondary
#69813C
accent
#DC4CA9
background
#F6F4F7
surface
#EBE8EE
border
#C6C4C9
text
#060309
muted
#7A787B

Preview Lab

Preview with #29174A

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

Preview Lab → · Contrast checker → · Palette generator →

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