#29187B#29187B

#29187B is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.1% C 0.155 H 280.3°. Best body text is #FFFFFF at 13.90:1 contrast (WCAG AA passes).

Color values

HEX#29187B
RGBrgb(41, 24, 123)
HSLhsl(250, 67%, 29%)
HSVhsv(250, 80%, 48%)
CMYKcmyk(66.7%, 80.5%, 0%, 51.8%)
CIE-LABlab(18.16, 37.76, -52.81)
CIE-LCHlch(18.16, 64.92, 305.56°)
OKLaboklab(31.13% 0.0277 -0.1524)
OKLCHoklch(31.13% 0.155 280.3)
XYZxyz(4.8151, 2.5544, 18.9744)
Luminance0.0255 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#29187B #6A7B18
analogous
#18397B #29187B #5B187B
triadic
#29187B #7B2918 #187B29
tetradic
#29187B #7B1839 #6A7B18 #187B5B
square
#29187B #7B1839 #6A7B18 #187B5B
split-complementary
#29187B #7B5B18 #397B18
monochromatic
#09051A #180E48 #29187B #3A22AE #5236D8

Accessibility & contrast

On white

13.90
#29187B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#29187B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #29187B
13.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##29187B#FFFFFF#000000##FFFFFF
##29187B1.0013.901.5113.90
#FFFFFF13.901.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00307E
Deuteranopia (green-blind)
#002979
Tritanopia (blue-blind)
#003549
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #29187b;
/* rgb */ color: rgb(41, 24, 123);
/* oklch */ color: oklch(31.1% 0.155 280.3);
Tailwind
colors: {
  custom: {
    50: '#6f58a2',
    500: '#29187b',
    950: '#000000',
  },
}
SCSS
$custom: #29187b;
$custom-light: #6f58a2;
$custom-dark: #000000;
JSON
{
  "hex": "#29187b",
  "rgb": {
    "r": 41,
    "g": 24,
    "b": 123
  },
  "hsl": {
    "h": 250.303,
    "s": 67.347,
    "l": 28.824
  },
  "oklch": {
    "l": 0.31129,
    "c": 0.15493,
    "h": 280.3
  },
  "luminance": 0.02555
}

Semantic roles & 50–950 ramp

primary
#29187B
secondary
#9CB03F
accent
#EA3ECD
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #29187B

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

Preview Lab → · Contrast checker → · Palette generator →

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