#29147A#29147A

#29147A is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.5% C 0.157 H 281.1°. Best body text is #FFFFFF at 14.23:1 contrast (WCAG AA passes).

Color values

HEX#29147A
RGBrgb(41, 20, 122)
HSLhsl(252, 72%, 28%)
HSVhsv(252, 84%, 48%)
CMYKcmyk(66.4%, 83.6%, 0%, 52.2%)
CIE-LABlab(17.35, 39.46, -53.51)
CIE-LCHlch(17.35, 66.49, 306.41°)
OKLaboklab(30.53% 0.0303 -0.1544)
OKLCHoklch(30.53% 0.157 281.1)
XYZxyz(4.6764, 2.3765, 18.6209)
Luminance0.0238 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#29147A #657A14
analogous
#14327A #29147A #5C147A
triadic
#29147A #7A2914 #147A29
tetradic
#29147A #7A1432 #657A14 #147A5C
square
#29147A #7A1432 #657A14 #147A5C
split-complementary
#29147A #7A5C14 #327A14
monochromatic
#09041A #170B45 #29147A #3B1DAF #502CDC

Accessibility & contrast

On white

14.23
#29147A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#29147A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #29147A
14.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##29147A#FFFFFF#000000##FFFFFF
##29147A1.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)
#002E7D
Deuteranopia (green-blind)
#002778
Tritanopia (blue-blind)
#003348
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #29147a;
/* rgb */ color: rgb(41, 20, 122);
/* oklch */ color: oklch(30.5% 0.157 281.1);
Tailwind
colors: {
  custom: {
    50: '#6f56a2',
    500: '#29147a',
    950: '#000000',
  },
}
SCSS
$custom: #29147a;
$custom-light: #6f56a2;
$custom-dark: #000000;
JSON
{
  "hex": "#29147a",
  "rgb": {
    "r": 41,
    "g": 20,
    "b": 122
  },
  "hsl": {
    "h": 252.353,
    "s": 71.831,
    "l": 27.843
  },
  "oklch": {
    "l": 0.30531,
    "c": 0.15738,
    "h": 281.1
  },
  "luminance": 0.02377
}

Semantic roles & 50–950 ramp

primary
#29147A
secondary
#97B03A
accent
#EF39C9
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #29147A

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

Preview Lab → · Contrast checker → · Palette generator →

#29147A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva