#29165F#29165F

#29165F is a dark, vivid violet. Relative luminance 0.019; OKLCH L 27.9% C 0.121 H 287.7°. Best body text is #FFFFFF at 15.28:1 contrast (WCAG AA passes).

Color values

HEX#29165F
RGBrgb(41, 22, 95)
HSLhsl(256, 62%, 23%)
HSVhsv(256, 77%, 37%)
CMYKcmyk(56.8%, 76.8%, 0%, 62.7%)
CIE-LABlab(14.80, 29.81, -40.09)
CIE-LCHlch(14.80, 49.96, 306.64°)
OKLaboklab(27.86% 0.0369 -0.1152)
OKLCHoklch(27.86% 0.121 287.7)
XYZxyz(3.2663, 1.8713, 11.0133)
Luminance0.0187 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#29165F #4C5F16
analogous
#16285F #29165F #4D165F
triadic
#29165F #5F2916 #165F29
tetradic
#29165F #5F1628 #4C5F16 #165F4D
square
#29165F #5F1628 #4C5F16 #165F4D
split-complementary
#29165F #5F4D16 #285F16
monochromatic
#0B0619 #140A2D #29165F #3E2291 #542DC2

Accessibility & contrast

On white

15.28
#29165F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#29165F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #29165F
15.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##29165F#FFFFFF#000000##FFFFFF
##29165F1.0015.281.3715.28
#FFFFFF15.281.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002761
Deuteranopia (green-blind)
#00235E
Tritanopia (blue-blind)
#142939
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #29165f;
/* rgb */ color: rgb(41, 22, 95);
/* oklch */ color: oklch(27.9% 0.121 287.7);
Tailwind
colors: {
  custom: {
    50: '#6a558d',
    500: '#29165f',
    950: '#000000',
  },
}
SCSS
$custom: #29165f;
$custom-light: #6a558d;
$custom-dark: #000000;
JSON
{
  "hex": "#29165f",
  "rgb": {
    "r": 41,
    "g": 22,
    "b": 95
  },
  "hsl": {
    "h": 255.616,
    "s": 62.393,
    "l": 22.941
  },
  "oklch": {
    "l": 0.27864,
    "c": 0.12098,
    "h": 287.7
  },
  "luminance": 0.01871
}

Semantic roles & 50–950 ramp

primary
#29165F
secondary
#7E963B
accent
#E542BB
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#07030C
muted
#7A787D

Preview Lab

Preview with #29165F

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

Preview Lab → · Contrast checker → · Palette generator →

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