#290728#290728

#290728 is a very dark, moderate purple. Relative luminance 0.008; OKLCH L 20.8% C 0.075 H 329.1°. Best body text is #FFFFFF at 18.18:1 contrast (WCAG AA passes).

Color values

HEX#290728
RGBrgb(41, 7, 40)
HSLhsl(302, 71%, 9%)
HSVhsv(302, 83%, 16%)
CMYKcmyk(0%, 82.9%, 2.4%, 83.9%)
CIE-LABlab(7.02, 22.58, -13.82)
CIE-LCHlch(7.02, 26.47, 328.53°)
OKLaboklab(20.78% 0.064 -0.0383)
OKLCHoklch(20.78% 0.075 329.1)
XYZxyz(1.3734, 0.7767, 2.0846)
Luminance0.0078 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#290728 #072908
analogous
#190729 #290728 #290717
triadic
#290728 #282907 #072829
tetradic
#290728 #291907 #072908 #071729
square
#290728 #291907 #072908 #071729
split-complementary
#290728 #172907 #072919
monochromatic
#1A0419 #1A0419 #290728 #5D105B #92198E

Accessibility & contrast

On white

18.18
#290728 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#290728 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #290728
18.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##290728#FFFFFF#000000##FFFFFF
##2907281.0018.181.1618.18
#FFFFFF18.181.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#041329
Deuteranopia (green-blind)
#101727
Tritanopia (blue-blind)
#2B0B16
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #290728;
/* rgb */ color: rgb(41, 7, 40);
/* oklch */ color: oklch(20.8% 0.075 329.1);
Tailwind
colors: {
  custom: {
    50: '#644a62',
    500: '#290728',
    950: '#000000',
  },
}
SCSS
$custom: #290728;
$custom-light: #644a62;
$custom-dark: #000000;
JSON
{
  "hex": "#290728",
  "rgb": {
    "r": 41,
    "g": 7,
    "b": 40
  },
  "hsl": {
    "h": 301.765,
    "s": 70.833,
    "l": 9.412
  },
  "oklch": {
    "l": 0.20778,
    "c": 0.07463,
    "h": 329.1
  },
  "luminance": 0.00777
}

Semantic roles & 50–950 ramp

primary
#290728
secondary
#236925
accent
#EE3F3A
background
#F6F4F5
surface
#EBE7EA
border
#C6C3C6
text
#050105
muted
#7A7779

Preview Lab

Preview with #290728

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

Preview Lab → · Contrast checker → · Palette generator →

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