#29166D#29166D

#29166D is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.3% C 0.139 H 283.8°. Best body text is #FFFFFF at 14.69:1 contrast (WCAG AA passes).

Color values

HEX#29166D
RGBrgb(41, 22, 109)
HSLhsl(253, 66%, 26%)
HSVhsv(253, 80%, 43%)
CMYKcmyk(62.4%, 79.8%, 0%, 57.3%)
CIE-LABlab(16.25, 34.33, -46.93)
CIE-LCHlch(16.25, 58.15, 306.19°)
OKLaboklab(29.33% 0.0331 -0.1352)
OKLCHoklch(29.33% 0.139 283.8)
XYZxyz(3.9608, 2.1491, 14.6711)
Luminance0.0215 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#29166D #5A6D16
analogous
#162F6D #29166D #54166D
triadic
#29166D #6D2916 #166D29
tetradic
#29166D #6D162F #5A6D16 #166D54
square
#29166D #6D162F #5A6D16 #166D54
split-complementary
#29166D #6D5416 #2F6D16
monochromatic
#0A0519 #160C3A #29166D #3C20A0 #4F2BD3

Accessibility & contrast

On white

14.69
#29166D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #29166D
14.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##29166D#FFFFFF#000000##FFFFFF
##29166D1.0014.691.4314.69
#FFFFFF14.691.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.691.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #29166d;
/* rgb */ color: rgb(41, 22, 109);
/* oklch */ color: oklch(29.3% 0.139 283.8);
Tailwind
colors: {
  custom: {
    50: '#6c5698',
    500: '#29166d',
    950: '#000000',
  },
}
SCSS
$custom: #29166d;
$custom-light: #6c5698;
$custom-dark: #000000;
JSON
{
  "hex": "#29166d",
  "rgb": {
    "r": 41,
    "g": 22,
    "b": 109
  },
  "hsl": {
    "h": 253.103,
    "s": 66.412,
    "l": 25.686
  },
  "oklch": {
    "l": 0.29331,
    "c": 0.13925,
    "h": 283.8
  },
  "luminance": 0.02149
}

Semantic roles & 50–950 ramp

primary
#29166D
secondary
#8DA33C
accent
#E93EC4
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08030E
muted
#7A787E

Preview Lab

Preview with #29166D

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

Preview Lab → · Contrast checker → · Palette generator →

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