#29165B#29165B

#29165B is a dark, moderate violet. Relative luminance 0.018; OKLCH L 27.5% C 0.116 H 289.1°. Best body text is #FFFFFF at 15.44:1 contrast (WCAG AA passes).

Color values

HEX#29165B
RGBrgb(41, 22, 91)
HSLhsl(257, 61%, 22%)
HSVhsv(257, 76%, 36%)
CMYKcmyk(54.9%, 75.8%, 0%, 64.3%)
CIE-LABlab(14.40, 28.52, -38.06)
CIE-LCHlch(14.40, 47.56, 306.85°)
OKLaboklab(27.46% 0.0378 -0.1093)
OKLCHoklch(27.46% 0.116 289.1)
XYZxyz(3.0891, 1.8004, 10.0802)
Luminance0.0180 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#29165B #485B16
analogous
#16255B #29165B #4C165B
triadic
#29165B #5B2916 #165B29
tetradic
#29165B #5B1625 #485B16 #165B4C
square
#29165B #5B1625 #485B16 #165B4C
split-complementary
#29165B #5B4C16 #255B16
monochromatic
#0B0619 #130A2A #29165B #3F228C #552EBE

Accessibility & contrast

On white

15.44
#29165B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #29165B
15.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##29165B#FFFFFF#000000##FFFFFF
##29165B1.0015.441.3615.44
#FFFFFF15.441.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00265D
Deuteranopia (green-blind)
#00235A
Tritanopia (blue-blind)
#172836
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #29165b;
/* rgb */ color: rgb(41, 22, 91);
/* oklch */ color: oklch(27.5% 0.116 289.1);
Tailwind
colors: {
  custom: {
    50: '#69558a',
    500: '#29165b',
    950: '#000000',
  },
}
SCSS
$custom: #29165b;
$custom-light: #69558a;
$custom-dark: #000000;
JSON
{
  "hex": "#29165b",
  "rgb": {
    "r": 41,
    "g": 22,
    "b": 91
  },
  "hsl": {
    "h": 256.522,
    "s": 61.062,
    "l": 22.157
  },
  "oklch": {
    "l": 0.27463,
    "c": 0.11563,
    "h": 289.1
  },
  "luminance": 0.01801
}

Semantic roles & 50–950 ramp

primary
#29165B
secondary
#7A923B
accent
#E444B8
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#07030C
muted
#7A787D

Preview Lab

Preview with #29165B

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

Preview Lab → · Contrast checker → · Palette generator →

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