#29127B#29127B

#29127B is a dark, vivid violet. Relative luminance 0.023; OKLCH L 30.4% C 0.160 H 281.2°. Best body text is #FFFFFF at 14.32:1 contrast (WCAG AA passes).

Color values

HEX#29127B
RGBrgb(41, 18, 123)
HSLhsl(253, 74%, 28%)
HSVhsv(253, 85%, 48%)
CMYKcmyk(66.7%, 85.4%, 0%, 51.8%)
CIE-LABlab(17.15, 40.70, -54.49)
CIE-LCHlch(17.15, 68.01, 306.76°)
OKLaboklab(30.43% 0.031 -0.1572)
OKLCHoklch(30.43% 0.16 281.2)
XYZxyz(4.7048, 2.3337, 18.9376)
Luminance0.0233 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#29127B #647B12
analogous
#122F7B #29127B #5E127B
triadic
#29127B #7B2912 #127B29
tetradic
#29127B #7B122F #647B12 #127B5E
square
#29127B #7B122F #647B12 #127B5E
split-complementary
#29127B #7B5E12 #2F7B12
monochromatic
#09041B #170A46 #29127B #3B1AB0 #5028E0

Accessibility & contrast

On white

14.32
#29127B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #29127B
14.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##29127B#FFFFFF#000000##FFFFFF
##29127B1.0014.321.4714.32
#FFFFFF14.321.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E7E
Deuteranopia (green-blind)
#002679
Tritanopia (blue-blind)
#003348
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #29127b;
/* rgb */ color: rgb(41, 18, 123);
/* oklch */ color: oklch(30.4% 0.160 281.2);
Tailwind
colors: {
  custom: {
    50: '#7055a2',
    500: '#29127b',
    950: '#000000',
  },
}
SCSS
$custom: #29127b;
$custom-light: #7055a2;
$custom-dark: #000000;
JSON
{
  "hex": "#29127b",
  "rgb": {
    "r": 41,
    "g": 18,
    "b": 123
  },
  "hsl": {
    "h": 253.143,
    "s": 74.468,
    "l": 27.647
  },
  "oklch": {
    "l": 0.30426,
    "c": 0.16026,
    "h": 281.2
  },
  "luminance": 0.02334
}

Semantic roles & 50–950 ramp

primary
#29127B
secondary
#96B138
accent
#F137C8
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #29127B

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

Preview Lab → · Contrast checker → · Palette generator →

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