#29167B#29167B

#29167B is a dark, vivid violet. Relative luminance 0.025; OKLCH L 30.9% C 0.157 H 280.6°. Best body text is #FFFFFF at 14.05:1 contrast (WCAG AA passes).

Color values

HEX#29167B
RGBrgb(41, 22, 123)
HSLhsl(251, 70%, 28%)
HSVhsv(251, 82%, 48%)
CMYKcmyk(66.7%, 82.1%, 0%, 51.8%)
CIE-LABlab(17.80, 38.79, -53.40)
CIE-LCHlch(17.80, 66.00, 305.99°)
OKLaboklab(30.88% 0.0289 -0.1541)
OKLCHoklch(30.88% 0.157 280.6)
XYZxyz(4.7754, 2.4749, 18.9611)
Luminance0.0248 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#29167B #687B16
analogous
#16357B #29167B #5B167B
triadic
#29167B #7B2916 #167B29
tetradic
#29167B #7B1635 #687B16 #167B5B
square
#29167B #7B1635 #687B16 #167B5B
split-complementary
#29167B #7B5B16 #357B16
monochromatic
#09051A #180D47 #29167B #3A1FAF #5131DA

Accessibility & contrast

On white

14.05
#29167B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#29167B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #29167B
14.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##29167B#FFFFFF#000000##FFFFFF
##29167B1.0014.051.5014.05
#FFFFFF14.051.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F7E
Deuteranopia (green-blind)
#002879
Tritanopia (blue-blind)
#003449
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #29167b;
/* rgb */ color: rgb(41, 22, 123);
/* oklch */ color: oklch(30.9% 0.157 280.6);
Tailwind
colors: {
  custom: {
    50: '#6f57a2',
    500: '#29167b',
    950: '#000000',
  },
}
SCSS
$custom: #29167b;
$custom-light: #6f57a2;
$custom-dark: #000000;
JSON
{
  "hex": "#29167b",
  "rgb": {
    "r": 41,
    "g": 22,
    "b": 123
  },
  "hsl": {
    "h": 251.287,
    "s": 69.655,
    "l": 28.431
  },
  "oklch": {
    "l": 0.3088,
    "c": 0.15681,
    "h": 280.6
  },
  "luminance": 0.02475
}

Semantic roles & 50–950 ramp

primary
#29167B
secondary
#9AB03D
accent
#EC3BCB
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #29167B

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

Preview Lab → · Contrast checker → · Palette generator →

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