#29126F#29126F

#29126F is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.1% C 0.146 H 284.0°. Best body text is #FFFFFF at 14.89:1 contrast (WCAG AA passes).

Color values

HEX#29126F
RGBrgb(41, 18, 111)
HSLhsl(255, 72%, 25%)
HSVhsv(255, 84%, 44%)
CMYKcmyk(63.1%, 83.8%, 0%, 56.5%)
CIE-LABlab(15.76, 37.03, -49.05)
CIE-LCHlch(15.76, 61.46, 307.05°)
OKLaboklab(29.05% 0.0352 -0.1414)
OKLCHoklch(29.05% 0.146 284)
XYZxyz(3.9991, 2.0515, 15.2211)
Luminance0.0205 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#29126F #586F12
analogous
#12296F #29126F #58126F
triadic
#29126F #6F2912 #126F29
tetradic
#29126F #6F1229 #586F12 #126F58
square
#29126F #6F1229 #586F12 #126F58
split-complementary
#29126F #6F5812 #296F12
monochromatic
#0A041A #16093A #29126F #3C1BA4 #5023D8

Accessibility & contrast

On white

14.89
#29126F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #29126F
14.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##29126F#FFFFFF#000000##FFFFFF
##29126F1.0014.891.4114.89
#FFFFFF14.891.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A72
Deuteranopia (green-blind)
#00246D
Tritanopia (blue-blind)
#002E41
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #29126f;
/* rgb */ color: rgb(41, 18, 111);
/* oklch */ color: oklch(29.1% 0.146 284.0);
Tailwind
colors: {
  custom: {
    50: '#6d5499',
    500: '#29126f',
    950: '#000000',
  },
}
SCSS
$custom: #29126f;
$custom-light: #6d5499;
$custom-dark: #000000;
JSON
{
  "hex": "#29126f",
  "rgb": {
    "r": 41,
    "g": 18,
    "b": 111
  },
  "hsl": {
    "h": 254.839,
    "s": 72.093,
    "l": 25.294
  },
  "oklch": {
    "l": 0.29051,
    "c": 0.14572,
    "h": 284
  },
  "luminance": 0.02052
}

Semantic roles & 50–950 ramp

primary
#29126F
secondary
#8BA637
accent
#EF39C2
background
#F7F5F9
surface
#EDE8F2
border
#C8C4CC
text
#08030E
muted
#7B787E

Preview Lab

Preview with #29126F

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

Preview Lab → · Contrast checker → · Palette generator →

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