#29147C#29147C

#29147C is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.8% C 0.160 H 280.7°. Best body text is #FFFFFF at 14.14:1 contrast (WCAG AA passes).

Color values

HEX#29147C
RGBrgb(41, 20, 124)
HSLhsl(252, 72%, 28%)
HSVhsv(252, 84%, 49%)
CMYKcmyk(66.9%, 83.9%, 0%, 51.4%)
CIE-LABlab(17.58, 40.08, -54.41)
CIE-LCHlch(17.58, 67.57, 306.38°)
OKLaboklab(30.76% 0.0296 -0.157)
OKLCHoklch(30.76% 0.16 280.7)
XYZxyz(4.8015, 2.4266, 19.2802)
Luminance0.0243 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#29147C #677C14
analogous
#14337C #29147C #5D147C
triadic
#29147C #7C2914 #147C29
tetradic
#29147C #7C1433 #677C14 #147C5D
square
#29147C #7C1433 #677C14 #147C5D
split-complementary
#29147C #7C5D14 #337C14
monochromatic
#09041A #180B47 #29147C #3A1DB1 #512DDD

Accessibility & contrast

On white

14.14
#29147C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #29147C
14.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##29147C#FFFFFF#000000##FFFFFF
##29147C1.0014.141.4914.14
#FFFFFF14.141.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F7F
Deuteranopia (green-blind)
#00277A
Tritanopia (blue-blind)
#003449
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #29147c;
/* rgb */ color: rgb(41, 20, 124);
/* oklch */ color: oklch(30.8% 0.160 280.7);
Tailwind
colors: {
  custom: {
    50: '#7056a3',
    500: '#29147c',
    950: '#000000',
  },
}
SCSS
$custom: #29147c;
$custom-light: #7056a3;
$custom-dark: #000000;
JSON
{
  "hex": "#29147c",
  "rgb": {
    "r": 41,
    "g": 20,
    "b": 124
  },
  "hsl": {
    "h": 252.115,
    "s": 72.222,
    "l": 28.235
  },
  "oklch": {
    "l": 0.3076,
    "c": 0.1598,
    "h": 280.7
  },
  "luminance": 0.02427
}

Semantic roles & 50–950 ramp

primary
#29147C
secondary
#99B23A
accent
#EF39CA
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #29147C

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

Preview Lab → · Contrast checker → · Palette generator →

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