#29148B#29148B

#29148B is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.5% C 0.178 H 278.0°. Best body text is #FFFFFF at 13.40:1 contrast (WCAG AA passes).

Color values

HEX#29148B
RGBrgb(41, 20, 139)
HSLhsl(251, 75%, 31%)
HSVhsv(251, 86%, 55%)
CMYKcmyk(70.5%, 85.6%, 0%, 45.5%)
CIE-LABlab(19.37, 44.65, -60.93)
CIE-LCHlch(19.37, 75.53, 306.23°)
OKLaboklab(32.52% 0.0246 -0.176)
OKLCHoklch(32.52% 0.178 278)
XYZxyz(5.8233, 2.8353, 24.6615)
Luminance0.0284 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#29148B #768B14
analogous
#143A8B #29148B #64148B
triadic
#29148B #8B2914 #148B29
tetradic
#29148B #8B143A #768B14 #148B64
square
#29148B #8B143A #768B14 #148B64
split-complementary
#29148B #8B6414 #3A8B14
monochromatic
#090520 #190C55 #29148B #391CC1 #5537E2

Accessibility & contrast

On white

13.40
#29148B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#29148B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #29148B
13.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##29148B#FFFFFF#000000##FFFFFF
##29148B1.0013.401.5713.40
#FFFFFF13.401.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00338E
Deuteranopia (green-blind)
#002A89
Tritanopia (blue-blind)
#003A52
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #29148b;
/* rgb */ color: rgb(41, 20, 139);
/* oklch */ color: oklch(32.5% 0.178 278.0);
Tailwind
colors: {
  custom: {
    50: '#7357ae',
    500: '#29148b',
    950: '#000000',
  },
}
SCSS
$custom: #29148b;
$custom-light: #7357ae;
$custom-dark: #000000;
JSON
{
  "hex": "#29148b",
  "rgb": {
    "r": 41,
    "g": 20,
    "b": 139
  },
  "hsl": {
    "h": 250.588,
    "s": 74.843,
    "l": 31.176
  },
  "oklch": {
    "l": 0.32515,
    "c": 0.17769,
    "h": 278
  },
  "luminance": 0.02836
}

Semantic roles & 50–950 ramp

primary
#29148B
secondary
#A8BF3C
accent
#F136D0
background
#F7F5FA
surface
#EEE9F5
border
#C9C5CF
text
#090310
muted
#7B787F

Preview Lab

Preview with #29148B

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

Preview Lab → · Contrast checker → · Palette generator →

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