#29196B#29196B

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

Color values

HEX#29196B
RGBrgb(41, 25, 107)
HSLhsl(252, 62%, 26%)
HSVhsv(252, 77%, 42%)
CMYKcmyk(61.7%, 76.6%, 0%, 58%)
CIE-LABlab(16.64, 31.98, -44.98)
CIE-LCHlch(16.64, 55.19, 305.42°)
OKLaboklab(29.54% 0.0313 -0.1296)
OKLCHoklch(29.54% 0.133 283.6)
XYZxyz(3.9151, 2.2280, 14.1308)
Luminance0.0223 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#29196B #5B6B19
analogous
#19326B #29196B #52196B
triadic
#29196B #6B2919 #196B29
tetradic
#29196B #6B1932 #5B6B19 #196B52
square
#29196B #6B1932 #5B6B19 #196B52
split-complementary
#29196B #6B5219 #326B19
monochromatic
#0A0619 #160D39 #29196B #3C259D #4F30CE

Accessibility & contrast

On white

14.53
#29196B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #29196B
14.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##29196B#FFFFFF#000000##FFFFFF
##29196B1.0014.531.4514.53
#FFFFFF14.531.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C6D
Deuteranopia (green-blind)
#002669
Tritanopia (blue-blind)
#033040
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #29196b;
/* rgb */ color: rgb(41, 25, 107);
/* oklch */ color: oklch(29.5% 0.133 283.6);
Tailwind
colors: {
  custom: {
    50: '#6c5896',
    500: '#29196b',
    950: '#000000',
  },
}
SCSS
$custom: #29196b;
$custom-light: #6c5896;
$custom-dark: #000000;
JSON
{
  "hex": "#29196b",
  "rgb": {
    "r": 41,
    "g": 25,
    "b": 107
  },
  "hsl": {
    "h": 251.707,
    "s": 62.121,
    "l": 25.882
  },
  "oklch": {
    "l": 0.29542,
    "c": 0.1333,
    "h": 283.6
  },
  "luminance": 0.02228
}

Semantic roles & 50–950 ramp

primary
#29196B
secondary
#8EA13F
accent
#E543C5
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030D
muted
#7A787E

Preview Lab

Preview with #29196B

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

Preview Lab → · Contrast checker → · Palette generator →

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