#29176D#29176D

#29176D is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.5% C 0.138 H 283.5°. Best body text is #FFFFFF at 14.61:1 contrast (WCAG AA passes).

Color values

HEX#29176D
RGBrgb(41, 23, 109)
HSLhsl(253, 65%, 26%)
HSVhsv(253, 79%, 43%)
CMYKcmyk(62.4%, 78.9%, 0%, 57.3%)
CIE-LABlab(16.44, 33.78, -46.61)
CIE-LCHlch(16.44, 57.56, 305.94°)
OKLaboklab(29.47% 0.0324 -0.1343)
OKLCHoklch(29.47% 0.138 283.5)
XYZxyz(3.9803, 2.1881, 14.6776)
Luminance0.0219 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#29176D #5B6D17
analogous
#17306D #29176D #54176D
triadic
#29176D #6D2917 #176D29
tetradic
#29176D #6D1730 #5B6D17 #176D54
square
#29176D #6D1730 #5B6D17 #176D54
split-complementary
#29176D #6D5417 #306D17
monochromatic
#0A0519 #160C3A #29176D #3C22A0 #4F2CD2

Accessibility & contrast

On white

14.61
#29176D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#29176D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #29176D
14.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##29176D#FFFFFF#000000##FFFFFF
##29176D1.0014.611.4414.61
#FFFFFF14.611.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B6F
Deuteranopia (green-blind)
#00266B
Tritanopia (blue-blind)
#002F41
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #29176d;
/* rgb */ color: rgb(41, 23, 109);
/* oklch */ color: oklch(29.5% 0.138 283.5);
Tailwind
colors: {
  custom: {
    50: '#6c5698',
    500: '#29176d',
    950: '#000000',
  },
}
SCSS
$custom: #29176d;
$custom-light: #6c5698;
$custom-dark: #000000;
JSON
{
  "hex": "#29176d",
  "rgb": {
    "r": 41,
    "g": 23,
    "b": 109
  },
  "hsl": {
    "h": 252.558,
    "s": 65.152,
    "l": 25.882
  },
  "oklch": {
    "l": 0.29467,
    "c": 0.13817,
    "h": 283.5
  },
  "luminance": 0.02188
}

Semantic roles & 50–950 ramp

primary
#29176D
secondary
#8EA33D
accent
#E840C5
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08030E
muted
#7A787E

Preview Lab

Preview with #29176D

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

Preview Lab → · Contrast checker → · Palette generator →

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