#29138F#29138F

#29138F is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.9% C 0.183 H 277.4°. Best body text is #FFFFFF at 13.26:1 contrast (WCAG AA passes).

Color values

HEX#29138F
RGBrgb(41, 19, 143)
HSLhsl(251, 77%, 32%)
HSVhsv(251, 87%, 56%)
CMYKcmyk(71.3%, 86.7%, 0%, 43.9%)
CIE-LABlab(19.72, 46.26, -62.85)
CIE-LCHlch(19.72, 78.04, 306.36°)
OKLaboklab(32.9% 0.0236 -0.1815)
OKLCHoklch(32.9% 0.183 277.4)
XYZxyz(6.1036, 2.9198, 26.2232)
Luminance0.0292 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#29138F #798F13
analogous
#133B8F #29138F #67138F
triadic
#29138F #8F2913 #138F29
tetradic
#29138F #8F133B #798F13 #138F67
square
#29138F #8F133B #798F13 #138F67
split-complementary
#29138F #8F6713 #3B8F13
monochromatic
#0A0523 #1A0C59 #29138F #381AC5 #5638E5

Accessibility & contrast

On white

13.26
#29138F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #29138F
13.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##29138F#FFFFFF#000000##FFFFFF
##29138F1.0013.261.5813.26
#FFFFFF13.261.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003492
Deuteranopia (green-blind)
#002A8D
Tritanopia (blue-blind)
#003C54
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #29138f;
/* rgb */ color: rgb(41, 19, 143);
/* oklch */ color: oklch(32.9% 0.183 277.4);
Tailwind
colors: {
  custom: {
    50: '#7457b1',
    500: '#29138f',
    950: '#000000',
  },
}
SCSS
$custom: #29138f;
$custom-light: #7457b1;
$custom-dark: #000000;
JSON
{
  "hex": "#29138f",
  "rgb": {
    "r": 41,
    "g": 19,
    "b": 143
  },
  "hsl": {
    "h": 250.645,
    "s": 76.543,
    "l": 31.765
  },
  "oklch": {
    "l": 0.32895,
    "c": 0.18307,
    "h": 277.4
  },
  "luminance": 0.0292
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #29138F

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

Preview Lab → · Contrast checker → · Palette generator →

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