#29165A#29165A

#29165A is a dark, moderate violet. Relative luminance 0.018; OKLCH L 27.4% C 0.114 H 289.4°. Best body text is #FFFFFF at 15.48:1 contrast (WCAG AA passes).

Color values

HEX#29165A
RGBrgb(41, 22, 90)
HSLhsl(257, 61%, 22%)
HSVhsv(257, 76%, 35%)
CMYKcmyk(54.4%, 75.6%, 0%, 64.7%)
CIE-LABlab(14.31, 28.19, -37.54)
CIE-LCHlch(14.31, 46.95, 306.90°)
OKLaboklab(27.36% 0.038 -0.1078)
OKLCHoklch(27.36% 0.114 289.4)
XYZxyz(3.0463, 1.7833, 9.8546)
Luminance0.0178 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#29165A #475A16
analogous
#16255A #29165A #4B165A
triadic
#29165A #5A2916 #165A29
tetradic
#29165A #5A1625 #475A16 #165A4B
square
#29165A #5A1625 #475A16 #165A4B
split-complementary
#29165A #5A4B16 #255A16
monochromatic
#0B0619 #130A29 #29165A #3F228B #562EBC

Accessibility & contrast

On white

15.48
#29165A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #29165A
15.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##29165A#FFFFFF#000000##FFFFFF
##29165A1.0015.481.3615.48
#FFFFFF15.481.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00265C
Deuteranopia (green-blind)
#002359
Tritanopia (blue-blind)
#182836
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #29165a;
/* rgb */ color: rgb(41, 22, 90);
/* oklch */ color: oklch(27.4% 0.114 289.4);
Tailwind
colors: {
  custom: {
    50: '#695589',
    500: '#29165a',
    950: '#000000',
  },
}
SCSS
$custom: #29165a;
$custom-light: #695589;
$custom-dark: #000000;
JSON
{
  "hex": "#29165a",
  "rgb": {
    "r": 41,
    "g": 22,
    "b": 90
  },
  "hsl": {
    "h": 256.765,
    "s": 60.714,
    "l": 21.961
  },
  "oklch": {
    "l": 0.27364,
    "c": 0.11428,
    "h": 289.4
  },
  "luminance": 0.01783
}

Semantic roles & 50–950 ramp

primary
#29165A
secondary
#79913B
accent
#E444B7
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#07030C
muted
#7A787D

Preview Lab

Preview with #29165A

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

Preview Lab → · Contrast checker → · Palette generator →

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