#29187D#29187D

#29187D is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.4% C 0.157 H 279.9°. Best body text is #FFFFFF at 13.81:1 contrast (WCAG AA passes).

Color values

HEX#29187D
RGBrgb(41, 24, 125)
HSLhsl(250, 68%, 29%)
HSVhsv(250, 81%, 49%)
CMYKcmyk(67.2%, 80.8%, 0%, 51%)
CIE-LABlab(18.39, 38.40, -53.72)
CIE-LCHlch(18.39, 66.03, 305.56°)
OKLaboklab(31.35% 0.0271 -0.1551)
OKLCHoklch(31.35% 0.157 279.9)
XYZxyz(4.9416, 2.6050, 19.6405)
Luminance0.0261 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#29187D #6C7D18
analogous
#183A7D #29187D #5C187D
triadic
#29187D #7D2918 #187D29
tetradic
#29187D #7D183A #6C7D18 #187D5C
square
#29187D #7D183A #6C7D18 #187D5C
split-complementary
#29187D #7D5C18 #3A7D18
monochromatic
#08051A #180E4A #29187D #3A22B0 #5237D9

Accessibility & contrast

On white

13.81
#29187D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#29187D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #29187D
13.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##29187D#FFFFFF#000000##FFFFFF
##29187D1.0013.811.5213.81
#FFFFFF13.811.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003080
Deuteranopia (green-blind)
#00297B
Tritanopia (blue-blind)
#00364A
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #29187d;
/* rgb */ color: rgb(41, 24, 125);
/* oklch */ color: oklch(31.4% 0.157 279.9);
Tailwind
colors: {
  custom: {
    50: '#7058a4',
    500: '#29187d',
    950: '#000000',
  },
}
SCSS
$custom: #29187d;
$custom-light: #7058a4;
$custom-dark: #000000;
JSON
{
  "hex": "#29187d",
  "rgb": {
    "r": 41,
    "g": 24,
    "b": 125
  },
  "hsl": {
    "h": 250.099,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.31352,
    "c": 0.15743,
    "h": 279.9
  },
  "luminance": 0.02605
}

Semantic roles & 50–950 ramp

primary
#29187D
secondary
#9EB23F
accent
#EB3DCD
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #29187D

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

Preview Lab → · Contrast checker → · Palette generator →

#29187D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva