#29165C#29165C

#29165C is a dark, moderate violet. Relative luminance 0.018; OKLCH L 27.6% C 0.117 H 288.7°. Best body text is #FFFFFF at 15.40:1 contrast (WCAG AA passes).

Color values

HEX#29165C
RGBrgb(41, 22, 92)
HSLhsl(256, 61%, 22%)
HSVhsv(256, 76%, 36%)
CMYKcmyk(55.4%, 76.1%, 0%, 63.9%)
CIE-LABlab(14.50, 28.84, -38.57)
CIE-LCHlch(14.50, 48.16, 306.79°)
OKLaboklab(27.56% 0.0376 -0.1108)
OKLCHoklch(27.56% 0.117 288.7)
XYZxyz(3.1326, 1.8178, 10.3090)
Luminance0.0182 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#29165C #495C16
analogous
#16265C #29165C #4C165C
triadic
#29165C #5C2916 #165C29
tetradic
#29165C #5C1626 #495C16 #165C4C
square
#29165C #5C1626 #495C16 #165C4C
split-complementary
#29165C #5C4C16 #265C16
monochromatic
#0B0619 #130A2B #29165C #3F228D #552EBF

Accessibility & contrast

On white

15.40
#29165C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #29165C
15.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##29165C#FFFFFF#000000##FFFFFF
##29165C1.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)
#00265E
Deuteranopia (green-blind)
#00235B
Tritanopia (blue-blind)
#162837
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #29165c;
/* rgb */ color: rgb(41, 22, 92);
/* oklch */ color: oklch(27.6% 0.117 288.7);
Tailwind
colors: {
  custom: {
    50: '#69558b',
    500: '#29165c',
    950: '#000000',
  },
}
SCSS
$custom: #29165c;
$custom-light: #69558b;
$custom-dark: #000000;
JSON
{
  "hex": "#29165c",
  "rgb": {
    "r": 41,
    "g": 22,
    "b": 92
  },
  "hsl": {
    "h": 256.286,
    "s": 61.404,
    "l": 22.353
  },
  "oklch": {
    "l": 0.27562,
    "c": 0.11698,
    "h": 288.7
  },
  "luminance": 0.01818
}

Semantic roles & 50–950 ramp

primary
#29165C
secondary
#7B933B
accent
#E543B9
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#07030C
muted
#7A787D

Preview Lab

Preview with #29165C

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

Preview Lab → · Contrast checker → · Palette generator →

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