#29186C#29186C

#29186C is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.5% C 0.136 H 283.6°. Best body text is #FFFFFF at 14.57:1 contrast (WCAG AA passes).

Color values

HEX#29186C
RGBrgb(41, 24, 108)
HSLhsl(252, 64%, 26%)
HSVhsv(252, 78%, 42%)
CMYKcmyk(62%, 77.8%, 0%, 57.6%)
CIE-LABlab(16.54, 32.89, -45.80)
CIE-LCHlch(16.54, 56.39, 305.68°)
OKLaboklab(29.5% 0.0319 -0.132)
OKLCHoklch(29.5% 0.136 283.6)
XYZxyz(3.9470, 2.2071, 14.4025)
Luminance0.0221 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#29186C #5B6C18
analogous
#18316C #29186C #53186C
triadic
#29186C #6C2918 #186C29
tetradic
#29186C #6C1831 #5B6C18 #186C53
square
#29186C #6C1831 #5B6C18 #186C53
split-complementary
#29186C #6C5318 #316C18
monochromatic
#0A0619 #160D3A #29186C #3C239E #4F2ED0

Accessibility & contrast

On white

14.57
#29186C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #29186C
14.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##29186C#FFFFFF#000000##FFFFFF
##29186C1.0014.571.4414.57
#FFFFFF14.571.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B6E
Deuteranopia (green-blind)
#00266A
Tritanopia (blue-blind)
#012F40
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #29186c;
/* rgb */ color: rgb(41, 24, 108);
/* oklch */ color: oklch(29.5% 0.136 283.6);
Tailwind
colors: {
  custom: {
    50: '#6c5797',
    500: '#29186c',
    950: '#000000',
  },
}
SCSS
$custom: #29186c;
$custom-light: #6c5797;
$custom-dark: #000000;
JSON
{
  "hex": "#29186c",
  "rgb": {
    "r": 41,
    "g": 24,
    "b": 108
  },
  "hsl": {
    "h": 252.143,
    "s": 63.636,
    "l": 25.882
  },
  "oklch": {
    "l": 0.29501,
    "c": 0.13577,
    "h": 283.6
  },
  "luminance": 0.02207
}

Semantic roles & 50–950 ramp

primary
#29186C
secondary
#8EA23E
accent
#E741C5
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #29186C

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

Preview Lab → · Contrast checker → · Palette generator →

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