#291037#291037

#291037 is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.3% C 0.076 H 311.5°. Best body text is #FFFFFF at 17.16:1 contrast (WCAG AA passes).

Color values

HEX#291037
RGBrgb(41, 16, 55)
HSLhsl(278, 55%, 14%)
HSVhsv(278, 71%, 22%)
CMYKcmyk(25.5%, 70.9%, 0%, 78.4%)
CIE-LABlab(9.94, 21.21, -20.27)
CIE-LCHlch(9.94, 29.33, 316.30°)
OKLaboklab(23.27% 0.0504 -0.057)
OKLCHoklch(23.27% 0.076 311.5)
XYZxyz(1.7892, 1.1179, 3.7352)
Luminance0.0112 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291037 #1E3710
analogous
#161037 #291037 #371032
triadic
#291037 #372910 #103729
tetradic
#291037 #371610 #1E3710 #103237
square
#291037 #371610 #1E3710 #103237
split-complementary
#291037 #323710 #103716
monochromatic
#120718 #120718 #291037 #4C1E66 #702C96

Accessibility & contrast

On white

17.16
#291037 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#291037 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291037
17.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291037#FFFFFF#000000##FFFFFF
##2910371.0017.161.2217.16
#FFFFFF17.161.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#031A38
Deuteranopia (green-blind)
#0D1C36
Tritanopia (blue-blind)
#271721
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #291037;
/* rgb */ color: rgb(41, 16, 55);
/* oklch */ color: oklch(23.3% 0.076 311.5);
Tailwind
colors: {
  custom: {
    50: '#64506e',
    500: '#291037',
    950: '#000000',
  },
}
SCSS
$custom: #291037;
$custom-light: #64506e;
$custom-dark: #000000;
JSON
{
  "hex": "#291037",
  "rgb": {
    "r": 41,
    "g": 16,
    "b": 55
  },
  "hsl": {
    "h": 278.462,
    "s": 54.93,
    "l": 13.922
  },
  "oklch": {
    "l": 0.23269,
    "c": 0.07605,
    "h": 311.5
  },
  "luminance": 0.01118
}

Semantic roles & 50–950 ramp

primary
#291037
secondary
#497132
accent
#DE4A7F
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#050207
muted
#7A787A

Preview Lab

Preview with #291037

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

Preview Lab → · Contrast checker → · Palette generator →

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