#29186B#29186B

#29186B is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.4% C 0.134 H 283.8°. Best body text is #FFFFFF at 14.61:1 contrast (WCAG AA passes).

Color values

HEX#29186B
RGBrgb(41, 24, 107)
HSLhsl(252, 63%, 26%)
HSVhsv(252, 78%, 42%)
CMYKcmyk(61.7%, 77.6%, 0%, 58%)
CIE-LABlab(16.43, 32.56, -45.32)
CIE-LCHlch(16.43, 55.81, 305.70°)
OKLaboklab(29.4% 0.0321 -0.1306)
OKLCHoklch(29.4% 0.134 283.8)
XYZxyz(3.8941, 2.1860, 14.1238)
Luminance0.0219 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#29186B #5A6B18
analogous
#18306B #29186B #52186B
triadic
#29186B #6B2918 #186B29
tetradic
#29186B #6B1830 #5A6B18 #186B52
square
#29186B #6B1830 #5A6B18 #186B52
split-complementary
#29186B #6B5218 #306B18
monochromatic
#0A0619 #160D39 #29186B #3C239D #4F2ECF

Accessibility & contrast

On white

14.61
#29186B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#29186B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #29186B
14.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##29186B#FFFFFF#000000##FFFFFF
##29186B1.0014.611.4414.61
#FFFFFF14.611.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B6D
Deuteranopia (green-blind)
#002669
Tritanopia (blue-blind)
#032F40
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #29186b;
/* rgb */ color: rgb(41, 24, 107);
/* oklch */ color: oklch(29.4% 0.134 283.8);
Tailwind
colors: {
  custom: {
    50: '#6c5796',
    500: '#29186b',
    950: '#000000',
  },
}
SCSS
$custom: #29186b;
$custom-light: #6c5796;
$custom-dark: #000000;
JSON
{
  "hex": "#29186b",
  "rgb": {
    "r": 41,
    "g": 24,
    "b": 107
  },
  "hsl": {
    "h": 252.289,
    "s": 63.359,
    "l": 25.686
  },
  "oklch": {
    "l": 0.29396,
    "c": 0.13446,
    "h": 283.8
  },
  "luminance": 0.02186
}

Semantic roles & 50–950 ramp

primary
#29186B
secondary
#8DA13E
accent
#E641C5
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030D
muted
#7A787E

Preview Lab

Preview with #29186B

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

Preview Lab → · Contrast checker → · Palette generator →

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