#29154E#29154E

#29154E is a dark, moderate violet. Relative luminance 0.016; OKLCH L 26.1% C 0.099 H 294.6°. Best body text is #FFFFFF at 16.01:1 contrast (WCAG AA passes).

Color values

HEX#29154E
RGBrgb(41, 21, 78)
HSLhsl(261, 58%, 19%)
HSVhsv(261, 73%, 31%)
CMYKcmyk(47.4%, 73.1%, 0%, 69.4%)
CIE-LABlab(12.97, 24.96, -31.57)
CIE-LCHlch(12.97, 40.24, 308.33°)
OKLaboklab(26.06% 0.0414 -0.0902)
OKLCHoklch(26.06% 0.099 294.6)
XYZxyz(2.5574, 1.5577, 7.3722)
Luminance0.0156 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#29154E #3A4E15
analogous
#151D4E #29154E #46154E
triadic
#29154E #4E2915 #154E29
tetradic
#29154E #4E151D #3A4E15 #154E46
square
#29154E #4E151D #3A4E15 #154E46
split-complementary
#29154E #4E4615 #1D4E15
monochromatic
#0D0618 #10081E #29154E #42227E #5C2FAE

Accessibility & contrast

On white

16.01
#29154E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#29154E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #29154E
16.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##29154E#FFFFFF#000000##FFFFFF
##29154E1.0016.011.3116.01
#FFFFFF16.011.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002250
Deuteranopia (green-blind)
#00214D
Tritanopia (blue-blind)
#1F232F
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #29154e;
/* rgb */ color: rgb(41, 21, 78);
/* oklch */ color: oklch(26.1% 0.099 294.6);
Tailwind
colors: {
  custom: {
    50: '#675480',
    500: '#29154e',
    950: '#000000',
  },
}
SCSS
$custom: #29154e;
$custom-light: #675480;
$custom-dark: #000000;
JSON
{
  "hex": "#29154e",
  "rgb": {
    "r": 41,
    "g": 21,
    "b": 78
  },
  "hsl": {
    "h": 261.053,
    "s": 57.576,
    "l": 19.412
  },
  "oklch": {
    "l": 0.26061,
    "c": 0.09924,
    "h": 294.6
  },
  "luminance": 0.01558
}

Semantic roles & 50–950 ramp

primary
#29154E
secondary
#6B8639
accent
#E147AB
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#06020A
muted
#7A787C

Preview Lab

Preview with #29154E

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

Preview Lab → · Contrast checker → · Palette generator →

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