#29177E#29177E

#29177E is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.3% C 0.160 H 279.9°. Best body text is #FFFFFF at 13.83:1 contrast (WCAG AA passes).

Color values

HEX#29177E
RGBrgb(41, 23, 126)
HSLhsl(250, 69%, 29%)
HSVhsv(250, 82%, 49%)
CMYKcmyk(67.5%, 81.7%, 0%, 50.6%)
CIE-LABlab(18.32, 39.23, -54.46)
CIE-LCHlch(18.32, 67.12, 305.76°)
OKLaboklab(31.34% 0.0274 -0.1572)
OKLCHoklch(31.34% 0.16 279.9)
XYZxyz(4.9855, 2.5902, 19.9718)
Luminance0.0259 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#29177E #6C7E17
analogous
#17397E #29177E #5D177E
triadic
#29177E #7E2917 #177E29
tetradic
#29177E #7E1739 #6C7E17 #177E5D
square
#29177E #7E1739 #6C7E17 #177E5D
split-complementary
#29177E #7E5D17 #397E17
monochromatic
#08051A #180E4A #29177E #3A20B2 #5235DA

Accessibility & contrast

On white

13.83
#29177E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#29177E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #29177E
13.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##29177E#FFFFFF#000000##FFFFFF
##29177E1.0013.831.5213.83
#FFFFFF13.831.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003081
Deuteranopia (green-blind)
#00297C
Tritanopia (blue-blind)
#00364B
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #29177e;
/* rgb */ color: rgb(41, 23, 126);
/* oklch */ color: oklch(31.3% 0.160 279.9);
Tailwind
colors: {
  custom: {
    50: '#7058a5',
    500: '#29177e',
    950: '#000000',
  },
}
SCSS
$custom: #29177e;
$custom-light: #7058a5;
$custom-dark: #000000;
JSON
{
  "hex": "#29177e",
  "rgb": {
    "r": 41,
    "g": 23,
    "b": 126
  },
  "hsl": {
    "h": 250.485,
    "s": 69.128,
    "l": 29.216
  },
  "oklch": {
    "l": 0.3134,
    "c": 0.15959,
    "h": 279.9
  },
  "luminance": 0.02591
}

Semantic roles & 50–950 ramp

primary
#29177E
secondary
#9EB33E
accent
#EC3CCD
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09030F
muted
#7B787F

Preview Lab

Preview with #29177E

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

Preview Lab → · Contrast checker → · Palette generator →

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