#29128D#29128D

#29128D is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.6% C 0.181 H 277.8°. Best body text is #FFFFFF at 13.42:1 contrast (WCAG AA passes).

Color values

HEX#29128D
RGBrgb(41, 18, 141)
HSLhsl(251, 77%, 31%)
HSVhsv(251, 87%, 55%)
CMYKcmyk(70.9%, 87.2%, 0%, 44.7%)
CIE-LABlab(19.34, 46.08, -62.24)
CIE-LCHlch(19.34, 77.44, 306.51°)
OKLaboklab(32.56% 0.0246 -0.1797)
OKLCHoklch(32.56% 0.181 277.8)
XYZxyz(5.9369, 2.8266, 25.4269)
Luminance0.0283 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#29128D #768D12
analogous
#12388D #29128D #66128D
triadic
#29128D #8D2912 #128D29
tetradic
#29128D #8D1238 #768D12 #128D66
square
#29128D #8D1238 #768D12 #128D66
split-complementary
#29128D #8D6612 #388D12
monochromatic
#090420 #190B57 #29128D #3919C3 #5534E5

Accessibility & contrast

On white

13.42
#29128D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#29128D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #29128D
13.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##29128D#FFFFFF#000000##FFFFFF
##29128D1.0013.421.5713.42
#FFFFFF13.421.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003490
Deuteranopia (green-blind)
#002A8B
Tritanopia (blue-blind)
#003B52
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #29128d;
/* rgb */ color: rgb(41, 18, 141);
/* oklch */ color: oklch(32.6% 0.181 277.8);
Tailwind
colors: {
  custom: {
    50: '#7456b0',
    500: '#29128d',
    950: '#000000',
  },
}
SCSS
$custom: #29128d;
$custom-light: #7456b0;
$custom-dark: #000000;
JSON
{
  "hex": "#29128d",
  "rgb": {
    "r": 41,
    "g": 18,
    "b": 141
  },
  "hsl": {
    "h": 251.22,
    "s": 77.358,
    "l": 31.176
  },
  "oklch": {
    "l": 0.32561,
    "c": 0.18143,
    "h": 277.8
  },
  "luminance": 0.02827
}

Semantic roles & 50–950 ramp

primary
#29128D
secondary
#A8C139
accent
#F434D0
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0311
muted
#7C7880

Preview Lab

Preview with #29128D

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

Preview Lab → · Contrast checker → · Palette generator →

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