#29126E#29126E

#29126E is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.9% C 0.144 H 284.3°. Best body text is #FFFFFF at 14.94:1 contrast (WCAG AA passes).

Color values

HEX#29126E
RGBrgb(41, 18, 110)
HSLhsl(255, 72%, 25%)
HSVhsv(255, 84%, 43%)
CMYKcmyk(62.7%, 83.6%, 0%, 56.9%)
CIE-LABlab(15.64, 36.72, -48.58)
CIE-LCHlch(15.64, 60.90, 307.08°)
OKLaboklab(28.94% 0.0356 -0.14)
OKLCHoklch(28.94% 0.144 284.3)
XYZxyz(3.9444, 2.0296, 14.9327)
Luminance0.0203 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#29126E #576E12
analogous
#12296E #29126E #57126E
triadic
#29126E #6E2912 #126E29
tetradic
#29126E #6E1229 #576E12 #126E57
square
#29126E #6E1229 #576E12 #126E57
split-complementary
#29126E #6E5712 #296E12
monochromatic
#0A041A #150939 #29126E #3D1BA3 #5023D7

Accessibility & contrast

On white

14.94
#29126E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#29126E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #29126E
14.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##29126E#FFFFFF#000000##FFFFFF
##29126E1.0014.941.4114.94
#FFFFFF14.941.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A71
Deuteranopia (green-blind)
#00246C
Tritanopia (blue-blind)
#002E40
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #29126e;
/* rgb */ color: rgb(41, 18, 110);
/* oklch */ color: oklch(28.9% 0.144 284.3);
Tailwind
colors: {
  custom: {
    50: '#6d5499',
    500: '#29126e',
    950: '#000000',
  },
}
SCSS
$custom: #29126e;
$custom-light: #6d5499;
$custom-dark: #000000;
JSON
{
  "hex": "#29126e",
  "rgb": {
    "r": 41,
    "g": 18,
    "b": 110
  },
  "hsl": {
    "h": 255,
    "s": 71.875,
    "l": 25.098
  },
  "oklch": {
    "l": 0.28939,
    "c": 0.14449,
    "h": 284.3
  },
  "luminance": 0.0203
}

Semantic roles & 50–950 ramp

primary
#29126E
secondary
#8AA537
accent
#EF39C1
background
#F7F4F9
surface
#EDE8F2
border
#C8C4CC
text
#08030E
muted
#7B787E

Preview Lab

Preview with #29126E

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

Preview Lab → · Contrast checker → · Palette generator →

#29126E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva