#29177A#29177A

#29177A is a dark, vivid violet. Relative luminance 0.025; OKLCH L 30.9% C 0.155 H 280.7°. Best body text is #FFFFFF at 14.02:1 contrast (WCAG AA passes).

Color values

HEX#29177A
RGBrgb(41, 23, 122)
HSLhsl(251, 68%, 28%)
HSVhsv(251, 81%, 48%)
CMYKcmyk(66.4%, 81.1%, 0%, 52.2%)
CIE-LABlab(17.87, 37.96, -52.66)
CIE-LCHlch(17.87, 64.91, 305.79°)
OKLaboklab(30.89% 0.0286 -0.152)
OKLCHoklch(30.89% 0.155 280.7)
XYZxyz(4.7326, 2.4890, 18.6396)
Luminance0.0249 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#29177A #687A17
analogous
#17367A #29177A #5A177A
triadic
#29177A #7A2917 #177A29
tetradic
#29177A #7A1736 #687A17 #177A5A
square
#29177A #7A1736 #687A17 #177A5A
split-complementary
#29177A #7A5A17 #367A17
monochromatic
#09051A #180D47 #29177A #3A21AD #5133D9

Accessibility & contrast

On white

14.02
#29177A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#29177A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #29177A
14.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##29177A#FFFFFF#000000##FFFFFF
##29177A1.0014.021.5014.02
#FFFFFF14.021.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F7D
Deuteranopia (green-blind)
#002878
Tritanopia (blue-blind)
#003448
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #29177a;
/* rgb */ color: rgb(41, 23, 122);
/* oklch */ color: oklch(30.9% 0.155 280.7);
Tailwind
colors: {
  custom: {
    50: '#6f57a2',
    500: '#29177a',
    950: '#000000',
  },
}
SCSS
$custom: #29177a;
$custom-light: #6f57a2;
$custom-dark: #000000;
JSON
{
  "hex": "#29177a",
  "rgb": {
    "r": 41,
    "g": 23,
    "b": 122
  },
  "hsl": {
    "h": 250.909,
    "s": 68.276,
    "l": 28.431
  },
  "oklch": {
    "l": 0.30891,
    "c": 0.15465,
    "h": 280.7
  },
  "luminance": 0.02489
}

Semantic roles & 50–950 ramp

primary
#29177A
secondary
#9AAF3E
accent
#EB3DCB
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #29177A

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

Preview Lab → · Contrast checker → · Palette generator →

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