#29186D#29186D

#29186D is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.6% C 0.137 H 283.3°. Best body text is #FFFFFF at 14.52:1 contrast (WCAG AA passes).

Color values

HEX#29186D
RGBrgb(41, 24, 109)
HSLhsl(252, 64%, 26%)
HSVhsv(252, 78%, 43%)
CMYKcmyk(62.4%, 78%, 0%, 57.3%)
CIE-LABlab(16.64, 33.22, -46.28)
CIE-LCHlch(16.64, 56.97, 305.67°)
OKLaboklab(29.61% 0.0316 -0.1334)
OKLCHoklch(29.61% 0.137 283.3)
XYZxyz(4.0005, 2.2285, 14.6844)
Luminance0.0223 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#29186D #5C6D18
analogous
#18316D #29186D #53186D
triadic
#29186D #6D2918 #186D29
tetradic
#29186D #6D1831 #5C6D18 #186D53
square
#29186D #6D1831 #5C6D18 #186D53
split-complementary
#29186D #6D5318 #316D18
monochromatic
#090619 #160D3B #29186D #3C239F #4F2ED1

Accessibility & contrast

On white

14.52
#29186D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#29186D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #29186D
14.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##29186D#FFFFFF#000000##FFFFFF
##29186D1.0014.521.4514.52
#FFFFFF14.521.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C6F
Deuteranopia (green-blind)
#00266B
Tritanopia (blue-blind)
#003041
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #29186d;
/* rgb */ color: rgb(41, 24, 109);
/* oklch */ color: oklch(29.6% 0.137 283.3);
Tailwind
colors: {
  custom: {
    50: '#6c5798',
    500: '#29186d',
    950: '#000000',
  },
}
SCSS
$custom: #29186d;
$custom-light: #6c5798;
$custom-dark: #000000;
JSON
{
  "hex": "#29186d",
  "rgb": {
    "r": 41,
    "g": 24,
    "b": 109
  },
  "hsl": {
    "h": 252,
    "s": 63.91,
    "l": 26.078
  },
  "oklch": {
    "l": 0.29607,
    "c": 0.13707,
    "h": 283.3
  },
  "luminance": 0.02229
}

Semantic roles & 50–950 ramp

primary
#29186D
secondary
#8FA33E
accent
#E741C6
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08030E
muted
#7A787E

Preview Lab

Preview with #29186D

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

Preview Lab → · Contrast checker → · Palette generator →

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