#29138E#29138E

#29138E is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.8% C 0.182 H 277.6°. Best body text is #FFFFFF at 13.31:1 contrast (WCAG AA passes).

Color values

HEX#29138E
RGBrgb(41, 19, 142)
HSLhsl(251, 76%, 32%)
HSVhsv(251, 87%, 56%)
CMYKcmyk(71.1%, 86.6%, 0%, 44.3%)
CIE-LABlab(19.60, 45.97, -62.43)
CIE-LCHlch(19.60, 77.53, 306.36°)
OKLaboklab(32.78% 0.0239 -0.1803)
OKLCHoklch(32.78% 0.182 277.6)
XYZxyz(6.0282, 2.8896, 25.8260)
Luminance0.0289 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#29138E #788E13
analogous
#133A8E #29138E #67138E
triadic
#29138E #8E2913 #138E29
tetradic
#29138E #8E133A #788E13 #138E67
square
#29138E #8E133A #788E13 #138E67
split-complementary
#29138E #8E6713 #3A8E13
monochromatic
#0A0522 #190C58 #29138E #391AC4 #5637E4

Accessibility & contrast

On white

13.31
#29138E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#29138E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #29138E
13.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##29138E#FFFFFF#000000##FFFFFF
##29138E1.0013.311.5813.31
#FFFFFF13.311.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003491
Deuteranopia (green-blind)
#002A8C
Tritanopia (blue-blind)
#003B53
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #29138e;
/* rgb */ color: rgb(41, 19, 142);
/* oklch */ color: oklch(32.8% 0.182 277.6);
Tailwind
colors: {
  custom: {
    50: '#7457b0',
    500: '#29138e',
    950: '#000000',
  },
}
SCSS
$custom: #29138e;
$custom-light: #7457b0;
$custom-dark: #000000;
JSON
{
  "hex": "#29138e",
  "rgb": {
    "r": 41,
    "g": 19,
    "b": 142
  },
  "hsl": {
    "h": 250.732,
    "s": 76.398,
    "l": 31.569
  },
  "oklch": {
    "l": 0.32775,
    "c": 0.1819,
    "h": 277.6
  },
  "luminance": 0.0289
}

Semantic roles & 50–950 ramp

primary
#29138E
secondary
#AAC23B
accent
#F335D1
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0311
muted
#7C7880

Preview Lab

Preview with #29138E

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

Preview Lab → · Contrast checker → · Palette generator →

#29138E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva