#29156C#29156C

#29156C is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.1% C 0.139 H 284.2°. Best body text is #FFFFFF at 14.81:1 contrast (WCAG AA passes).

Color values

HEX#29156C
RGBrgb(41, 21, 108)
HSLhsl(254, 67%, 25%)
HSVhsv(254, 81%, 42%)
CMYKcmyk(62%, 80.6%, 0%, 57.6%)
CIE-LABlab(15.95, 34.56, -46.77)
CIE-LCHlch(15.95, 58.15, 306.46°)
OKLaboklab(29.09% 0.0342 -0.1348)
OKLCHoklch(29.09% 0.139 284.2)
XYZxyz(3.8886, 2.0902, 14.3830)
Luminance0.0209 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#29156C #586C15
analogous
#152C6C #29156C #54156C
triadic
#29156C #6C2915 #156C29
tetradic
#29156C #6C152C #586C15 #156C54
square
#29156C #6C152C #586C15 #156C54
split-complementary
#29156C #6C5415 #2C6C15
monochromatic
#0A051A #160B39 #29156C #3C1F9F #5029D2

Accessibility & contrast

On white

14.81
#29156C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #29156C
14.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##29156C#FFFFFF#000000##FFFFFF
##29156C1.0014.811.4214.81
#FFFFFF14.811.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A6E
Deuteranopia (green-blind)
#00256A
Tritanopia (blue-blind)
#012E40
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #29156c;
/* rgb */ color: rgb(41, 21, 108);
/* oklch */ color: oklch(29.1% 0.139 284.2);
Tailwind
colors: {
  custom: {
    50: '#6c5597',
    500: '#29156c',
    950: '#000000',
  },
}
SCSS
$custom: #29156c;
$custom-light: #6c5597;
$custom-dark: #000000;
JSON
{
  "hex": "#29156c",
  "rgb": {
    "r": 41,
    "g": 21,
    "b": 108
  },
  "hsl": {
    "h": 253.793,
    "s": 67.442,
    "l": 25.294
  },
  "oklch": {
    "l": 0.2909,
    "c": 0.13902,
    "h": 284.2
  },
  "luminance": 0.0209
}

Semantic roles & 50–950 ramp

primary
#29156C
secondary
#8BA33A
accent
#EA3DC3
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08030E
muted
#7A787E

Preview Lab

Preview with #29156C

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

Preview Lab → · Contrast checker → · Palette generator →

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