#29156F#29156F

#29156F is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.4% C 0.143 H 283.5°. Best body text is #FFFFFF at 14.68:1 contrast (WCAG AA passes).

Color values

HEX#29156F
RGBrgb(41, 21, 111)
HSLhsl(253, 68%, 26%)
HSVhsv(253, 81%, 44%)
CMYKcmyk(63.1%, 81.1%, 0%, 56.5%)
CIE-LABlab(16.28, 35.51, -48.18)
CIE-LCHlch(16.28, 59.85, 306.39°)
OKLaboklab(29.42% 0.0332 -0.1389)
OKLCHoklch(29.42% 0.143 283.5)
XYZxyz(4.0510, 2.1552, 15.2384)
Luminance0.0215 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#29156F #5B6F15
analogous
#152E6F #29156F #56156F
triadic
#29156F #6F2915 #156F29
tetradic
#29156F #6F152E #5B6F15 #156F56
square
#29156F #6F152E #5B6F15 #156F56
split-complementary
#29156F #6F5615 #2E6F15
monochromatic
#0A051A #160B3C #29156F #3C1FA2 #4F28D6

Accessibility & contrast

On white

14.68
#29156F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#29156F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #29156F
14.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##29156F#FFFFFF#000000##FFFFFF
##29156F1.0014.681.4314.68
#FFFFFF14.681.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B72
Deuteranopia (green-blind)
#00256D
Tritanopia (blue-blind)
#002F41
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #29156f;
/* rgb */ color: rgb(41, 21, 111);
/* oklch */ color: oklch(29.4% 0.143 283.5);
Tailwind
colors: {
  custom: {
    50: '#6d5599',
    500: '#29156f',
    950: '#000000',
  },
}
SCSS
$custom: #29156f;
$custom-light: #6d5599;
$custom-dark: #000000;
JSON
{
  "hex": "#29156f",
  "rgb": {
    "r": 41,
    "g": 21,
    "b": 111
  },
  "hsl": {
    "h": 253.333,
    "s": 68.182,
    "l": 25.882
  },
  "oklch": {
    "l": 0.29418,
    "c": 0.14282,
    "h": 283.5
  },
  "luminance": 0.02155
}

Semantic roles & 50–950 ramp

primary
#29156F
secondary
#8EA53A
accent
#EB3DC4
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08030E
muted
#7A787E

Preview Lab

Preview with #29156F

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

Preview Lab → · Contrast checker → · Palette generator →

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