#29135F#29135F

#29135F is a dark, vivid violet. Relative luminance 0.018; OKLCH L 27.4% C 0.125 H 288.5°. Best body text is #FFFFFF at 15.53:1 contrast (WCAG AA passes).

Color values

HEX#29135F
RGBrgb(41, 19, 95)
HSLhsl(257, 67%, 22%)
HSVhsv(257, 80%, 37%)
CMYKcmyk(56.8%, 80%, 0%, 62.7%)
CIE-LABlab(14.19, 31.52, -41.08)
CIE-LCHlch(14.19, 51.78, 307.50°)
OKLaboklab(27.44% 0.0396 -0.1181)
OKLCHoklch(27.44% 0.125 288.5)
XYZxyz(3.2123, 1.7632, 10.9953)
Luminance0.0176 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#29135F #495F13
analogous
#13235F #29135F #4F135F
triadic
#29135F #5F2913 #135F29
tetradic
#29135F #5F1323 #495F13 #135F4F
square
#29135F #5F1323 #495F13 #135F4F
split-complementary
#29135F #5F4F13 #235F13
monochromatic
#0B051A #13092C #29135F #3F1D92 #5527C5

Accessibility & contrast

On white

15.53
#29135F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#29135F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #29135F
15.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##29135F#FFFFFF#000000##FFFFFF
##29135F1.0015.531.3515.53
#FFFFFF15.531.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002661
Deuteranopia (green-blind)
#00225E
Tritanopia (blue-blind)
#142838
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #29135f;
/* rgb */ color: rgb(41, 19, 95);
/* oklch */ color: oklch(27.4% 0.125 288.5);
Tailwind
colors: {
  custom: {
    50: '#6a538d',
    500: '#29135f',
    950: '#000000',
  },
}
SCSS
$custom: #29135f;
$custom-light: #6a538d;
$custom-dark: #000000;
JSON
{
  "hex": "#29135f",
  "rgb": {
    "r": 41,
    "g": 19,
    "b": 95
  },
  "hsl": {
    "h": 257.368,
    "s": 66.667,
    "l": 22.353
  },
  "oklch": {
    "l": 0.27437,
    "c": 0.12458,
    "h": 288.5
  },
  "luminance": 0.01763
}

Semantic roles & 50–950 ramp

primary
#29135F
secondary
#7B9737
accent
#EA3EB8
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#07020C
muted
#7A787D

Preview Lab

Preview with #29135F

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

Preview Lab → · Contrast checker → · Palette generator →

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