#29175B#29175B

#29175B is a dark, moderate violet. Relative luminance 0.018; OKLCH L 27.6% C 0.114 H 288.8°. Best body text is #FFFFFF at 15.35:1 contrast (WCAG AA passes).

Color values

HEX#29175B
RGBrgb(41, 23, 91)
HSLhsl(256, 60%, 22%)
HSVhsv(256, 75%, 36%)
CMYKcmyk(54.9%, 74.7%, 0%, 64.3%)
CIE-LABlab(14.62, 27.91, -37.70)
CIE-LCHlch(14.62, 46.91, 306.52°)
OKLaboklab(27.62% 0.0368 -0.1082)
OKLCHoklch(27.62% 0.114 288.8)
XYZxyz(3.1086, 1.8394, 10.0867)
Luminance0.0184 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#29175B #495B17
analogous
#17275B #29175B #4B175B
triadic
#29175B #5B2917 #175B29
tetradic
#29175B #5B1727 #495B17 #175B4B
square
#29175B #5B1727 #495B17 #175B4B
split-complementary
#29175B #5B4B17 #275B17
monochromatic
#0B0618 #130B2A #29175B #3F238C #5530BD

Accessibility & contrast

On white

15.35
#29175B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#29175B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #29175B
15.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##29175B#FFFFFF#000000##FFFFFF
##29175B1.0015.351.3715.35
#FFFFFF15.351.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.351.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #29175b;
/* rgb */ color: rgb(41, 23, 91);
/* oklch */ color: oklch(27.6% 0.114 288.8);
Tailwind
colors: {
  custom: {
    50: '#69558a',
    500: '#29175b',
    950: '#000000',
  },
}
SCSS
$custom: #29175b;
$custom-light: #69558a;
$custom-dark: #000000;
JSON
{
  "hex": "#29175b",
  "rgb": {
    "r": 41,
    "g": 23,
    "b": 91
  },
  "hsl": {
    "h": 255.882,
    "s": 59.649,
    "l": 22.353
  },
  "oklch": {
    "l": 0.27618,
    "c": 0.11431,
    "h": 288.8
  },
  "luminance": 0.0184
}

Semantic roles & 50–950 ramp

primary
#29175B
secondary
#7B923C
accent
#E345B9
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#07030C
muted
#7A787D

Preview Lab

Preview with #29175B

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

Preview Lab → · Contrast checker → · Palette generator →

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