#29137F#29137F

#29137F is a dark, vivid violet. Relative luminance 0.025; OKLCH L 31.0% C 0.164 H 280.2°. Best body text is #FFFFFF at 14.06:1 contrast (WCAG AA passes).

Color values

HEX#29137F
RGBrgb(41, 19, 127)
HSLhsl(252, 74%, 29%)
HSVhsv(252, 85%, 50%)
CMYKcmyk(67.7%, 85%, 0%, 50.2%)
CIE-LABlab(17.78, 41.46, -56.00)
CIE-LCHlch(17.78, 69.68, 306.52°)
OKLaboklab(31% 0.0291 -0.1616)
OKLCHoklch(31% 0.164 280.2)
XYZxyz(4.9769, 2.4691, 20.2889)
Luminance0.0247 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#29137F #697F13
analogous
#13337F #29137F #5F137F
triadic
#29137F #7F2913 #137F29
tetradic
#29137F #7F1333 #697F13 #137F5F
square
#29137F #7F1333 #697F13 #137F5F
split-complementary
#29137F #7F5F13 #337F13
monochromatic
#09041B #180B4A #29137F #3A1BB4 #512DE0

Accessibility & contrast

On white

14.06
#29137F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#29137F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #29137F
14.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##29137F#FFFFFF#000000##FFFFFF
##29137F1.0014.061.4914.06
#FFFFFF14.061.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F82
Deuteranopia (green-blind)
#00277D
Tritanopia (blue-blind)
#00354A
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #29137f;
/* rgb */ color: rgb(41, 19, 127);
/* oklch */ color: oklch(31.0% 0.164 280.2);
Tailwind
colors: {
  custom: {
    50: '#7156a5',
    500: '#29137f',
    950: '#000000',
  },
}
SCSS
$custom: #29137f;
$custom-light: #7156a5;
$custom-dark: #000000;
JSON
{
  "hex": "#29137f",
  "rgb": {
    "r": 41,
    "g": 19,
    "b": 127
  },
  "hsl": {
    "h": 252.222,
    "s": 73.973,
    "l": 28.627
  },
  "oklch": {
    "l": 0.30998,
    "c": 0.16424,
    "h": 280.2
  },
  "luminance": 0.02469
}

Semantic roles & 50–950 ramp

primary
#29137F
secondary
#9BB439
accent
#F137CB
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09030F
muted
#7B787F

Preview Lab

Preview with #29137F

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

Preview Lab → · Contrast checker → · Palette generator →

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