#29156D#29156D

#29156D is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.2% C 0.140 H 284.0°. Best body text is #FFFFFF at 14.76:1 contrast (WCAG AA passes).

Color values

HEX#29156D
RGBrgb(41, 21, 109)
HSLhsl(254, 68%, 25%)
HSVhsv(254, 81%, 43%)
CMYKcmyk(62.4%, 80.7%, 0%, 57.3%)
CIE-LABlab(16.06, 34.87, -47.24)
CIE-LCHlch(16.06, 58.72, 306.44°)
OKLaboklab(29.2% 0.0339 -0.1361)
OKLCHoklch(29.2% 0.14 284)
XYZxyz(3.9421, 2.1116, 14.6649)
Luminance0.0211 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#29156D #596D15
analogous
#152D6D #29156D #55156D
triadic
#29156D #6D2915 #156D29
tetradic
#29156D #6D152D #596D15 #156D55
square
#29156D #6D152D #596D15 #156D55
split-complementary
#29156D #6D5515 #2D6D15
monochromatic
#0A051A #160B3A #29156D #3C1FA0 #5029D4

Accessibility & contrast

On white

14.76
#29156D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#29156D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #29156D
14.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##29156D#FFFFFF#000000##FFFFFF
##29156D1.0014.761.4214.76
#FFFFFF14.761.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A6F
Deuteranopia (green-blind)
#00256B
Tritanopia (blue-blind)
#002E40
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #29156d;
/* rgb */ color: rgb(41, 21, 109);
/* oklch */ color: oklch(29.2% 0.140 284.0);
Tailwind
colors: {
  custom: {
    50: '#6c5598',
    500: '#29156d',
    950: '#000000',
  },
}
SCSS
$custom: #29156d;
$custom-light: #6c5598;
$custom-dark: #000000;
JSON
{
  "hex": "#29156d",
  "rgb": {
    "r": 41,
    "g": 21,
    "b": 109
  },
  "hsl": {
    "h": 253.636,
    "s": 67.692,
    "l": 25.49
  },
  "oklch": {
    "l": 0.29199,
    "c": 0.14029,
    "h": 284
  },
  "luminance": 0.02112
}

Semantic roles & 50–950 ramp

primary
#29156D
secondary
#8CA33A
accent
#EB3DC3
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08030E
muted
#7A787E

Preview Lab

Preview with #29156D

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

Preview Lab → · Contrast checker → · Palette generator →

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