#29156E#29156E

#29156E is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.3% C 0.142 H 283.7°. Best body text is #FFFFFF at 14.72:1 contrast (WCAG AA passes).

Color values

HEX#29156E
RGBrgb(41, 21, 110)
HSLhsl(253, 68%, 26%)
HSVhsv(253, 81%, 43%)
CMYKcmyk(62.7%, 80.9%, 0%, 56.9%)
CIE-LABlab(16.17, 35.19, -47.71)
CIE-LCHlch(16.17, 59.28, 306.41°)
OKLaboklab(29.31% 0.0335 -0.1375)
OKLCHoklch(29.31% 0.142 283.7)
XYZxyz(3.9962, 2.1333, 14.9500)
Luminance0.0213 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#29156E #5A6E15
analogous
#152D6E #29156E #55156E
triadic
#29156E #6E2915 #156E29
tetradic
#29156E #6E152D #5A6E15 #156E55
square
#29156E #6E152D #5A6E15 #156E55
split-complementary
#29156E #6E5515 #2D6E15
monochromatic
#0A051A #160B3B #29156E #3C1FA1 #4F29D5

Accessibility & contrast

On white

14.72
#29156E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#29156E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #29156E
14.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##29156E#FFFFFF#000000##FFFFFF
##29156E1.0014.721.4314.72
#FFFFFF14.721.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B71
Deuteranopia (green-blind)
#00256C
Tritanopia (blue-blind)
#002F41
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #29156e;
/* rgb */ color: rgb(41, 21, 110);
/* oklch */ color: oklch(29.3% 0.142 283.7);
Tailwind
colors: {
  custom: {
    50: '#6d5599',
    500: '#29156e',
    950: '#000000',
  },
}
SCSS
$custom: #29156e;
$custom-light: #6d5599;
$custom-dark: #000000;
JSON
{
  "hex": "#29156e",
  "rgb": {
    "r": 41,
    "g": 21,
    "b": 110
  },
  "hsl": {
    "h": 253.483,
    "s": 67.939,
    "l": 25.686
  },
  "oklch": {
    "l": 0.29308,
    "c": 0.14156,
    "h": 283.7
  },
  "luminance": 0.02134
}

Semantic roles & 50–950 ramp

primary
#29156E
secondary
#8DA43A
accent
#EB3DC4
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08030E
muted
#7A787E

Preview Lab

Preview with #29156E

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

Preview Lab → · Contrast checker → · Palette generator →

#29156E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva