#29156A#29156A

#29156A is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.9% C 0.136 H 284.8°. Best body text is #FFFFFF at 14.90:1 contrast (WCAG AA passes).

Color values

HEX#29156A
RGBrgb(41, 21, 106)
HSLhsl(254, 67%, 25%)
HSVhsv(254, 80%, 42%)
CMYKcmyk(61.3%, 80.2%, 0%, 58.4%)
CIE-LABlab(15.74, 33.92, -45.81)
CIE-LCHlch(15.74, 57.00, 306.52°)
OKLaboklab(28.87% 0.0348 -0.132)
OKLCHoklch(28.87% 0.136 284.8)
XYZxyz(3.7833, 2.0481, 13.8288)
Luminance0.0205 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#29156A #566A15
analogous
#152B6A #29156A #54156A
triadic
#29156A #6A2915 #156A29
tetradic
#29156A #6A152B #566A15 #156A54
square
#29156A #6A152B #566A15 #156A54
split-complementary
#29156A #6A5415 #2B6A15
monochromatic
#0A051A #150B37 #29156A #3D1F9D #5129D0

Accessibility & contrast

On white

14.90
#29156A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#29156A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #29156A
14.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##29156A#FFFFFF#000000##FFFFFF
##29156A1.0014.901.4114.90
#FFFFFF14.901.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A6C
Deuteranopia (green-blind)
#002568
Tritanopia (blue-blind)
#052D3F
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #29156a;
/* rgb */ color: rgb(41, 21, 106);
/* oklch */ color: oklch(28.9% 0.136 284.8);
Tailwind
colors: {
  custom: {
    50: '#6c5596',
    500: '#29156a',
    950: '#000000',
  },
}
SCSS
$custom: #29156a;
$custom-light: #6c5596;
$custom-dark: #000000;
JSON
{
  "hex": "#29156a",
  "rgb": {
    "r": 41,
    "g": 21,
    "b": 106
  },
  "hsl": {
    "h": 254.118,
    "s": 66.929,
    "l": 24.902
  },
  "oklch": {
    "l": 0.28874,
    "c": 0.13648,
    "h": 284.8
  },
  "luminance": 0.02048
}

Semantic roles & 50–950 ramp

primary
#29156A
secondary
#89A13A
accent
#EA3EC1
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030D
muted
#7A787E

Preview Lab

Preview with #29156A

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

Preview Lab → · Contrast checker → · Palette generator →

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