#29127F#29127F

#29127F is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.9% C 0.165 H 280.3°. Best body text is #FFFFFF at 14.12:1 contrast (WCAG AA passes).

Color values

HEX#29127F
RGBrgb(41, 18, 127)
HSLhsl(253, 75%, 28%)
HSVhsv(253, 86%, 50%)
CMYKcmyk(67.7%, 85.8%, 0%, 50.2%)
CIE-LABlab(17.63, 41.91, -56.25)
CIE-LCHlch(17.63, 70.14, 306.69°)
OKLaboklab(30.89% 0.0296 -0.1623)
OKLCHoklch(30.89% 0.165 280.3)
XYZxyz(4.9603, 2.4359, 20.2833)
Luminance0.0244 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#29127F #687F12
analogous
#12317F #29127F #5F127F
triadic
#29127F #7F2912 #127F29
tetradic
#29127F #7F1231 #687F12 #127F5F
square
#29127F #7F1231 #687F12 #127F5F
split-complementary
#29127F #7F5F12 #317F12
monochromatic
#09041B #180A49 #29127F #3A1AB5 #512BE1

Accessibility & contrast

On white

14.12
#29127F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#29127F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #29127F
14.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##29127F#FFFFFF#000000##FFFFFF
##29127F1.0014.121.4914.12
#FFFFFF14.121.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F82
Deuteranopia (green-blind)
#00277D
Tritanopia (blue-blind)
#00354A
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #29127f;
/* rgb */ color: rgb(41, 18, 127);
/* oklch */ color: oklch(30.9% 0.165 280.3);
Tailwind
colors: {
  custom: {
    50: '#7155a5',
    500: '#29127f',
    950: '#000000',
  },
}
SCSS
$custom: #29127f;
$custom-light: #7155a5;
$custom-dark: #000000;
JSON
{
  "hex": "#29127f",
  "rgb": {
    "r": 41,
    "g": 18,
    "b": 127
  },
  "hsl": {
    "h": 252.661,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.30894,
    "c": 0.16502,
    "h": 280.3
  },
  "luminance": 0.02436
}

Semantic roles & 50–950 ramp

primary
#29127F
secondary
#9AB538
accent
#F236CA
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09030F
muted
#7B787F

Preview Lab

Preview with #29127F

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

Preview Lab → · Contrast checker → · Palette generator →

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