#29147D#29147D

#29147D is a dark, vivid violet. Relative luminance 0.025; OKLCH L 30.9% C 0.161 H 280.5°. Best body text is #FFFFFF at 14.09:1 contrast (WCAG AA passes).

Color values

HEX#29147D
RGBrgb(41, 20, 125)
HSLhsl(252, 72%, 28%)
HSVhsv(252, 84%, 49%)
CMYKcmyk(67.2%, 84%, 0%, 51%)
CIE-LABlab(17.70, 40.39, -54.85)
CIE-LCHlch(17.70, 68.12, 306.36°)
OKLaboklab(30.88% 0.0293 -0.1583)
OKLCHoklch(30.88% 0.161 280.5)
XYZxyz(4.8651, 2.4520, 19.6150)
Luminance0.0245 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#29147D #687D14
analogous
#14337D #29147D #5D147D
triadic
#29147D #7D2914 #147D29
tetradic
#29147D #7D1433 #687D14 #147D5D
square
#29147D #7D1433 #687D14 #147D5D
split-complementary
#29147D #7D5D14 #337D14
monochromatic
#09041A #180C48 #29147D #3A1CB2 #512EDE

Accessibility & contrast

On white

14.09
#29147D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#29147D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #29147D
14.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##29147D#FFFFFF#000000##FFFFFF
##29147D1.0014.091.4914.09
#FFFFFF14.091.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F80
Deuteranopia (green-blind)
#00277B
Tritanopia (blue-blind)
#003549
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #29147d;
/* rgb */ color: rgb(41, 20, 125);
/* oklch */ color: oklch(30.9% 0.161 280.5);
Tailwind
colors: {
  custom: {
    50: '#7056a4',
    500: '#29147d',
    950: '#000000',
  },
}
SCSS
$custom: #29147d;
$custom-light: #7056a4;
$custom-dark: #000000;
JSON
{
  "hex": "#29147d",
  "rgb": {
    "r": 41,
    "g": 20,
    "b": 125
  },
  "hsl": {
    "h": 252,
    "s": 72.414,
    "l": 28.431
  },
  "oklch": {
    "l": 0.30875,
    "c": 0.16102,
    "h": 280.5
  },
  "luminance": 0.02452
}

Semantic roles & 50–950 ramp

primary
#29147D
secondary
#9AB23A
accent
#EF39CB
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09030F
muted
#7B787F

Preview Lab

Preview with #29147D

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

Preview Lab → · Contrast checker → · Palette generator →

#29147D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva