#29196F#29196F

#29196F is a dark, vivid violet. Relative luminance 0.023; OKLCH L 30.0% C 0.139 H 282.6°. Best body text is #FFFFFF at 14.36:1 contrast (WCAG AA passes).

Color values

HEX#29196F
RGBrgb(41, 25, 111)
HSLhsl(251, 63%, 27%)
HSVhsv(251, 77%, 44%)
CMYKcmyk(63.1%, 77.5%, 0%, 56.5%)
CIE-LABlab(17.06, 33.30, -46.90)
CIE-LCHlch(17.06, 57.53, 305.38°)
OKLaboklab(29.96% 0.0303 -0.1352)
OKLCHoklch(29.96% 0.139 282.6)
XYZxyz(4.1304, 2.3141, 15.2649)
Luminance0.0231 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#29196F #5F6F19
analogous
#19346F #29196F #54196F
triadic
#29196F #6F2919 #196F29
tetradic
#29196F #6F1934 #5F6F19 #196F54
square
#29196F #6F1934 #5F6F19 #196F54
split-complementary
#29196F #6F5419 #346F19
monochromatic
#090619 #170E3D #29196F #3B24A1 #4F32D1

Accessibility & contrast

On white

14.36
#29196F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #29196F
14.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##29196F#FFFFFF#000000##FFFFFF
##29196F1.0014.361.4614.36
#FFFFFF14.361.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.361.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #29196f;
/* rgb */ color: rgb(41, 25, 111);
/* oklch */ color: oklch(30.0% 0.139 282.6);
Tailwind
colors: {
  custom: {
    50: '#6c5899',
    500: '#29196f',
    950: '#000000',
  },
}
SCSS
$custom: #29196f;
$custom-light: #6c5899;
$custom-dark: #000000;
JSON
{
  "hex": "#29196f",
  "rgb": {
    "r": 41,
    "g": 25,
    "b": 111
  },
  "hsl": {
    "h": 251.163,
    "s": 63.235,
    "l": 26.667
  },
  "oklch": {
    "l": 0.29962,
    "c": 0.13856,
    "h": 282.6
  },
  "luminance": 0.02314
}

Semantic roles & 50–950 ramp

primary
#29196F
secondary
#92A43F
accent
#E642C8
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08030E
muted
#7A787E

Preview Lab

Preview with #29196F

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

Preview Lab → · Contrast checker → · Palette generator →

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