#29128F#29128F

#29128F is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.8% C 0.184 H 277.5°. Best body text is #FFFFFF at 13.31:1 contrast (WCAG AA passes).

Color values

HEX#29128F
RGBrgb(41, 18, 143)
HSLhsl(251, 78%, 32%)
HSVhsv(251, 87%, 56%)
CMYKcmyk(71.3%, 87.4%, 0%, 43.9%)
CIE-LABlab(19.58, 46.67, -63.07)
CIE-LCHlch(19.58, 78.46, 306.50°)
OKLaboklab(32.8% 0.0239 -0.1822)
OKLCHoklch(32.8% 0.184 277.5)
XYZxyz(6.0871, 2.8866, 26.2177)
Luminance0.0289 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#29128F #788F12
analogous
#123A8F #29128F #68128F
triadic
#29128F #8F2912 #128F29
tetradic
#29128F #8F123A #788F12 #128F68
square
#29128F #8F123A #788F12 #128F68
split-complementary
#29128F #8F6812 #3A8F12
monochromatic
#0A0422 #190B59 #29128F #3919C5 #5636E6

Accessibility & contrast

On white

13.31
#29128F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#29128F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #29128F
13.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##29128F#FFFFFF#000000##FFFFFF
##29128F1.0013.311.5813.31
#FFFFFF13.311.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003492
Deuteranopia (green-blind)
#002A8D
Tritanopia (blue-blind)
#003B54
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #29128f;
/* rgb */ color: rgb(41, 18, 143);
/* oklch */ color: oklch(32.8% 0.184 277.5);
Tailwind
colors: {
  custom: {
    50: '#7456b1',
    500: '#29128f',
    950: '#000000',
  },
}
SCSS
$custom: #29128f;
$custom-light: #7456b1;
$custom-dark: #000000;
JSON
{
  "hex": "#29128f",
  "rgb": {
    "r": 41,
    "g": 18,
    "b": 143
  },
  "hsl": {
    "h": 251.04,
    "s": 77.64,
    "l": 31.569
  },
  "oklch": {
    "l": 0.32802,
    "c": 0.18374,
    "h": 277.5
  },
  "luminance": 0.02887
}

Semantic roles & 50–950 ramp

primary
#29128F
secondary
#AAC33A
accent
#F434D1
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0311
muted
#7C7880

Preview Lab

Preview with #29128F

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

Preview Lab → · Contrast checker → · Palette generator →

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