#29155E#29155E

#29155E is a dark, vivid violet. Relative luminance 0.018; OKLCH L 27.6% C 0.121 H 288.3°. Best body text is #FFFFFF at 15.40:1 contrast (WCAG AA passes).

Color values

HEX#29155E
RGBrgb(41, 21, 94)
HSLhsl(256, 63%, 23%)
HSVhsv(256, 78%, 37%)
CMYKcmyk(56.4%, 77.7%, 0%, 63.1%)
CIE-LABlab(14.49, 30.07, -39.93)
CIE-LCHlch(14.49, 49.98, 306.99°)
OKLaboklab(27.62% 0.0381 -0.1147)
OKLCHoklch(27.62% 0.121 288.3)
XYZxyz(3.2024, 1.8157, 10.7692)
Luminance0.0182 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#29155E #4A5E15
analogous
#15265E #29155E #4D155E
triadic
#29155E #5E2915 #155E29
tetradic
#29155E #5E1526 #4A5E15 #155E4D
square
#29155E #5E1526 #4A5E15 #155E4D
split-complementary
#29155E #5E4D15 #265E15
monochromatic
#0B0619 #130A2C #29155E #3F2090 #552BC2

Accessibility & contrast

On white

15.40
#29155E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #29155E
15.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##29155E#FFFFFF#000000##FFFFFF
##29155E1.0015.401.3615.40
#FFFFFF15.401.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002660
Deuteranopia (green-blind)
#00235D
Tritanopia (blue-blind)
#152938
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #29155e;
/* rgb */ color: rgb(41, 21, 94);
/* oklch */ color: oklch(27.6% 0.121 288.3);
Tailwind
colors: {
  custom: {
    50: '#69548c',
    500: '#29155e',
    950: '#000000',
  },
}
SCSS
$custom: #29155e;
$custom-light: #69548c;
$custom-dark: #000000;
JSON
{
  "hex": "#29155e",
  "rgb": {
    "r": 41,
    "g": 21,
    "b": 94
  },
  "hsl": {
    "h": 256.438,
    "s": 63.478,
    "l": 22.549
  },
  "oklch": {
    "l": 0.27615,
    "c": 0.1209,
    "h": 288.3
  },
  "luminance": 0.01816
}

Semantic roles & 50–950 ramp

primary
#29155E
secondary
#7C9539
accent
#E741B9
background
#F6F4F8
surface
#EBE8F0
border
#C6C4CB
text
#07030C
muted
#7A787D

Preview Lab

Preview with #29155E

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

Preview Lab → · Contrast checker → · Palette generator →

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