#29196E#29196E

#29196E is a dark, vivid violet. Relative luminance 0.023; OKLCH L 29.9% C 0.137 H 282.9°. Best body text is #FFFFFF at 14.40:1 contrast (WCAG AA passes).

Color values

HEX#29196E
RGBrgb(41, 25, 110)
HSLhsl(251, 63%, 26%)
HSVhsv(251, 77%, 43%)
CMYKcmyk(62.7%, 77.3%, 0%, 56.9%)
CIE-LABlab(16.95, 32.98, -46.43)
CIE-LCHlch(16.95, 56.95, 305.39°)
OKLaboklab(29.86% 0.0305 -0.1338)
OKLCHoklch(29.86% 0.137 282.9)
XYZxyz(4.0757, 2.2922, 14.9765)
Luminance0.0229 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#29196E #5E6E19
analogous
#19346E #29196E #54196E
triadic
#29196E #6E2919 #196E29
tetradic
#29196E #6E1934 #5E6E19 #196E54
square
#29196E #6E1934 #5E6E19 #196E54
split-complementary
#29196E #6E5419 #346E19
monochromatic
#090619 #160E3C #29196E #3C24A0 #4F31D0

Accessibility & contrast

On white

14.40
#29196E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#29196E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #29196E
14.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##29196E#FFFFFF#000000##FFFFFF
##29196E1.0014.401.4614.40
#FFFFFF14.401.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C70
Deuteranopia (green-blind)
#00276C
Tritanopia (blue-blind)
#003142
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #29196e;
/* rgb */ color: rgb(41, 25, 110);
/* oklch */ color: oklch(29.9% 0.137 282.9);
Tailwind
colors: {
  custom: {
    50: '#6c5898',
    500: '#29196e',
    950: '#000000',
  },
}
SCSS
$custom: #29196e;
$custom-light: #6c5898;
$custom-dark: #000000;
JSON
{
  "hex": "#29196e",
  "rgb": {
    "r": 41,
    "g": 25,
    "b": 110
  },
  "hsl": {
    "h": 251.294,
    "s": 62.963,
    "l": 26.471
  },
  "oklch": {
    "l": 0.29856,
    "c": 0.13725,
    "h": 282.9
  },
  "luminance": 0.02292
}

Semantic roles & 50–950 ramp

primary
#29196E
secondary
#91A33F
accent
#E642C7
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08030E
muted
#7A787E

Preview Lab

Preview with #29196E

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

Preview Lab → · Contrast checker → · Palette generator →

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