#29117D#29117D

#29117D is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.6% C 0.163 H 280.9°. Best body text is #FFFFFF at 14.28:1 contrast (WCAG AA passes).

Color values

HEX#29117D
RGBrgb(41, 17, 125)
HSLhsl(253, 76%, 28%)
HSVhsv(253, 86%, 49%)
CMYKcmyk(67.2%, 86.4%, 0%, 51%)
CIE-LABlab(17.24, 41.74, -55.62)
CIE-LCHlch(17.24, 69.54, 306.89°)
OKLaboklab(30.56% 0.0308 -0.1605)
OKLCHoklch(30.56% 0.163 280.9)
XYZxyz(4.8154, 2.3526, 19.5984)
Luminance0.0235 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#29117D #657D11
analogous
#112F7D #29117D #5F117D
triadic
#29117D #7D2911 #117D29
tetradic
#29117D #7D112F #657D11 #117D5F
square
#29117D #7D112F #657D11 #117D5F
split-complementary
#29117D #7D5F11 #2F7D11
monochromatic
#09041B #170A47 #29117D #3B18B3 #5027E2

Accessibility & contrast

On white

14.28
#29117D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#29117D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #29117D
14.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##29117D#FFFFFF#000000##FFFFFF
##29117D1.0014.281.4714.28
#FFFFFF14.281.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E80
Deuteranopia (green-blind)
#00267B
Tritanopia (blue-blind)
#003449
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #29117d;
/* rgb */ color: rgb(41, 17, 125);
/* oklch */ color: oklch(30.6% 0.163 280.9);
Tailwind
colors: {
  custom: {
    50: '#7054a4',
    500: '#29117d',
    950: '#000000',
  },
}
SCSS
$custom: #29117d;
$custom-light: #7054a4;
$custom-dark: #000000;
JSON
{
  "hex": "#29117d",
  "rgb": {
    "r": 41,
    "g": 17,
    "b": 125
  },
  "hsl": {
    "h": 253.333,
    "s": 76.056,
    "l": 27.843
  },
  "oklch": {
    "l": 0.30557,
    "c": 0.16342,
    "h": 280.9
  },
  "luminance": 0.02353
}

Semantic roles & 50–950 ramp

primary
#29117D
secondary
#97B337
accent
#F335C9
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09030F
muted
#7B787F

Preview Lab

Preview with #29117D

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

Preview Lab → · Contrast checker → · Palette generator →

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