#29155C#29155C

#29155C is a dark, moderate violet. Relative luminance 0.018; OKLCH L 27.4% C 0.118 H 289.0°. Best body text is #FFFFFF at 15.49:1 contrast (WCAG AA passes).

Color values

HEX#29155C
RGBrgb(41, 21, 92)
HSLhsl(257, 63%, 22%)
HSVhsv(257, 77%, 36%)
CMYKcmyk(55.4%, 77.2%, 0%, 63.9%)
CIE-LABlab(14.29, 29.43, -38.91)
CIE-LCHlch(14.29, 48.79, 307.10°)
OKLaboklab(27.41% 0.0386 -0.1118)
OKLCHoklch(27.41% 0.118 289)
XYZxyz(3.1138, 1.7803, 10.3027)
Luminance0.0178 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#29155C #485C15
analogous
#15255C #29155C #4D155C
triadic
#29155C #5C2915 #155C29
tetradic
#29155C #5C1525 #485C15 #155C4D
square
#29155C #5C1525 #485C15 #155C4D
split-complementary
#29155C #5C4D15 #255C15
monochromatic
#0B0619 #130A2A #29155C #3F208E #552CC0

Accessibility & contrast

On white

15.49
#29155C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#29155C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #29155C
15.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##29155C#FFFFFF#000000##FFFFFF
##29155C1.0015.491.3615.49
#FFFFFF15.491.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00265E
Deuteranopia (green-blind)
#00225B
Tritanopia (blue-blind)
#162837
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #29155c;
/* rgb */ color: rgb(41, 21, 92);
/* oklch */ color: oklch(27.4% 0.118 289.0);
Tailwind
colors: {
  custom: {
    50: '#69548b',
    500: '#29155c',
    950: '#000000',
  },
}
SCSS
$custom: #29155c;
$custom-light: #69548b;
$custom-dark: #000000;
JSON
{
  "hex": "#29155c",
  "rgb": {
    "r": 41,
    "g": 21,
    "b": 92
  },
  "hsl": {
    "h": 256.901,
    "s": 62.832,
    "l": 22.157
  },
  "oklch": {
    "l": 0.27412,
    "c": 0.11824,
    "h": 289
  },
  "luminance": 0.0178
}

Semantic roles & 50–950 ramp

primary
#29155C
secondary
#7A9339
accent
#E642B8
background
#F6F4F8
surface
#EBE8F0
border
#C6C4CB
text
#07030C
muted
#7A787D

Preview Lab

Preview with #29155C

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

Preview Lab → · Contrast checker → · Palette generator →

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