#29177F#29177F

#29177F is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.5% C 0.161 H 279.7°. Best body text is #FFFFFF at 13.78:1 contrast (WCAG AA passes).

Color values

HEX#29177F
RGBrgb(41, 23, 127)
HSLhsl(250, 69%, 29%)
HSVhsv(250, 82%, 50%)
CMYKcmyk(67.7%, 81.9%, 0%, 50.2%)
CIE-LABlab(18.44, 39.54, -54.91)
CIE-LCHlch(18.44, 67.67, 305.76°)
OKLaboklab(31.45% 0.0271 -0.1585)
OKLCHoklch(31.45% 0.161 279.7)
XYZxyz(5.0504, 2.6161, 20.3134)
Luminance0.0262 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#29177F #6D7F17
analogous
#17397F #29177F #5D177F
triadic
#29177F #7F2917 #177F29
tetradic
#29177F #7F1739 #6D7F17 #177F5D
square
#29177F #7F1739 #6D7F17 #177F5D
split-complementary
#29177F #7F5D17 #397F17
monochromatic
#08051A #180E4B #29177F #3A20B3 #5236DB

Accessibility & contrast

On white

13.78
#29177F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#29177F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #29177F
13.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##29177F#FFFFFF#000000##FFFFFF
##29177F1.0013.781.5213.78
#FFFFFF13.781.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003182
Deuteranopia (green-blind)
#00297D
Tritanopia (blue-blind)
#00374B
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #29177f;
/* rgb */ color: rgb(41, 23, 127);
/* oklch */ color: oklch(31.5% 0.161 279.7);
Tailwind
colors: {
  custom: {
    50: '#7058a5',
    500: '#29177f',
    950: '#000000',
  },
}
SCSS
$custom: #29177f;
$custom-light: #7058a5;
$custom-dark: #000000;
JSON
{
  "hex": "#29177f",
  "rgb": {
    "r": 41,
    "g": 23,
    "b": 127
  },
  "hsl": {
    "h": 250.385,
    "s": 69.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.31453,
    "c": 0.16082,
    "h": 279.7
  },
  "luminance": 0.02617
}

Semantic roles & 50–950 ramp

primary
#29177F
secondary
#9FB43E
accent
#EC3CCE
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09030F
muted
#7B787F

Preview Lab

Preview with #29177F

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

Preview Lab → · Contrast checker → · Palette generator →

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