#29127D#29127D

#29127D is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.7% C 0.163 H 280.7°. Best body text is #FFFFFF at 14.22:1 contrast (WCAG AA passes).

Color values

HEX#29127D
RGBrgb(41, 18, 125)
HSLhsl(253, 75%, 28%)
HSVhsv(253, 86%, 49%)
CMYKcmyk(67.2%, 85.6%, 0%, 51%)
CIE-LABlab(17.39, 41.31, -55.37)
CIE-LCHlch(17.39, 69.08, 306.72°)
OKLaboklab(30.66% 0.0303 -0.1598)
OKLCHoklch(30.66% 0.163 280.7)
XYZxyz(4.8313, 2.3843, 19.6037)
Luminance0.0238 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#29127D #667D12
analogous
#12317D #29127D #5E127D
triadic
#29127D #7D2912 #127D29
tetradic
#29127D #7D1231 #667D12 #127D5E
square
#29127D #7D1231 #667D12 #127D5E
split-complementary
#29127D #7D5E12 #317D12
monochromatic
#09041B #170A48 #29127D #3B1AB2 #5129E0

Accessibility & contrast

On white

14.22
#29127D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #29127D
14.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##29127D#FFFFFF#000000##FFFFFF
##29127D1.0014.221.4814.22
#FFFFFF14.221.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E80
Deuteranopia (green-blind)
#00277B
Tritanopia (blue-blind)
#003449
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #29127d;
/* rgb */ color: rgb(41, 18, 125);
/* oklch */ color: oklch(30.7% 0.163 280.7);
Tailwind
colors: {
  custom: {
    50: '#7055a4',
    500: '#29127d',
    950: '#000000',
  },
}
SCSS
$custom: #29127d;
$custom-light: #7055a4;
$custom-dark: #000000;
JSON
{
  "hex": "#29127d",
  "rgb": {
    "r": 41,
    "g": 18,
    "b": 125
  },
  "hsl": {
    "h": 252.897,
    "s": 74.825,
    "l": 28.039
  },
  "oklch": {
    "l": 0.30659,
    "c": 0.16265,
    "h": 280.7
  },
  "luminance": 0.02385
}

Semantic roles & 50–950 ramp

primary
#29127D
secondary
#98B338
accent
#F136C9
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09030F
muted
#7B787F

Preview Lab

Preview with #29127D

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

Preview Lab → · Contrast checker → · Palette generator →

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