#29157C#29157C

#29157C is a dark, vivid violet. Relative luminance 0.025; OKLCH L 30.9% C 0.159 H 280.6°. Best body text is #FFFFFF at 14.07:1 contrast (WCAG AA passes).

Color values

HEX#29157C
RGBrgb(41, 21, 124)
HSLhsl(252, 71%, 28%)
HSVhsv(252, 83%, 49%)
CMYKcmyk(66.9%, 83.1%, 0%, 51.4%)
CIE-LABlab(17.75, 39.60, -54.13)
CIE-LCHlch(17.75, 67.07, 306.19°)
OKLaboklab(30.88% 0.0291 -0.1562)
OKLCHoklch(30.88% 0.159 280.6)
XYZxyz(4.8196, 2.4626, 19.2862)
Luminance0.0246 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#29157C #687C15
analogous
#15357C #29157C #5C157C
triadic
#29157C #7C2915 #157C29
tetradic
#29157C #7C1535 #687C15 #157C5C
square
#29157C #7C1535 #687C15 #157C5C
split-complementary
#29157C #7C5C15 #357C15
monochromatic
#09041A #180C48 #29157C #3A1EB0 #5130DC

Accessibility & contrast

On white

14.07
#29157C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#29157C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #29157C
14.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##29157C#FFFFFF#000000##FFFFFF
##29157C1.0014.071.4914.07
#FFFFFF14.071.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F7F
Deuteranopia (green-blind)
#00287A
Tritanopia (blue-blind)
#003549
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #29157c;
/* rgb */ color: rgb(41, 21, 124);
/* oklch */ color: oklch(30.9% 0.159 280.6);
Tailwind
colors: {
  custom: {
    50: '#7056a3',
    500: '#29157c',
    950: '#000000',
  },
}
SCSS
$custom: #29157c;
$custom-light: #7056a3;
$custom-dark: #000000;
JSON
{
  "hex": "#29157c",
  "rgb": {
    "r": 41,
    "g": 21,
    "b": 124
  },
  "hsl": {
    "h": 251.65,
    "s": 71.034,
    "l": 28.431
  },
  "oklch": {
    "l": 0.30875,
    "c": 0.15894,
    "h": 280.6
  },
  "luminance": 0.02463
}

Semantic roles & 50–950 ramp

primary
#29157C
secondary
#9AB13C
accent
#EE3ACB
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #29157C

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

Preview Lab → · Contrast checker → · Palette generator →

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