#29155F#29155F

#29155F is a dark, vivid violet. Relative luminance 0.018; OKLCH L 27.7% C 0.122 H 288.0°. Best body text is #FFFFFF at 15.36:1 contrast (WCAG AA passes).

Color values

HEX#29155F
RGBrgb(41, 21, 95)
HSLhsl(256, 64%, 23%)
HSVhsv(256, 78%, 37%)
CMYKcmyk(56.8%, 77.9%, 0%, 62.7%)
CIE-LABlab(14.59, 30.40, -40.43)
CIE-LCHlch(14.59, 50.58, 306.94°)
OKLaboklab(27.72% 0.0378 -0.1162)
OKLCHoklch(27.72% 0.122 288)
XYZxyz(3.2476, 1.8338, 11.0071)
Luminance0.0183 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#29155F #4B5F15
analogous
#15265F #29155F #4E155F
triadic
#29155F #5F2915 #155F29
tetradic
#29155F #5F1526 #4B5F15 #155F4E
square
#29155F #5F1526 #4B5F15 #155F4E
split-complementary
#29155F #5F4E15 #265F15
monochromatic
#0B0619 #130A2D #29155F #3F2091 #542BC3

Accessibility & contrast

On white

15.36
#29155F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#29155F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #29155F
15.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##29155F#FFFFFF#000000##FFFFFF
##29155F1.0015.361.3715.36
#FFFFFF15.361.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002661
Deuteranopia (green-blind)
#00235E
Tritanopia (blue-blind)
#142938
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #29155f;
/* rgb */ color: rgb(41, 21, 95);
/* oklch */ color: oklch(27.7% 0.122 288.0);
Tailwind
colors: {
  custom: {
    50: '#6a548d',
    500: '#29155f',
    950: '#000000',
  },
}
SCSS
$custom: #29155f;
$custom-light: #6a548d;
$custom-dark: #000000;
JSON
{
  "hex": "#29155f",
  "rgb": {
    "r": 41,
    "g": 21,
    "b": 95
  },
  "hsl": {
    "h": 256.216,
    "s": 63.793,
    "l": 22.745
  },
  "oklch": {
    "l": 0.27717,
    "c": 0.12222,
    "h": 288
  },
  "luminance": 0.01834
}

Semantic roles & 50–950 ramp

primary
#29155F
secondary
#7D963A
accent
#E741BA
background
#F6F5F8
surface
#EBE8F0
border
#C6C4CB
text
#07030C
muted
#7A787D

Preview Lab

Preview with #29155F

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

Preview Lab → · Contrast checker → · Palette generator →

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