#29187E#29187E

#29187E is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.5% C 0.159 H 279.7°. Best body text is #FFFFFF at 13.76:1 contrast (WCAG AA passes).

Color values

HEX#29187E
RGBrgb(41, 24, 126)
HSLhsl(250, 68%, 29%)
HSVhsv(250, 81%, 49%)
CMYKcmyk(67.5%, 81%, 0%, 50.6%)
CIE-LABlab(18.50, 38.72, -54.17)
CIE-LCHlch(18.50, 66.58, 305.56°)
OKLaboklab(31.46% 0.0268 -0.1564)
OKLCHoklch(31.46% 0.159 279.7)
XYZxyz(5.0058, 2.6306, 19.9786)
Luminance0.0263 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#29187E #6D7E18
analogous
#183A7E #29187E #5C187E
triadic
#29187E #7E2918 #187E29
tetradic
#29187E #7E183A #6D7E18 #187E5C
square
#29187E #7E183A #6D7E18 #187E5C
split-complementary
#29187E #7E5C18 #3A7E18
monochromatic
#08051A #180E4B #29187E #3A22B1 #5237D9

Accessibility & contrast

On white

13.76
#29187E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#29187E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #29187E
13.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##29187E#FFFFFF#000000##FFFFFF
##29187E1.0013.761.5313.76
#FFFFFF13.761.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003181
Deuteranopia (green-blind)
#00297C
Tritanopia (blue-blind)
#00374B
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #29187e;
/* rgb */ color: rgb(41, 24, 126);
/* oklch */ color: oklch(31.5% 0.159 279.7);
Tailwind
colors: {
  custom: {
    50: '#7058a4',
    500: '#29187e',
    950: '#000000',
  },
}
SCSS
$custom: #29187e;
$custom-light: #7058a4;
$custom-dark: #000000;
JSON
{
  "hex": "#29187e",
  "rgb": {
    "r": 41,
    "g": 24,
    "b": 126
  },
  "hsl": {
    "h": 250,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.31464,
    "c": 0.15867,
    "h": 279.7
  },
  "luminance": 0.02631
}

Semantic roles & 50–950 ramp

primary
#29187E
secondary
#9FB23F
accent
#EB3DCE
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #29187E

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

Preview Lab → · Contrast checker → · Palette generator →

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