#29165E#29165E

#29165E is a dark, moderate violet. Relative luminance 0.019; OKLCH L 27.8% C 0.120 H 288.1°. Best body text is #FFFFFF at 15.32:1 contrast (WCAG AA passes).

Color values

HEX#29165E
RGBrgb(41, 22, 94)
HSLhsl(256, 62%, 23%)
HSVhsv(256, 77%, 37%)
CMYKcmyk(56.4%, 76.6%, 0%, 63.1%)
CIE-LABlab(14.70, 29.49, -39.58)
CIE-LCHlch(14.70, 49.36, 306.69°)
OKLaboklab(27.76% 0.0371 -0.1137)
OKLCHoklch(27.76% 0.12 288.1)
XYZxyz(3.2211, 1.8532, 10.7755)
Luminance0.0185 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#29165E #4B5E16
analogous
#16275E #29165E #4D165E
triadic
#29165E #5E2916 #165E29
tetradic
#29165E #5E1627 #4B5E16 #165E4D
square
#29165E #5E1627 #4B5E16 #165E4D
split-complementary
#29165E #5E4D16 #275E16
monochromatic
#0B0619 #130A2C #29165E #3F2290 #542DC1

Accessibility & contrast

On white

15.32
#29165E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #29165E
15.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##29165E#FFFFFF#000000##FFFFFF
##29165E1.0015.321.3715.32
#FFFFFF15.321.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.321.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #29165e;
/* rgb */ color: rgb(41, 22, 94);
/* oklch */ color: oklch(27.8% 0.120 288.1);
Tailwind
colors: {
  custom: {
    50: '#69558c',
    500: '#29165e',
    950: '#000000',
  },
}
SCSS
$custom: #29165e;
$custom-light: #69558c;
$custom-dark: #000000;
JSON
{
  "hex": "#29165e",
  "rgb": {
    "r": 41,
    "g": 22,
    "b": 94
  },
  "hsl": {
    "h": 255.833,
    "s": 62.069,
    "l": 22.745
  },
  "oklch": {
    "l": 0.27762,
    "c": 0.11965,
    "h": 288.1
  },
  "luminance": 0.01853
}

Semantic roles & 50–950 ramp

primary
#29165E
secondary
#7D953B
accent
#E543BA
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#07030C
muted
#7A787D

Preview Lab

Preview with #29165E

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

Preview Lab → · Contrast checker → · Palette generator →

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