#29157D#29157D

#29157D is a dark, vivid violet. Relative luminance 0.025; OKLCH L 31.0% C 0.160 H 280.4°. Best body text is #FFFFFF at 14.02:1 contrast (WCAG AA passes).

Color values

HEX#29157D
RGBrgb(41, 21, 125)
HSLhsl(252, 71%, 29%)
HSVhsv(252, 83%, 49%)
CMYKcmyk(67.2%, 83.2%, 0%, 51%)
CIE-LABlab(17.86, 39.91, -54.58)
CIE-LCHlch(17.86, 67.61, 306.17°)
OKLaboklab(30.99% 0.0288 -0.1575)
OKLCHoklch(30.99% 0.16 280.4)
XYZxyz(4.8831, 2.4880, 19.6210)
Luminance0.0249 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#29157D #697D15
analogous
#15357D #29157D #5D157D
triadic
#29157D #7D2915 #157D29
tetradic
#29157D #7D1535 #697D15 #157D5D
square
#29157D #7D1535 #697D15 #157D5D
split-complementary
#29157D #7D5D15 #357D15
monochromatic
#09041A #180C49 #29157D #3A1EB1 #5130DC

Accessibility & contrast

On white

14.02
#29157D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#29157D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #29157D
14.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##29157D#FFFFFF#000000##FFFFFF
##29157D1.0014.021.5014.02
#FFFFFF14.021.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F80
Deuteranopia (green-blind)
#00287B
Tritanopia (blue-blind)
#00354A
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #29157d;
/* rgb */ color: rgb(41, 21, 125);
/* oklch */ color: oklch(31.0% 0.160 280.4);
Tailwind
colors: {
  custom: {
    50: '#7056a4',
    500: '#29157d',
    950: '#000000',
  },
}
SCSS
$custom: #29157d;
$custom-light: #7056a4;
$custom-dark: #000000;
JSON
{
  "hex": "#29157d",
  "rgb": {
    "r": 41,
    "g": 21,
    "b": 125
  },
  "hsl": {
    "h": 251.538,
    "s": 71.233,
    "l": 28.627
  },
  "oklch": {
    "l": 0.30989,
    "c": 0.16016,
    "h": 280.4
  },
  "luminance": 0.02488
}

Semantic roles & 50–950 ramp

primary
#29157D
secondary
#9BB23C
accent
#EE3ACB
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09030F
muted
#7B787F

Preview Lab

Preview with #29157D

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

Preview Lab → · Contrast checker → · Palette generator →

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