#29185B#29185B

#29185B is a dark, moderate violet. Relative luminance 0.019; OKLCH L 27.8% C 0.113 H 288.4°. Best body text is #FFFFFF at 15.26:1 contrast (WCAG AA passes).

Color values

HEX#29185B
RGBrgb(41, 24, 91)
HSLhsl(255, 58%, 23%)
HSVhsv(255, 74%, 36%)
CMYKcmyk(54.9%, 73.6%, 0%, 64.3%)
CIE-LABlab(14.84, 27.30, -37.34)
CIE-LCHlch(14.84, 46.25, 306.17°)
OKLaboklab(27.78% 0.0357 -0.1072)
OKLCHoklch(27.78% 0.113 288.4)
XYZxyz(3.1289, 1.8799, 10.0935)
Luminance0.0188 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#29185B #4A5B18
analogous
#18285B #29185B #4B185B
triadic
#29185B #5B2918 #185B29
tetradic
#29185B #5B1828 #4A5B18 #185B4B
square
#29185B #5B1828 #4A5B18 #185B4B
split-complementary
#29185B #5B4B18 #285B18
monochromatic
#0B0618 #130B2B #29185B #3F258B #5532BC

Accessibility & contrast

On white

15.26
#29185B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#29185B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #29185B
15.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##29185B#FFFFFF#000000##FFFFFF
##29185B1.0015.261.3815.26
#FFFFFF15.261.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00275D
Deuteranopia (green-blind)
#00245A
Tritanopia (blue-blind)
#172937
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #29185b;
/* rgb */ color: rgb(41, 24, 91);
/* oklch */ color: oklch(27.8% 0.113 288.4);
Tailwind
colors: {
  custom: {
    50: '#69568a',
    500: '#29185b',
    950: '#000000',
  },
}
SCSS
$custom: #29185b;
$custom-light: #69568a;
$custom-dark: #000000;
JSON
{
  "hex": "#29185b",
  "rgb": {
    "r": 41,
    "g": 24,
    "b": 91
  },
  "hsl": {
    "h": 255.224,
    "s": 58.261,
    "l": 22.549
  },
  "oklch": {
    "l": 0.27777,
    "c": 0.11296,
    "h": 288.4
  },
  "luminance": 0.0188
}

Semantic roles & 50–950 ramp

primary
#29185B
secondary
#7C923D
accent
#E146BA
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#07030C
muted
#7A787D

Preview Lab

Preview with #29185B

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

Preview Lab → · Contrast checker → · Palette generator →

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