#291335#291335

#291335 is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 23.6% C 0.068 H 312.2°. Best body text is #FFFFFF at 16.95:1 contrast (WCAG AA passes).

Color values

HEX#291335
RGBrgb(41, 19, 53)
HSLhsl(279, 47%, 14%)
HSVhsv(279, 64%, 21%)
CMYKcmyk(22.6%, 64.2%, 0%, 79.2%)
CIE-LABlab(10.51, 18.74, -17.90)
CIE-LCHlch(10.51, 25.91, 316.31°)
OKLaboklab(23.65% 0.0454 -0.0501)
OKLCHoklch(23.65% 0.068 312.2)
XYZxyz(1.7898, 1.1942, 3.5037)
Luminance0.0119 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291335 #1F3513
analogous
#181335 #291335 #351330
triadic
#291335 #352913 #133529
tetradic
#291335 #351813 #1F3513 #133035
square
#291335 #351813 #1F3513 #133035
split-complementary
#291335 #303513 #133518
monochromatic
#110817 #110817 #291335 #4C2362 #6F338F

Accessibility & contrast

On white

16.95
#291335 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#291335 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291335
16.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291335#FFFFFF#000000##FFFFFF
##2913351.0016.951.2416.95
#FFFFFF16.951.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A1B36
Deuteranopia (green-blind)
#111D34
Tritanopia (blue-blind)
#281921
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #291335;
/* rgb */ color: rgb(41, 19, 53);
/* oklch */ color: oklch(23.6% 0.068 312.2);
Tailwind
colors: {
  custom: {
    50: '#64516c',
    500: '#291335',
    950: '#000000',
  },
}
SCSS
$custom: #291335;
$custom-light: #64516c;
$custom-dark: #000000;
JSON
{
  "hex": "#291335",
  "rgb": {
    "r": 41,
    "g": 19,
    "b": 53
  },
  "hsl": {
    "h": 278.824,
    "s": 47.222,
    "l": 14.118
  },
  "oklch": {
    "l": 0.23646,
    "c": 0.06762,
    "h": 312.2
  },
  "luminance": 0.01194
}

Semantic roles & 50–950 ramp

primary
#291335
secondary
#4A6D37
accent
#D75180
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#050207
muted
#7A787A

Preview Lab

Preview with #291335

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

Preview Lab → · Contrast checker → · Palette generator →

#291335 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva