#29174B#29174B

#29174B is a dark, moderate violet. Relative luminance 0.016; OKLCH L 26.1% C 0.092 H 295.2°. Best body text is #FFFFFF at 15.93:1 contrast (WCAG AA passes).

Color values

HEX#29174B
RGBrgb(41, 23, 75)
HSLhsl(261, 53%, 19%)
HSVhsv(261, 69%, 29%)
CMYKcmyk(45.3%, 69.3%, 0%, 70.6%)
CIE-LABlab(13.18, 22.72, -29.16)
CIE-LCHlch(13.18, 36.96, 307.93°)
OKLaboklab(26.13% 0.0392 -0.0831)
OKLCHoklch(26.13% 0.092 295.2)
XYZxyz(2.4905, 1.5922, 6.8313)
Luminance0.0159 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#29174B #394B17
analogous
#171F4B #29174B #43174B
triadic
#29174B #4B2917 #174B29
tetradic
#29174B #4B171F #394B17 #174B43
square
#29174B #4B171F #394B17 #174B43
split-complementary
#29174B #4B4317 #1F4B17
monochromatic
#0D0717 #0F091C #29174B #43257A #5C34A9

Accessibility & contrast

On white

15.93
#29174B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#29174B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #29174B
15.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##29174B#FFFFFF#000000##FFFFFF
##29174B1.0015.931.3215.93
#FFFFFF15.931.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00224D
Deuteranopia (green-blind)
#00214A
Tritanopia (blue-blind)
#20232E
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #29174b;
/* rgb */ color: rgb(41, 23, 75);
/* oklch */ color: oklch(26.1% 0.092 295.2);
Tailwind
colors: {
  custom: {
    50: '#66557e',
    500: '#29174b',
    950: '#000000',
  },
}
SCSS
$custom: #29174b;
$custom-light: #66557e;
$custom-dark: #000000;
JSON
{
  "hex": "#29174b",
  "rgb": {
    "r": 41,
    "g": 23,
    "b": 75
  },
  "hsl": {
    "h": 260.769,
    "s": 53.061,
    "l": 19.216
  },
  "oklch": {
    "l": 0.26132,
    "c": 0.0919,
    "h": 295.2
  },
  "luminance": 0.01592
}

Semantic roles & 50–950 ramp

primary
#29174B
secondary
#6A823C
accent
#DC4BAA
background
#F6F4F7
surface
#EBE8EE
border
#C6C4C9
text
#06030A
muted
#7A787C

Preview Lab

Preview with #29174B

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

Preview Lab → · Contrast checker → · Palette generator →

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