#29137B#29137B

#29137B is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.5% C 0.159 H 281.0°. Best body text is #FFFFFF at 14.25:1 contrast (WCAG AA passes).

Color values

HEX#29137B
RGBrgb(41, 19, 123)
HSLhsl(253, 73%, 28%)
HSVhsv(253, 85%, 48%)
CMYKcmyk(66.7%, 84.6%, 0%, 51.8%)
CIE-LABlab(17.31, 40.24, -54.23)
CIE-LCHlch(17.31, 67.53, 306.58°)
OKLaboklab(30.53% 0.0305 -0.1565)
OKLCHoklch(30.53% 0.159 281)
XYZxyz(4.7213, 2.3669, 18.9431)
Luminance0.0237 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#29137B #657B13
analogous
#13317B #29137B #5D137B
triadic
#29137B #7B2913 #137B29
tetradic
#29137B #7B1331 #657B13 #137B5D
square
#29137B #7B1331 #657B13 #137B5D
split-complementary
#29137B #7B5D13 #317B13
monochromatic
#09041B #170B46 #29137B #3B1BB0 #502ADE

Accessibility & contrast

On white

14.25
#29137B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#29137B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #29137B
14.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##29137B#FFFFFF#000000##FFFFFF
##29137B1.0014.251.4714.25
#FFFFFF14.251.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E7E
Deuteranopia (green-blind)
#002779
Tritanopia (blue-blind)
#003348
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #29137b;
/* rgb */ color: rgb(41, 19, 123);
/* oklch */ color: oklch(30.5% 0.159 281.0);
Tailwind
colors: {
  custom: {
    50: '#7055a2',
    500: '#29137b',
    950: '#000000',
  },
}
SCSS
$custom: #29137b;
$custom-light: #7055a2;
$custom-dark: #000000;
JSON
{
  "hex": "#29137b",
  "rgb": {
    "r": 41,
    "g": 19,
    "b": 123
  },
  "hsl": {
    "h": 252.692,
    "s": 73.239,
    "l": 27.843
  },
  "oklch": {
    "l": 0.30534,
    "c": 0.15943,
    "h": 281
  },
  "luminance": 0.02367
}

Semantic roles & 50–950 ramp

primary
#29137B
secondary
#97B139
accent
#F038C9
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #29137B

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

Preview Lab → · Contrast checker → · Palette generator →

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