#29183F#29183F

#29183F is a dark, moderate violet. Relative luminance 0.015; OKLCH L 25.3% C 0.072 H 301.6°. Best body text is #FFFFFF at 16.19:1 contrast (WCAG AA passes).

Color values

HEX#29183F
RGBrgb(41, 24, 63)
HSLhsl(266, 45%, 17%)
HSVhsv(266, 62%, 25%)
CMYKcmyk(34.9%, 61.9%, 0%, 75.3%)
CIE-LABlab(12.50, 18.29, -21.88)
CIE-LCHlch(12.50, 28.51, 309.89°)
OKLaboklab(25.34% 0.0379 -0.0617)
OKLCHoklch(25.34% 0.072 301.6)
XYZxyz(2.1381, 1.4836, 4.8754)
Luminance0.0148 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#29183F #2E3F18
analogous
#181B3F #29183F #3D183F
triadic
#29183F #3F2918 #183F29
tetradic
#29183F #3F181B #2E3F18 #183F3D
square
#29183F #3F181B #2E3F18 #183F3D
split-complementary
#29183F #3F3D18 #1B3F18
monochromatic
#0E0816 #0E0816 #29183F #46296B #633A98

Accessibility & contrast

On white

16.19
#29183F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#29183F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #29183F
16.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##29183F#FFFFFF#000000##FFFFFF
##29183F1.0016.191.3016.19
#FFFFFF16.191.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#092040
Deuteranopia (green-blind)
#0F203E
Tritanopia (blue-blind)
#252028
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #29183f;
/* rgb */ color: rgb(41, 24, 63);
/* oklch */ color: oklch(25.3% 0.072 301.6);
Tailwind
colors: {
  custom: {
    50: '#645574',
    500: '#29183f',
    950: '#000000',
  },
}
SCSS
$custom: #29183f;
$custom-light: #645574;
$custom-dark: #000000;
JSON
{
  "hex": "#29183f",
  "rgb": {
    "r": 41,
    "g": 24,
    "b": 63
  },
  "hsl": {
    "h": 266.154,
    "s": 44.828,
    "l": 17.059
  },
  "oklch": {
    "l": 0.25337,
    "c": 0.07246,
    "h": 301.6
  },
  "luminance": 0.01484
}

Semantic roles & 50–950 ramp

primary
#29183F
secondary
#5D753D
accent
#D5539C
background
#F6F5F7
surface
#EBE8ED
border
#C6C4C8
text
#050308
muted
#7A787B

Preview Lab

Preview with #29183F

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

Preview Lab → · Contrast checker → · Palette generator →

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