#29166B#29166B

#29166B is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.1% C 0.137 H 284.3°. Best body text is #FFFFFF at 14.77:1 contrast (WCAG AA passes).

Color values

HEX#29166B
RGBrgb(41, 22, 107)
HSLhsl(253, 66%, 25%)
HSVhsv(253, 79%, 42%)
CMYKcmyk(61.7%, 79.4%, 0%, 58%)
CIE-LABlab(16.04, 33.69, -45.98)
CIE-LCHlch(16.04, 57.00, 306.24°)
OKLaboklab(29.12% 0.0337 -0.1325)
OKLCHoklch(29.12% 0.137 284.3)
XYZxyz(3.8544, 2.1065, 14.1106)
Luminance0.0211 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#29166B #586B16
analogous
#162D6B #29166B #53166B
triadic
#29166B #6B2916 #166B29
tetradic
#29166B #6B162D #586B16 #166B53
square
#29166B #6B162D #586B16 #166B53
split-complementary
#29166B #6B5316 #2D6B16
monochromatic
#0A0519 #160C38 #29166B #3C209E #502BD1

Accessibility & contrast

On white

14.77
#29166B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#29166B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #29166B
14.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##29166B#FFFFFF#000000##FFFFFF
##29166B1.0014.771.4214.77
#FFFFFF14.771.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.771.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #29166b;
/* rgb */ color: rgb(41, 22, 107);
/* oklch */ color: oklch(29.1% 0.137 284.3);
Tailwind
colors: {
  custom: {
    50: '#6c5696',
    500: '#29166b',
    950: '#000000',
  },
}
SCSS
$custom: #29166b;
$custom-light: #6c5696;
$custom-dark: #000000;
JSON
{
  "hex": "#29166b",
  "rgb": {
    "r": 41,
    "g": 22,
    "b": 107
  },
  "hsl": {
    "h": 253.412,
    "s": 65.891,
    "l": 25.294
  },
  "oklch": {
    "l": 0.29116,
    "c": 0.13669,
    "h": 284.3
  },
  "luminance": 0.02107
}

Semantic roles & 50–950 ramp

primary
#29166B
secondary
#8BA13B
accent
#E93FC3
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030D
muted
#7A787E

Preview Lab

Preview with #29166B

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

Preview Lab → · Contrast checker → · Palette generator →

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