#29126A#29126A

#29126A is a dark, vivid violet. Relative luminance 0.019; OKLCH L 28.5% C 0.140 H 285.3°. Best body text is #FFFFFF at 15.12:1 contrast (WCAG AA passes).

Color values

HEX#29126A
RGBrgb(41, 18, 106)
HSLhsl(256, 71%, 24%)
HSVhsv(256, 83%, 42%)
CMYKcmyk(61.3%, 83%, 0%, 58.4%)
CIE-LABlab(15.19, 35.48, -46.71)
CIE-LCHlch(15.19, 58.66, 307.22°)
OKLaboklab(28.49% 0.0369 -0.1346)
OKLCHoklch(28.49% 0.14 285.3)
XYZxyz(3.7315, 1.9444, 13.8116)
Luminance0.0194 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#29126A #536A12
analogous
#12276A #29126A #55126A
triadic
#29126A #6A2912 #126A29
tetradic
#29126A #6A1227 #536A12 #126A55
square
#29126A #6A1227 #536A12 #126A55
split-complementary
#29126A #6A5512 #276A12
monochromatic
#0A041A #150936 #29126A #3D1B9E #5124D3

Accessibility & contrast

On white

15.12
#29126A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#29126A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #29126A
15.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##29126A#FFFFFF#000000##FFFFFF
##29126A1.0015.121.3915.12
#FFFFFF15.121.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00286C
Deuteranopia (green-blind)
#002368
Tritanopia (blue-blind)
#052C3E
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #29126a;
/* rgb */ color: rgb(41, 18, 106);
/* oklch */ color: oklch(28.5% 0.140 285.3);
Tailwind
colors: {
  custom: {
    50: '#6c5396',
    500: '#29126a',
    950: '#000000',
  },
}
SCSS
$custom: #29126a;
$custom-light: #6c5396;
$custom-dark: #000000;
JSON
{
  "hex": "#29126a",
  "rgb": {
    "r": 41,
    "g": 18,
    "b": 106
  },
  "hsl": {
    "h": 255.682,
    "s": 70.968,
    "l": 24.314
  },
  "oklch": {
    "l": 0.28493,
    "c": 0.13955,
    "h": 285.3
  },
  "luminance": 0.01945
}

Semantic roles & 50–950 ramp

primary
#29126A
secondary
#85A236
accent
#EE3ABF
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#08030D
muted
#7A787E

Preview Lab

Preview with #29126A

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

Preview Lab → · Contrast checker → · Palette generator →

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