#29167C#29167C

#29167C is a dark, vivid violet. Relative luminance 0.025; OKLCH L 31.0% C 0.158 H 280.4°. Best body text is #FFFFFF at 14.00:1 contrast (WCAG AA passes).

Color values

HEX#29167C
RGBrgb(41, 22, 124)
HSLhsl(251, 70%, 29%)
HSVhsv(251, 82%, 49%)
CMYKcmyk(66.9%, 82.3%, 0%, 51.4%)
CIE-LABlab(17.92, 39.10, -53.85)
CIE-LCHlch(17.92, 66.55, 305.98°)
OKLaboklab(30.99% 0.0286 -0.1554)
OKLCHoklch(30.99% 0.158 280.4)
XYZxyz(4.8383, 2.5001, 19.2925)
Luminance0.0250 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#29167C #697C16
analogous
#16367C #29167C #5C167C
triadic
#29167C #7C2916 #167C29
tetradic
#29167C #7C1636 #697C16 #167C5C
square
#29167C #7C1636 #697C16 #167C5C
split-complementary
#29167C #7C5C16 #367C16
monochromatic
#09051A #180D48 #29167C #3A1FB0 #5132DB

Accessibility & contrast

On white

14.00
#29167C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#29167C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #29167C
14.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##29167C#FFFFFF#000000##FFFFFF
##29167C1.0014.001.5014.00
#FFFFFF14.001.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F7F
Deuteranopia (green-blind)
#00287A
Tritanopia (blue-blind)
#003549
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #29167c;
/* rgb */ color: rgb(41, 22, 124);
/* oklch */ color: oklch(31.0% 0.158 280.4);
Tailwind
colors: {
  custom: {
    50: '#7057a3',
    500: '#29167c',
    950: '#000000',
  },
}
SCSS
$custom: #29167c;
$custom-light: #7057a3;
$custom-dark: #000000;
JSON
{
  "hex": "#29167c",
  "rgb": {
    "r": 41,
    "g": 22,
    "b": 124
  },
  "hsl": {
    "h": 251.176,
    "s": 69.863,
    "l": 28.627
  },
  "oklch": {
    "l": 0.30993,
    "c": 0.15804,
    "h": 280.4
  },
  "luminance": 0.025
}

Semantic roles & 50–950 ramp

primary
#29167C
secondary
#9BB13D
accent
#ED3BCC
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #29167C

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

Preview Lab → · Contrast checker → · Palette generator →

#29167C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva