#29173E#29173E

#29173E is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.1% C 0.073 H 302.8°. Best body text is #FFFFFF at 16.32:1 contrast (WCAG AA passes).

Color values

HEX#29173E
RGBrgb(41, 23, 62)
HSLhsl(268, 46%, 17%)
HSVhsv(268, 63%, 24%)
CMYKcmyk(33.9%, 62.9%, 0%, 75.7%)
CIE-LABlab(12.17, 18.66, -21.70)
CIE-LCHlch(12.17, 28.63, 310.70°)
OKLaboklab(25.07% 0.0395 -0.0612)
OKLCHoklch(25.07% 0.073 302.8)
XYZxyz(2.0902, 1.4320, 4.7228)
Luminance0.0143 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#29173E #2C3E17
analogous
#17193E #29173E #3D173E
triadic
#29173E #3E2917 #173E29
tetradic
#29173E #3E1719 #2C3E17 #173E3D
square
#29173E #3E1719 #2C3E17 #173E3D
split-complementary
#29173E #3E3D17 #193E17
monochromatic
#0F0816 #0F0816 #29173E #47286B #643897

Accessibility & contrast

On white

16.32
#29173E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#29173E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #29173E
16.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##29173E#FFFFFF#000000##FFFFFF
##29173E1.0016.321.2916.32
#FFFFFF16.321.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#081F3F
Deuteranopia (green-blind)
#0E203D
Tritanopia (blue-blind)
#251F27
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #29173e;
/* rgb */ color: rgb(41, 23, 62);
/* oklch */ color: oklch(25.1% 0.073 302.8);
Tailwind
colors: {
  custom: {
    50: '#645473',
    500: '#29173e',
    950: '#000000',
  },
}
SCSS
$custom: #29173e;
$custom-light: #645473;
$custom-dark: #000000;
JSON
{
  "hex": "#29173e",
  "rgb": {
    "r": 41,
    "g": 23,
    "b": 62
  },
  "hsl": {
    "h": 267.692,
    "s": 45.882,
    "l": 16.667
  },
  "oklch": {
    "l": 0.25068,
    "c": 0.07284,
    "h": 302.8
  },
  "luminance": 0.01432
}

Semantic roles & 50–950 ramp

primary
#29173E
secondary
#5B753C
accent
#D65299
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#050308
muted
#7A787B

Preview Lab

Preview with #29173E

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

Preview Lab → · Contrast checker → · Palette generator →

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