#29117E#29117E

#29117E is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.7% C 0.165 H 280.6°. Best body text is #FFFFFF at 14.23:1 contrast (WCAG AA passes).

Color values

HEX#29117E
RGBrgb(41, 17, 126)
HSLhsl(253, 76%, 28%)
HSVhsv(253, 87%, 49%)
CMYKcmyk(67.5%, 86.5%, 0%, 50.6%)
CIE-LABlab(17.36, 42.04, -56.05)
CIE-LCHlch(17.36, 70.07, 306.87°)
OKLaboklab(30.68% 0.0304 -0.1618)
OKLCHoklch(30.68% 0.165 280.6)
XYZxyz(4.8796, 2.3783, 19.9365)
Luminance0.0238 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#29117E #667E11
analogous
#112F7E #29117E #5F117E
triadic
#29117E #7E2911 #117E29
tetradic
#29117E #7E112F #667E11 #117E5F
square
#29117E #7E112F #667E11 #117E5F
split-complementary
#29117E #7E5F11 #2F7E11
monochromatic
#09041B #170A48 #29117E #3B18B4 #5127E2

Accessibility & contrast

On white

14.23
#29117E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #29117E
14.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##29117E#FFFFFF#000000##FFFFFF
##29117E1.0014.231.4814.23
#FFFFFF14.231.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E81
Deuteranopia (green-blind)
#00277C
Tritanopia (blue-blind)
#003449
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #29117e;
/* rgb */ color: rgb(41, 17, 126);
/* oklch */ color: oklch(30.7% 0.165 280.6);
Tailwind
colors: {
  custom: {
    50: '#7055a5',
    500: '#29117e',
    950: '#000000',
  },
}
SCSS
$custom: #29117e;
$custom-light: #7055a5;
$custom-dark: #000000;
JSON
{
  "hex": "#29117e",
  "rgb": {
    "r": 41,
    "g": 17,
    "b": 126
  },
  "hsl": {
    "h": 253.211,
    "s": 76.224,
    "l": 28.039
  },
  "oklch": {
    "l": 0.30675,
    "c": 0.1646,
    "h": 280.6
  },
  "luminance": 0.02379
}

Semantic roles & 50–950 ramp

primary
#29117E
secondary
#98B437
accent
#F335C9
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09030F
muted
#7B787F

Preview Lab

Preview with #29117E

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

Preview Lab → · Contrast checker → · Palette generator →

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