#29127E#29127E

#29127E is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.8% C 0.164 H 280.5°. Best body text is #FFFFFF at 14.17:1 contrast (WCAG AA passes).

Color values

HEX#29127E
RGBrgb(41, 18, 126)
HSLhsl(253, 75%, 28%)
HSVhsv(253, 86%, 49%)
CMYKcmyk(67.5%, 85.7%, 0%, 50.6%)
CIE-LABlab(17.51, 41.61, -55.81)
CIE-LCHlch(17.51, 69.61, 306.71°)
OKLaboklab(30.78% 0.03 -0.1611)
OKLCHoklch(30.78% 0.164 280.5)
XYZxyz(4.8955, 2.4100, 19.9418)
Luminance0.0241 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#29127E #677E12
analogous
#12317E #29127E #5F127E
triadic
#29127E #7E2912 #127E29
tetradic
#29127E #7E1231 #677E12 #127E5F
square
#29127E #7E1231 #677E12 #127E5F
split-complementary
#29127E #7E5F12 #317E12
monochromatic
#09041B #180A48 #29127E #3A1AB4 #512AE1

Accessibility & contrast

On white

14.17
#29127E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#29127E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #29127E
14.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##29127E#FFFFFF#000000##FFFFFF
##29127E1.0014.171.4814.17
#FFFFFF14.171.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F81
Deuteranopia (green-blind)
#00277C
Tritanopia (blue-blind)
#00344A
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #29127e;
/* rgb */ color: rgb(41, 18, 126);
/* oklch */ color: oklch(30.8% 0.164 280.5);
Tailwind
colors: {
  custom: {
    50: '#7055a5',
    500: '#29127e',
    950: '#000000',
  },
}
SCSS
$custom: #29127e;
$custom-light: #7055a5;
$custom-dark: #000000;
JSON
{
  "hex": "#29127e",
  "rgb": {
    "r": 41,
    "g": 18,
    "b": 126
  },
  "hsl": {
    "h": 252.778,
    "s": 75,
    "l": 28.235
  },
  "oklch": {
    "l": 0.30777,
    "c": 0.16384,
    "h": 280.5
  },
  "luminance": 0.0241
}

Semantic roles & 50–950 ramp

primary
#29127E
secondary
#99B438
accent
#F236CA
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09030F
muted
#7B787F

Preview Lab

Preview with #29127E

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

Preview Lab → · Contrast checker → · Palette generator →

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