#29186F#29186F

#29186F is a dark, vivid violet. Relative luminance 0.023; OKLCH L 29.8% C 0.140 H 282.8°. Best body text is #FFFFFF at 14.44:1 contrast (WCAG AA passes).

Color values

HEX#29186F
RGBrgb(41, 24, 111)
HSLhsl(252, 64%, 26%)
HSVhsv(252, 78%, 44%)
CMYKcmyk(63.1%, 78.4%, 0%, 56.5%)
CIE-LABlab(16.85, 33.87, -47.24)
CIE-LCHlch(16.85, 58.13, 305.64°)
OKLaboklab(29.82% 0.0311 -0.1362)
OKLCHoklch(29.82% 0.14 282.8)
XYZxyz(4.1094, 2.2721, 15.2579)
Luminance0.0227 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#29186F #5E6F18
analogous
#18336F #29186F #55186F
triadic
#29186F #6F2918 #186F29
tetradic
#29186F #6F1833 #5E6F18 #186F55
square
#29186F #6F1833 #5E6F18 #186F55
split-complementary
#29186F #6F5518 #336F18
monochromatic
#090519 #160D3D #29186F #3C23A1 #4F2FD2

Accessibility & contrast

On white

14.44
#29186F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#29186F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #29186F
14.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##29186F#FFFFFF#000000##FFFFFF
##29186F1.0014.441.4514.44
#FFFFFF14.441.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.441.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #29186f;
/* rgb */ color: rgb(41, 24, 111);
/* oklch */ color: oklch(29.8% 0.140 282.8);
Tailwind
colors: {
  custom: {
    50: '#6d5799',
    500: '#29186f',
    950: '#000000',
  },
}
SCSS
$custom: #29186f;
$custom-light: #6d5799;
$custom-dark: #000000;
JSON
{
  "hex": "#29186f",
  "rgb": {
    "r": 41,
    "g": 24,
    "b": 111
  },
  "hsl": {
    "h": 251.724,
    "s": 64.444,
    "l": 26.471
  },
  "oklch": {
    "l": 0.2982,
    "c": 0.13967,
    "h": 282.8
  },
  "luminance": 0.02272
}

Semantic roles & 50–950 ramp

primary
#29186F
secondary
#91A53E
accent
#E740C7
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08030E
muted
#7A787E

Preview Lab

Preview with #29186F

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

Preview Lab → · Contrast checker → · Palette generator →

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