#29107F#29107F

#29107F is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.7% C 0.167 H 280.5°. Best body text is #FFFFFF at 14.24:1 contrast (WCAG AA passes).

Color values

HEX#29107F
RGBrgb(41, 16, 127)
HSLhsl(254, 78%, 28%)
HSVhsv(254, 87%, 50%)
CMYKcmyk(67.7%, 87.4%, 0%, 50.2%)
CIE-LABlab(17.34, 42.76, -56.72)
CIE-LCHlch(17.34, 71.04, 307.01°)
OKLaboklab(30.7% 0.0305 -0.1637)
OKLCHoklch(30.7% 0.167 280.5)
XYZxyz(4.9293, 2.3739, 20.2730)
Luminance0.0237 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#29107F #667F10
analogous
#102E7F #29107F #61107F
triadic
#29107F #7F2910 #107F29
tetradic
#29107F #7F102E #667F10 #107F61
square
#29107F #7F102E #667F10 #107F61
split-complementary
#29107F #7F6110 #2E7F10
monochromatic
#09031B #170949 #29107F #3B17B5 #5126E4

Accessibility & contrast

On white

14.24
#29107F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#29107F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #29107F
14.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##29107F#FFFFFF#000000##FFFFFF
##29107F1.0014.241.4714.24
#FFFFFF14.241.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E82
Deuteranopia (green-blind)
#00267D
Tritanopia (blue-blind)
#00344A
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #29107f;
/* rgb */ color: rgb(41, 16, 127);
/* oklch */ color: oklch(30.7% 0.167 280.5);
Tailwind
colors: {
  custom: {
    50: '#7154a5',
    500: '#29107f',
    950: '#000000',
  },
}
SCSS
$custom: #29107f;
$custom-light: #7154a5;
$custom-dark: #000000;
JSON
{
  "hex": "#29107f",
  "rgb": {
    "r": 41,
    "g": 16,
    "b": 127
  },
  "hsl": {
    "h": 253.514,
    "s": 77.622,
    "l": 28.039
  },
  "oklch": {
    "l": 0.30697,
    "c": 0.16652,
    "h": 280.5
  },
  "luminance": 0.02374
}

Semantic roles & 50–950 ramp

primary
#29107F
secondary
#98B536
accent
#F434C9
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09030F
muted
#7B787F

Preview Lab

Preview with #29107F

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

Preview Lab → · Contrast checker → · Palette generator →

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