#29156B#29156B

#29156B is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.0% C 0.138 H 284.5°. Best body text is #FFFFFF at 14.85:1 contrast (WCAG AA passes).

Color values

HEX#29156B
RGBrgb(41, 21, 107)
HSLhsl(254, 67%, 25%)
HSVhsv(254, 80%, 42%)
CMYKcmyk(61.7%, 80.4%, 0%, 58%)
CIE-LABlab(15.85, 34.24, -46.29)
CIE-LCHlch(15.85, 57.58, 306.49°)
OKLaboklab(28.98% 0.0345 -0.1334)
OKLCHoklch(28.98% 0.138 284.5)
XYZxyz(3.8356, 2.0690, 14.1043)
Luminance0.0207 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#29156B #576B15
analogous
#152C6B #29156B #54156B
triadic
#29156B #6B2915 #156B29
tetradic
#29156B #6B152C #576B15 #156B54
square
#29156B #6B152C #576B15 #156B54
split-complementary
#29156B #6B5415 #2C6B15
monochromatic
#0A051A #150B38 #29156B #3D1F9E #5029D1

Accessibility & contrast

On white

14.85
#29156B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #29156B
14.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##29156B#FFFFFF#000000##FFFFFF
##29156B1.0014.851.4114.85
#FFFFFF14.851.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A6D
Deuteranopia (green-blind)
#002569
Tritanopia (blue-blind)
#032E3F
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #29156b;
/* rgb */ color: rgb(41, 21, 107);
/* oklch */ color: oklch(29.0% 0.138 284.5);
Tailwind
colors: {
  custom: {
    50: '#6c5596',
    500: '#29156b',
    950: '#000000',
  },
}
SCSS
$custom: #29156b;
$custom-light: #6c5596;
$custom-dark: #000000;
JSON
{
  "hex": "#29156b",
  "rgb": {
    "r": 41,
    "g": 21,
    "b": 107
  },
  "hsl": {
    "h": 253.953,
    "s": 67.188,
    "l": 25.098
  },
  "oklch": {
    "l": 0.28982,
    "c": 0.13776,
    "h": 284.5
  },
  "luminance": 0.02069
}

Semantic roles & 50–950 ramp

primary
#29156B
secondary
#8AA23A
accent
#EA3EC2
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08030D
muted
#7B787E

Preview Lab

Preview with #29156B

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

Preview Lab → · Contrast checker → · Palette generator →

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