#29175E#29175E

#29175E is a dark, moderate violet. Relative luminance 0.019; OKLCH L 27.9% C 0.118 H 287.8°. Best body text is #FFFFFF at 15.24:1 contrast (WCAG AA passes).

Color values

HEX#29175E
RGBrgb(41, 23, 94)
HSLhsl(255, 61%, 23%)
HSVhsv(255, 76%, 37%)
CMYKcmyk(56.4%, 75.5%, 0%, 63.1%)
CIE-LABlab(14.91, 28.89, -39.23)
CIE-LCHlch(14.91, 48.73, 306.37°)
OKLaboklab(27.91% 0.0361 -0.1127)
OKLCHoklch(27.91% 0.118 287.8)
XYZxyz(3.2406, 1.8922, 10.7820)
Luminance0.0189 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#29175E #4C5E17
analogous
#17285E #29175E #4C175E
triadic
#29175E #5E2917 #175E29
tetradic
#29175E #5E1728 #4C5E17 #175E4C
square
#29175E #5E1728 #4C5E17 #175E4C
split-complementary
#29175E #5E4C17 #285E17
monochromatic
#0B0619 #140B2D #29175E #3E238F #542FC0

Accessibility & contrast

On white

15.24
#29175E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#29175E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #29175E
15.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##29175E#FFFFFF#000000##FFFFFF
##29175E1.0015.241.3815.24
#FFFFFF15.241.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002760
Deuteranopia (green-blind)
#00245D
Tritanopia (blue-blind)
#142A38
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #29175e;
/* rgb */ color: rgb(41, 23, 94);
/* oklch */ color: oklch(27.9% 0.118 287.8);
Tailwind
colors: {
  custom: {
    50: '#69568c',
    500: '#29175e',
    950: '#000000',
  },
}
SCSS
$custom: #29175e;
$custom-light: #69568c;
$custom-dark: #000000;
JSON
{
  "hex": "#29175e",
  "rgb": {
    "r": 41,
    "g": 23,
    "b": 94
  },
  "hsl": {
    "h": 255.211,
    "s": 60.684,
    "l": 22.941
  },
  "oklch": {
    "l": 0.27914,
    "c": 0.11838,
    "h": 287.8
  },
  "luminance": 0.01892
}

Semantic roles & 50–950 ramp

primary
#29175E
secondary
#7E953C
accent
#E444BB
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#07030C
muted
#7A787D

Preview Lab

Preview with #29175E

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

Preview Lab → · Contrast checker → · Palette generator →

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