#29166C#29166C

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

Color values

HEX#29166C
RGBrgb(41, 22, 108)
HSLhsl(253, 66%, 25%)
HSVhsv(253, 80%, 42%)
CMYKcmyk(62%, 79.6%, 0%, 57.6%)
CIE-LABlab(16.14, 34.01, -46.45)
CIE-LCHlch(16.14, 57.57, 306.21°)
OKLaboklab(29.22% 0.0334 -0.1339)
OKLCHoklch(29.22% 0.138 284)
XYZxyz(3.9073, 2.1277, 14.3892)
Luminance0.0213 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#29166C #596C16
analogous
#162E6C #29166C #54166C
triadic
#29166C #6C2916 #166C29
tetradic
#29166C #6C162E #596C16 #166C54
square
#29166C #6C162E #596C16 #166C54
split-complementary
#29166C #6C5416 #2E6C16
monochromatic
#0A0519 #160C39 #29166C #3C209F #502BD2

Accessibility & contrast

On white

14.73
#29166C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#29166C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #29166C
14.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##29166C#FFFFFF#000000##FFFFFF
##29166C1.0014.731.4314.73
#FFFFFF14.731.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.731.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #29166c;
/* rgb */ color: rgb(41, 22, 108);
/* oklch */ color: oklch(29.2% 0.138 284.0);
Tailwind
colors: {
  custom: {
    50: '#6c5697',
    500: '#29166c',
    950: '#000000',
  },
}
SCSS
$custom: #29166c;
$custom-light: #6c5697;
$custom-dark: #000000;
JSON
{
  "hex": "#29166c",
  "rgb": {
    "r": 41,
    "g": 22,
    "b": 108
  },
  "hsl": {
    "h": 253.256,
    "s": 66.154,
    "l": 25.49
  },
  "oklch": {
    "l": 0.29223,
    "c": 0.13797,
    "h": 284
  },
  "luminance": 0.02128
}

Semantic roles & 50–950 ramp

primary
#29166C
secondary
#8CA23C
accent
#E93FC3
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08030E
muted
#7A787E

Preview Lab

Preview with #29166C

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

Preview Lab → · Contrast checker → · Palette generator →

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