#290838#290838

#290838 is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 22.2% C 0.090 H 312.8°. Best body text is #FFFFFF at 17.70:1 contrast (WCAG AA passes).

Color values

HEX#290838
RGBrgb(41, 8, 56)
HSLhsl(281, 75%, 13%)
HSVhsv(281, 86%, 22%)
CMYKcmyk(26.8%, 85.7%, 0%, 78%)
CIE-LABlab(8.40, 25.97, -23.46)
CIE-LCHlch(8.40, 35.00, 317.91°)
OKLaboklab(22.19% 0.0614 -0.0663)
OKLCHoklch(22.19% 0.09 312.8)
XYZxyz(1.7150, 0.9307, 3.8299)
Luminance0.0093 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#290838 #173808
analogous
#110838 #290838 #38082F
triadic
#290838 #382908 #083829
tetradic
#290838 #381108 #173808 #082F38
square
#290838 #381108 #173808 #082F38
split-complementary
#290838 #2F3808 #083811
monochromatic
#14041B #14041B #290838 #50106E #7717A3

Accessibility & contrast

On white

17.70
#290838 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#290838 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #290838
17.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##290838#FFFFFF#000000##FFFFFF
##2908381.0017.701.1917.70
#FFFFFF17.701.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001739
Deuteranopia (green-blind)
#041937
Tritanopia (blue-blind)
#27131F
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #290838;
/* rgb */ color: rgb(41, 8, 56);
/* oklch */ color: oklch(22.2% 0.090 312.8);
Tailwind
colors: {
  custom: {
    50: '#654b6f',
    500: '#290838',
    950: '#000000',
  },
}
SCSS
$custom: #290838;
$custom-light: #654b6f;
$custom-dark: #000000;
JSON
{
  "hex": "#290838",
  "rgb": {
    "r": 41,
    "g": 8,
    "b": 56
  },
  "hsl": {
    "h": 281.25,
    "s": 75,
    "l": 12.549
  },
  "oklch": {
    "l": 0.22191,
    "c": 0.09037,
    "h": 312.8
  },
  "luminance": 0.00931
}

Semantic roles & 50–950 ramp

primary
#290838
secondary
#3F7725
accent
#F23671
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060107
muted
#7A777A

Preview Lab

Preview with #290838

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

Preview Lab → · Contrast checker → · Palette generator →

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