#29175A#29175A

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

Color values

HEX#29175A
RGBrgb(41, 23, 90)
HSLhsl(256, 59%, 22%)
HSVhsv(256, 74%, 35%)
CMYKcmyk(54.4%, 74.4%, 0%, 64.7%)
CIE-LABlab(14.53, 27.59, -37.19)
CIE-LCHlch(14.53, 46.30, 306.57°)
OKLaboklab(27.52% 0.037 -0.1067)
OKLCHoklch(27.52% 0.113 289.1)
XYZxyz(3.0658, 1.8223, 9.8611)
Luminance0.0182 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#29175A #485A17
analogous
#17275A #29175A #4B175A
triadic
#29175A #5A2917 #175A29
tetradic
#29175A #5A1727 #485A17 #175A4B
square
#29175A #5A1727 #485A17 #175A4B
split-complementary
#29175A #5A4B17 #275A17
monochromatic
#0B0618 #130B29 #29175A #3F238B #5530BB

Accessibility & contrast

On white

15.39
#29175A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #29175A
15.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##29175A#FFFFFF#000000##FFFFFF
##29175A1.0015.391.3615.39
#FFFFFF15.391.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.391.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #29175a;
/* rgb */ color: rgb(41, 23, 90);
/* oklch */ color: oklch(27.5% 0.113 289.1);
Tailwind
colors: {
  custom: {
    50: '#685589',
    500: '#29175a',
    950: '#000000',
  },
}
SCSS
$custom: #29175a;
$custom-light: #685589;
$custom-dark: #000000;
JSON
{
  "hex": "#29175a",
  "rgb": {
    "r": 41,
    "g": 23,
    "b": 90
  },
  "hsl": {
    "h": 256.119,
    "s": 59.292,
    "l": 22.157
  },
  "oklch": {
    "l": 0.2752,
    "c": 0.11294,
    "h": 289.1
  },
  "luminance": 0.01822
}

Semantic roles & 50–950 ramp

primary
#29175A
secondary
#7A913C
accent
#E245B8
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#07030C
muted
#7A787D

Preview Lab

Preview with #29175A

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

Preview Lab → · Contrast checker → · Palette generator →

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