#29196C#29196C

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

Color values

HEX#29196C
RGBrgb(41, 25, 108)
HSLhsl(252, 62%, 26%)
HSVhsv(252, 77%, 42%)
CMYKcmyk(62%, 76.9%, 0%, 57.6%)
CIE-LABlab(16.74, 32.32, -45.47)
CIE-LCHlch(16.74, 55.78, 305.40°)
OKLaboklab(29.65% 0.031 -0.131)
OKLCHoklch(29.65% 0.135 283.3)
XYZxyz(3.9680, 2.2491, 14.4095)
Luminance0.0225 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#29196C #5C6C19
analogous
#19326C #29196C #52196C
triadic
#29196C #6C2919 #196C29
tetradic
#29196C #6C1932 #5C6C19 #196C52
square
#29196C #6C1932 #5C6C19 #196C52
split-complementary
#29196C #6C5219 #326C19
monochromatic
#090619 #160D3A #29196C #3C259E #4F30CF

Accessibility & contrast

On white

14.48
#29196C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#29196C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #29196C
14.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##29196C#FFFFFF#000000##FFFFFF
##29196C1.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)
#002C6E
Deuteranopia (green-blind)
#00276A
Tritanopia (blue-blind)
#013041
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #29196c;
/* rgb */ color: rgb(41, 25, 108);
/* oklch */ color: oklch(29.6% 0.135 283.3);
Tailwind
colors: {
  custom: {
    50: '#6c5897',
    500: '#29196c',
    950: '#000000',
  },
}
SCSS
$custom: #29196c;
$custom-light: #6c5897;
$custom-dark: #000000;
JSON
{
  "hex": "#29196c",
  "rgb": {
    "r": 41,
    "g": 25,
    "b": 108
  },
  "hsl": {
    "h": 251.566,
    "s": 62.406,
    "l": 26.078
  },
  "oklch": {
    "l": 0.29646,
    "c": 0.13463,
    "h": 283.3
  },
  "luminance": 0.02249
}

Semantic roles & 50–950 ramp

primary
#29196C
secondary
#8FA13F
accent
#E542C6
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #29196C

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

Preview Lab → · Contrast checker → · Palette generator →

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