#29174E#29174E

#29174E is a dark, moderate violet. Relative luminance 0.016; OKLCH L 26.4% C 0.096 H 293.8°. Best body text is #FFFFFF at 15.83:1 contrast (WCAG AA passes).

Color values

HEX#29174E
RGBrgb(41, 23, 78)
HSLhsl(260, 54%, 20%)
HSVhsv(260, 71%, 31%)
CMYKcmyk(47.4%, 70.5%, 0%, 69.4%)
CIE-LABlab(13.44, 23.69, -30.81)
CIE-LCHlch(13.44, 38.86, 307.55°)
OKLaboklab(26.4% 0.0389 -0.088)
OKLCHoklch(26.4% 0.096 293.8)
XYZxyz(2.5956, 1.6342, 7.3849)
Luminance0.0163 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#29174E #3C4E17
analogous
#17214E #29174E #44174E
triadic
#29174E #4E2917 #174E29
tetradic
#29174E #4E1721 #3C4E17 #174E44
square
#29174E #4E1721 #3C4E17 #174E44
split-complementary
#29174E #4E4417 #214E17
monochromatic
#0C0718 #10091F #29174E #42257D #5B33AD

Accessibility & contrast

On white

15.83
#29174E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #29174E
15.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##29174E#FFFFFF#000000##FFFFFF
##29174E1.0015.831.3315.83
#FFFFFF15.831.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002350
Deuteranopia (green-blind)
#00214D
Tritanopia (blue-blind)
#1F2430
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #29174e;
/* rgb */ color: rgb(41, 23, 78);
/* oklch */ color: oklch(26.4% 0.096 293.8);
Tailwind
colors: {
  custom: {
    50: '#665580',
    500: '#29174e',
    950: '#000000',
  },
}
SCSS
$custom: #29174e;
$custom-light: #665580;
$custom-dark: #000000;
JSON
{
  "hex": "#29174e",
  "rgb": {
    "r": 41,
    "g": 23,
    "b": 78
  },
  "hsl": {
    "h": 259.636,
    "s": 54.455,
    "l": 19.804
  },
  "oklch": {
    "l": 0.26397,
    "c": 0.09618,
    "h": 293.8
  },
  "luminance": 0.01634
}

Semantic roles & 50–950 ramp

primary
#29174E
secondary
#6D853C
accent
#DE4AAD
background
#F6F5F7
surface
#EBE8EE
border
#C6C4C9
text
#06030A
muted
#7A787C

Preview Lab

Preview with #29174E

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

Preview Lab → · Contrast checker → · Palette generator →

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