#290731#290731

#290731 is a very dark, moderate purple. Relative luminance 0.008; OKLCH L 21.5% C 0.084 H 319.3°. Best body text is #FFFFFF at 17.96:1 contrast (WCAG AA passes).

Color values

HEX#290731
RGBrgb(41, 7, 49)
HSLhsl(289, 75%, 11%)
HSVhsv(289, 86%, 19%)
CMYKcmyk(16.3%, 85.7%, 0%, 80.8%)
CIE-LABlab(7.63, 24.78, -19.57)
CIE-LCHlch(7.63, 31.57, 321.70°)
OKLaboklab(21.46% 0.0638 -0.0549)
OKLCHoklch(21.46% 0.084 319.3)
XYZxyz(1.5447, 0.8452, 2.9869)
Luminance0.0084 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#290731 #0F3107
analogous
#140731 #290731 #310724
triadic
#290731 #312907 #073129
tetradic
#290731 #311407 #0F3107 #072431
square
#290731 #311407 #0F3107 #072431
split-complementary
#290731 #243107 #073114
monochromatic
#16041B #16041B #290731 #560F67 #83169C

Accessibility & contrast

On white

17.96
#290731 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#290731 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #290731
17.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##290731#FFFFFF#000000##FFFFFF
##2907311.0017.961.1717.96
#FFFFFF17.961.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001532
Deuteranopia (green-blind)
#0A1830
Tritanopia (blue-blind)
#290F1B
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #290731;
/* rgb */ color: rgb(41, 7, 49);
/* oklch */ color: oklch(21.5% 0.084 319.3);
Tailwind
colors: {
  custom: {
    50: '#654a69',
    500: '#290731',
    950: '#000000',
  },
}
SCSS
$custom: #290731;
$custom-light: #654a69;
$custom-dark: #000000;
JSON
{
  "hex": "#290731",
  "rgb": {
    "r": 41,
    "g": 7,
    "b": 49
  },
  "hsl": {
    "h": 288.571,
    "s": 75,
    "l": 10.98
  },
  "oklch": {
    "l": 0.2146,
    "c": 0.0842,
    "h": 319.3
  },
  "luminance": 0.00845
}

Semantic roles & 50–950 ramp

primary
#290731
secondary
#327123
accent
#F2365A
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #290731

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

Preview Lab → · Contrast checker → · Palette generator →

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