#29186E#29186E

#29186E is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.7% C 0.138 H 283.1°. Best body text is #FFFFFF at 14.48:1 contrast (WCAG AA passes).

Color values

HEX#29186E
RGBrgb(41, 24, 110)
HSLhsl(252, 64%, 26%)
HSVhsv(252, 78%, 43%)
CMYKcmyk(62.7%, 78.2%, 0%, 56.9%)
CIE-LABlab(16.75, 33.55, -46.76)
CIE-LCHlch(16.75, 57.55, 305.66°)
OKLaboklab(29.71% 0.0313 -0.1348)
OKLCHoklch(29.71% 0.138 283.1)
XYZxyz(4.0547, 2.2502, 14.9695)
Luminance0.0225 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#29186E #5D6E18
analogous
#18326E #29186E #54186E
triadic
#29186E #6E2918 #186E29
tetradic
#29186E #6E1832 #5D6E18 #186E54
square
#29186E #6E1832 #5D6E18 #186E54
split-complementary
#29186E #6E5418 #326E18
monochromatic
#090519 #160D3C #29186E #3C23A0 #4F2FD2

Accessibility & contrast

On white

14.48
#29186E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #29186E
14.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##29186E#FFFFFF#000000##FFFFFF
##29186E1.0014.481.4514.48
#FFFFFF14.481.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C70
Deuteranopia (green-blind)
#00266C
Tritanopia (blue-blind)
#003042
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #29186e;
/* rgb */ color: rgb(41, 24, 110);
/* oklch */ color: oklch(29.7% 0.138 283.1);
Tailwind
colors: {
  custom: {
    50: '#6c5799',
    500: '#29186e',
    950: '#000000',
  },
}
SCSS
$custom: #29186e;
$custom-light: #6c5799;
$custom-dark: #000000;
JSON
{
  "hex": "#29186e",
  "rgb": {
    "r": 41,
    "g": 24,
    "b": 110
  },
  "hsl": {
    "h": 251.86,
    "s": 64.179,
    "l": 26.275
  },
  "oklch": {
    "l": 0.29713,
    "c": 0.13837,
    "h": 283.1
  },
  "luminance": 0.0225
}

Semantic roles & 50–950 ramp

primary
#29186E
secondary
#90A43E
accent
#E741C6
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08030E
muted
#7A787E

Preview Lab

Preview with #29186E

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

Preview Lab → · Contrast checker → · Palette generator →

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