#29187C#29187C

#29187C is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.2% C 0.156 H 280.1°. Best body text is #FFFFFF at 13.85:1 contrast (WCAG AA passes).

Color values

HEX#29187C
RGBrgb(41, 24, 124)
HSLhsl(250, 68%, 29%)
HSVhsv(250, 81%, 49%)
CMYKcmyk(66.9%, 80.6%, 0%, 51.4%)
CIE-LABlab(18.27, 38.08, -53.26)
CIE-LCHlch(18.27, 65.47, 305.56°)
OKLaboklab(31.24% 0.0274 -0.1538)
OKLCHoklch(31.24% 0.156 280.1)
XYZxyz(4.8780, 2.5795, 19.3057)
Luminance0.0258 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#29187C #6B7C18
analogous
#18397C #29187C #5B187C
triadic
#29187C #7C2918 #187C29
tetradic
#29187C #7C1839 #6B7C18 #187C5B
square
#29187C #7C1839 #6B7C18 #187C5B
split-complementary
#29187C #7C5B18 #397C18
monochromatic
#08051A #180E49 #29187C #3A22AF #5236D8

Accessibility & contrast

On white

13.85
#29187C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #29187C
13.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##29187C#FFFFFF#000000##FFFFFF
##29187C1.0013.851.5213.85
#FFFFFF13.851.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.851.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #29187c;
/* rgb */ color: rgb(41, 24, 124);
/* oklch */ color: oklch(31.2% 0.156 280.1);
Tailwind
colors: {
  custom: {
    50: '#6f58a3',
    500: '#29187c',
    950: '#000000',
  },
}
SCSS
$custom: #29187c;
$custom-light: #6f58a3;
$custom-dark: #000000;
JSON
{
  "hex": "#29187c",
  "rgb": {
    "r": 41,
    "g": 24,
    "b": 124
  },
  "hsl": {
    "h": 250.2,
    "s": 67.568,
    "l": 29.02
  },
  "oklch": {
    "l": 0.3124,
    "c": 0.15618,
    "h": 280.1
  },
  "luminance": 0.0258
}

Semantic roles & 50–950 ramp

primary
#29187C
secondary
#9DB13F
accent
#EA3DCD
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #29187C

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

Preview Lab → · Contrast checker → · Palette generator →

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