#29167F#29167F

#29167F is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.3% C 0.162 H 279.8°. Best body text is #FFFFFF at 13.86:1 contrast (WCAG AA passes).

Color values

HEX#29167F
RGBrgb(41, 22, 127)
HSLhsl(251, 70%, 29%)
HSVhsv(251, 83%, 50%)
CMYKcmyk(67.7%, 82.7%, 0%, 50.2%)
CIE-LABlab(18.26, 40.04, -55.19)
CIE-LCHlch(18.26, 68.19, 305.96°)
OKLaboklab(31.33% 0.0276 -0.1593)
OKLCHoklch(31.33% 0.162 279.8)
XYZxyz(5.0309, 2.5771, 20.3069)
Luminance0.0258 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#29167F #6C7F16
analogous
#16387F #29167F #5E167F
triadic
#29167F #7F2916 #167F29
tetradic
#29167F #7F1638 #6C7F16 #167F5E
square
#29167F #7F1638 #6C7F16 #167F5E
split-complementary
#29167F #7F5E16 #387F16
monochromatic
#08051A #180D4B #29167F #3A1FB3 #5234DC

Accessibility & contrast

On white

13.86
#29167F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #29167F
13.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##29167F#FFFFFF#000000##FFFFFF
##29167F1.0013.861.5213.86
#FFFFFF13.861.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003082
Deuteranopia (green-blind)
#00287D
Tritanopia (blue-blind)
#00364B
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #29167f;
/* rgb */ color: rgb(41, 22, 127);
/* oklch */ color: oklch(31.3% 0.162 279.8);
Tailwind
colors: {
  custom: {
    50: '#7057a5',
    500: '#29167f',
    950: '#000000',
  },
}
SCSS
$custom: #29167f;
$custom-light: #7057a5;
$custom-dark: #000000;
JSON
{
  "hex": "#29167f",
  "rgb": {
    "r": 41,
    "g": 22,
    "b": 127
  },
  "hsl": {
    "h": 250.857,
    "s": 70.47,
    "l": 29.216
  },
  "oklch": {
    "l": 0.31334,
    "c": 0.16172,
    "h": 279.8
  },
  "luminance": 0.02578
}

Semantic roles & 50–950 ramp

primary
#29167F
secondary
#9EB43D
accent
#ED3BCD
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09030F
muted
#7B787F

Preview Lab

Preview with #29167F

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

Preview Lab → · Contrast checker → · Palette generator →

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