#29176C#29176C

#29176C is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.4% C 0.137 H 283.8°. Best body text is #FFFFFF at 14.65:1 contrast (WCAG AA passes).

Color values

HEX#29176C
RGBrgb(41, 23, 108)
HSLhsl(253, 65%, 26%)
HSVhsv(253, 79%, 42%)
CMYKcmyk(62%, 78.7%, 0%, 57.6%)
CIE-LABlab(16.34, 33.46, -46.13)
CIE-LCHlch(16.34, 56.99, 305.95°)
OKLaboklab(29.36% 0.0326 -0.1329)
OKLCHoklch(29.36% 0.137 283.8)
XYZxyz(3.9268, 2.1667, 14.3957)
Luminance0.0217 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#29176C #5A6C17
analogous
#172F6C #29176C #53176C
triadic
#29176C #6C2917 #176C29
tetradic
#29176C #6C172F #5A6C17 #176C53
square
#29176C #6C172F #5A6C17 #176C53
split-complementary
#29176C #6C5317 #2F6C17
monochromatic
#0A0519 #160C3A #29176C #3C229E #4F2CD1

Accessibility & contrast

On white

14.65
#29176C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#29176C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #29176C
14.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##29176C#FFFFFF#000000##FFFFFF
##29176C1.0014.651.4314.65
#FFFFFF14.651.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B6E
Deuteranopia (green-blind)
#00266A
Tritanopia (blue-blind)
#012F40
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #29176c;
/* rgb */ color: rgb(41, 23, 108);
/* oklch */ color: oklch(29.4% 0.137 283.8);
Tailwind
colors: {
  custom: {
    50: '#6c5697',
    500: '#29176c',
    950: '#000000',
  },
}
SCSS
$custom: #29176c;
$custom-light: #6c5697;
$custom-dark: #000000;
JSON
{
  "hex": "#29176c",
  "rgb": {
    "r": 41,
    "g": 23,
    "b": 108
  },
  "hsl": {
    "h": 252.706,
    "s": 64.885,
    "l": 25.686
  },
  "oklch": {
    "l": 0.2936,
    "c": 0.13688,
    "h": 283.8
  },
  "luminance": 0.02167
}

Semantic roles & 50–950 ramp

primary
#29176C
secondary
#8DA23D
accent
#E840C4
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08030E
muted
#7A787E

Preview Lab

Preview with #29176C

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

Preview Lab → · Contrast checker → · Palette generator →

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