#29177B#29177B

#29177B is a dark, vivid violet. Relative luminance 0.025; OKLCH L 31.0% C 0.156 H 280.5°. Best body text is #FFFFFF at 13.97:1 contrast (WCAG AA passes).

Color values

HEX#29177B
RGBrgb(41, 23, 123)
HSLhsl(251, 68%, 29%)
HSVhsv(251, 81%, 48%)
CMYKcmyk(66.7%, 81.3%, 0%, 51.8%)
CIE-LABlab(17.98, 38.28, -53.11)
CIE-LCHlch(17.98, 65.47, 305.78°)
OKLaboklab(31% 0.0283 -0.1533)
OKLCHoklch(31% 0.156 280.5)
XYZxyz(4.7949, 2.5139, 18.9676)
Luminance0.0251 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#29177B #697B17
analogous
#17377B #29177B #5B177B
triadic
#29177B #7B2917 #177B29
tetradic
#29177B #7B1737 #697B17 #177B5B
square
#29177B #7B1737 #697B17 #177B5B
split-complementary
#29177B #7B5B17 #377B17
monochromatic
#09051A #180D47 #29177B #3A21AF #5133D9

Accessibility & contrast

On white

13.97
#29177B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #29177B
13.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##29177B#FFFFFF#000000##FFFFFF
##29177B1.0013.971.5013.97
#FFFFFF13.971.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F7E
Deuteranopia (green-blind)
#002879
Tritanopia (blue-blind)
#003549
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #29177b;
/* rgb */ color: rgb(41, 23, 123);
/* oklch */ color: oklch(31.0% 0.156 280.5);
Tailwind
colors: {
  custom: {
    50: '#6f57a2',
    500: '#29177b',
    950: '#000000',
  },
}
SCSS
$custom: #29177b;
$custom-light: #6f57a2;
$custom-dark: #000000;
JSON
{
  "hex": "#29177b",
  "rgb": {
    "r": 41,
    "g": 23,
    "b": 123
  },
  "hsl": {
    "h": 250.8,
    "s": 68.493,
    "l": 28.627
  },
  "oklch": {
    "l": 0.31002,
    "c": 0.15589,
    "h": 280.5
  },
  "luminance": 0.02514
}

Semantic roles & 50–950 ramp

primary
#29177B
secondary
#9BB03E
accent
#EB3CCC
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #29177B

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

Preview Lab → · Contrast checker → · Palette generator →

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