#29176B#29176B

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

Color values

HEX#29176B
RGBrgb(41, 23, 107)
HSLhsl(253, 65%, 25%)
HSVhsv(253, 79%, 42%)
CMYKcmyk(61.7%, 78.5%, 0%, 58%)
CIE-LABlab(16.23, 33.14, -45.65)
CIE-LCHlch(16.23, 56.41, 305.97°)
OKLaboklab(29.25% 0.0329 -0.1315)
OKLCHoklch(29.25% 0.136 284)
XYZxyz(3.8739, 2.1455, 14.1171)
Luminance0.0215 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#29176B #596B17
analogous
#172F6B #29176B #53176B
triadic
#29176B #6B2917 #176B29
tetradic
#29176B #6B172F #596B17 #176B53
square
#29176B #6B172F #596B17 #176B53
split-complementary
#29176B #6B5317 #2F6B17
monochromatic
#0A0519 #160C39 #29176B #3C229D #502DD0

Accessibility & contrast

On white

14.69
#29176B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#29176B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #29176B
14.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##29176B#FFFFFF#000000##FFFFFF
##29176B1.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)
#002B6D
Deuteranopia (green-blind)
#002669
Tritanopia (blue-blind)
#032F40
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #29176b;
/* rgb */ color: rgb(41, 23, 107);
/* oklch */ color: oklch(29.3% 0.136 284.0);
Tailwind
colors: {
  custom: {
    50: '#6c5696',
    500: '#29176b',
    950: '#000000',
  },
}
SCSS
$custom: #29176b;
$custom-light: #6c5696;
$custom-dark: #000000;
JSON
{
  "hex": "#29176b",
  "rgb": {
    "r": 41,
    "g": 23,
    "b": 107
  },
  "hsl": {
    "h": 252.857,
    "s": 64.615,
    "l": 25.49
  },
  "oklch": {
    "l": 0.29254,
    "c": 0.13558,
    "h": 284
  },
  "luminance": 0.02146
}

Semantic roles & 50–950 ramp

primary
#29176B
secondary
#8CA13D
accent
#E840C4
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030D
muted
#7A787E

Preview Lab

Preview with #29176B

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

Preview Lab → · Contrast checker → · Palette generator →

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