#29127C#29127C

#29127C is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.5% C 0.161 H 280.9°. Best body text is #FFFFFF at 14.27:1 contrast (WCAG AA passes).

Color values

HEX#29127C
RGBrgb(41, 18, 124)
HSLhsl(253, 75%, 28%)
HSVhsv(253, 85%, 49%)
CMYKcmyk(66.9%, 85.5%, 0%, 51.4%)
CIE-LABlab(17.27, 41.00, -54.93)
CIE-LCHlch(17.27, 68.54, 306.74°)
OKLaboklab(30.54% 0.0307 -0.1585)
OKLCHoklch(30.54% 0.161 280.9)
XYZxyz(4.7677, 2.3589, 19.2689)
Luminance0.0236 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#29127C #657C12
analogous
#12307C #29127C #5E127C
triadic
#29127C #7C2912 #127C29
tetradic
#29127C #7C1230 #657C12 #127C5E
square
#29127C #7C1230 #657C12 #127C5E
split-complementary
#29127C #7C5E12 #307C12
monochromatic
#09041B #170A47 #29127C #3B1AB1 #5029E0

Accessibility & contrast

On white

14.27
#29127C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#29127C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #29127C
14.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##29127C#FFFFFF#000000##FFFFFF
##29127C1.0014.271.4714.27
#FFFFFF14.271.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E7F
Deuteranopia (green-blind)
#00277A
Tritanopia (blue-blind)
#003348
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #29127c;
/* rgb */ color: rgb(41, 18, 124);
/* oklch */ color: oklch(30.5% 0.161 280.9);
Tailwind
colors: {
  custom: {
    50: '#7055a3',
    500: '#29127c',
    950: '#000000',
  },
}
SCSS
$custom: #29127c;
$custom-light: #7055a3;
$custom-dark: #000000;
JSON
{
  "hex": "#29127c",
  "rgb": {
    "r": 41,
    "g": 18,
    "b": 124
  },
  "hsl": {
    "h": 253.019,
    "s": 74.648,
    "l": 27.843
  },
  "oklch": {
    "l": 0.30543,
    "c": 0.16146,
    "h": 280.9
  },
  "luminance": 0.02359
}

Semantic roles & 50–950 ramp

primary
#29127C
secondary
#97B238
accent
#F137C9
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09030F
muted
#7B787F

Preview Lab

Preview with #29127C

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

Preview Lab → · Contrast checker → · Palette generator →

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