#29117F#29117F

#29117F is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.8% C 0.166 H 280.4°. Best body text is #FFFFFF at 14.18:1 contrast (WCAG AA passes).

Color values

HEX#29117F
RGBrgb(41, 17, 127)
HSLhsl(253, 76%, 28%)
HSVhsv(253, 87%, 50%)
CMYKcmyk(67.7%, 86.6%, 0%, 50.2%)
CIE-LABlab(17.48, 42.34, -56.49)
CIE-LCHlch(17.48, 70.60, 306.85°)
OKLaboklab(30.79% 0.03 -0.163)
OKLCHoklch(30.79% 0.166 280.4)
XYZxyz(4.9445, 2.4042, 20.2781)
Luminance0.0240 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#29117F #677F11
analogous
#11307F #29117F #60117F
triadic
#29117F #7F2911 #117F29
tetradic
#29117F #7F1130 #677F11 #117F60
square
#29117F #7F1130 #677F11 #117F60
split-complementary
#29117F #7F6011 #307F11
monochromatic
#09041B #180A49 #29117F #3A18B5 #5128E2

Accessibility & contrast

On white

14.18
#29117F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#29117F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #29117F
14.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##29117F#FFFFFF#000000##FFFFFF
##29117F1.0014.181.4814.18
#FFFFFF14.181.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F82
Deuteranopia (green-blind)
#00277D
Tritanopia (blue-blind)
#00344A
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #29117f;
/* rgb */ color: rgb(41, 17, 127);
/* oklch */ color: oklch(30.8% 0.166 280.4);
Tailwind
colors: {
  custom: {
    50: '#7155a5',
    500: '#29117f',
    950: '#000000',
  },
}
SCSS
$custom: #29117f;
$custom-light: #7155a5;
$custom-dark: #000000;
JSON
{
  "hex": "#29117f",
  "rgb": {
    "r": 41,
    "g": 17,
    "b": 127
  },
  "hsl": {
    "h": 253.091,
    "s": 76.389,
    "l": 28.235
  },
  "oklch": {
    "l": 0.30793,
    "c": 0.16578,
    "h": 280.4
  },
  "luminance": 0.02405
}

Semantic roles & 50–950 ramp

primary
#29117F
secondary
#99B537
accent
#F335C9
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09030F
muted
#7B787F

Preview Lab

Preview with #29117F

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

Preview Lab → · Contrast checker → · Palette generator →

#29117F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva