#29177D#29177D

#29177D is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.2% C 0.158 H 280.1°. Best body text is #FFFFFF at 13.88:1 contrast (WCAG AA passes).

Color values

HEX#29177D
RGBrgb(41, 23, 125)
HSLhsl(251, 69%, 29%)
HSVhsv(251, 82%, 49%)
CMYKcmyk(67.2%, 81.6%, 0%, 51%)
CIE-LABlab(18.21, 38.91, -54.01)
CIE-LCHlch(18.21, 66.57, 305.77°)
OKLaboklab(31.23% 0.0277 -0.1559)
OKLCHoklch(31.23% 0.158 280.1)
XYZxyz(4.9213, 2.5645, 19.6337)
Luminance0.0256 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#29177D #6B7D17
analogous
#17387D #29177D #5C177D
triadic
#29177D #7D2917 #177D29
tetradic
#29177D #7D1738 #6B7D17 #177D5C
square
#29177D #7D1738 #6B7D17 #177D5C
split-complementary
#29177D #7D5C17 #387D17
monochromatic
#08051A #180D49 #29177D #3A21B1 #5235DA

Accessibility & contrast

On white

13.88
#29177D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#29177D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #29177D
13.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##29177D#FFFFFF#000000##FFFFFF
##29177D1.0013.881.5113.88
#FFFFFF13.881.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003080
Deuteranopia (green-blind)
#00297B
Tritanopia (blue-blind)
#00364A
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #29177d;
/* rgb */ color: rgb(41, 23, 125);
/* oklch */ color: oklch(31.2% 0.158 280.1);
Tailwind
colors: {
  custom: {
    50: '#7057a4',
    500: '#29177d',
    950: '#000000',
  },
}
SCSS
$custom: #29177d;
$custom-light: #7057a4;
$custom-dark: #000000;
JSON
{
  "hex": "#29177d",
  "rgb": {
    "r": 41,
    "g": 23,
    "b": 125
  },
  "hsl": {
    "h": 250.588,
    "s": 68.919,
    "l": 29.02
  },
  "oklch": {
    "l": 0.31227,
    "c": 0.15836,
    "h": 280.1
  },
  "luminance": 0.02565
}

Semantic roles & 50–950 ramp

primary
#29177D
secondary
#9DB23E
accent
#EC3CCD
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #29177D

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

Preview Lab → · Contrast checker → · Palette generator →

#29177D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva