#29154C#29154C

#29154C is a dark, moderate violet. Relative luminance 0.015; OKLCH L 25.9% C 0.096 H 295.6°. Best body text is #FFFFFF at 16.08:1 contrast (WCAG AA passes).

Color values

HEX#29154C
RGBrgb(41, 21, 76)
HSLhsl(262, 57%, 19%)
HSVhsv(262, 72%, 30%)
CMYKcmyk(46.1%, 72.4%, 0%, 70.2%)
CIE-LABlab(12.79, 24.32, -30.48)
CIE-LCHlch(12.79, 38.99, 308.59°)
OKLaboklab(25.88% 0.0417 -0.087)
OKLCHoklch(25.88% 0.096 295.6)
XYZxyz(2.4868, 1.5295, 7.0003)
Luminance0.0153 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#29154C #384C15
analogous
#151D4C #29154C #45154C
triadic
#29154C #4C2915 #154C29
tetradic
#29154C #4C151D #384C15 #154C45
square
#29154C #4C151D #384C15 #154C45
split-complementary
#29154C #4C4515 #1D4C15
monochromatic
#0D0718 #0F081C #29154C #43227C #5D2FAC

Accessibility & contrast

On white

16.08
#29154C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#29154C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #29154C
16.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##29154C#FFFFFF#000000##FFFFFF
##29154C1.0016.081.3116.08
#FFFFFF16.081.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00224E
Deuteranopia (green-blind)
#00204B
Tritanopia (blue-blind)
#20222E
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #29154c;
/* rgb */ color: rgb(41, 21, 76);
/* oklch */ color: oklch(25.9% 0.096 295.6);
Tailwind
colors: {
  custom: {
    50: '#66547e',
    500: '#29154c',
    950: '#000000',
  },
}
SCSS
$custom: #29154c;
$custom-light: #66547e;
$custom-dark: #000000;
JSON
{
  "hex": "#29154c",
  "rgb": {
    "r": 41,
    "g": 21,
    "b": 76
  },
  "hsl": {
    "h": 261.818,
    "s": 56.701,
    "l": 19.02
  },
  "oklch": {
    "l": 0.25879,
    "c": 0.09646,
    "h": 295.6
  },
  "luminance": 0.0153
}

Semantic roles & 50–950 ramp

primary
#29154C
secondary
#698439
accent
#E048A9
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#06020A
muted
#7A787C

Preview Lab

Preview with #29154C

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

Preview Lab → · Contrast checker → · Palette generator →

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