#290938#290938

#290938 is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.3% C 0.089 H 312.6°. Best body text is #FFFFFF at 17.64:1 contrast (WCAG AA passes).

Color values

HEX#290938
RGBrgb(41, 9, 56)
HSLhsl(281, 72%, 13%)
HSVhsv(281, 84%, 22%)
CMYKcmyk(26.8%, 83.9%, 0%, 78%)
CIE-LABlab(8.59, 25.43, -23.16)
CIE-LCHlch(8.59, 34.40, 317.68°)
OKLaboklab(22.32% 0.0601 -0.0654)
OKLCHoklch(22.32% 0.089 312.6)
XYZxyz(1.7258, 0.9524, 3.8335)
Luminance0.0095 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#290938 #183809
analogous
#110938 #290938 #38092F
triadic
#290938 #382909 #093829
tetradic
#290938 #381109 #183809 #092F38
square
#290938 #381109 #183809 #092F38
split-complementary
#290938 #2F3809 #093811
monochromatic
#13041A #13041A #290938 #50116D #761AA1

Accessibility & contrast

On white

17.64
#290938 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #290938
17.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##290938#FFFFFF#000000##FFFFFF
##2909381.0017.641.1917.64
#FFFFFF17.641.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.641.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #290938;
/* rgb */ color: rgb(41, 9, 56);
/* oklch */ color: oklch(22.3% 0.089 312.6);
Tailwind
colors: {
  custom: {
    50: '#654c6f',
    500: '#290938',
    950: '#000000',
  },
}
SCSS
$custom: #290938;
$custom-light: #654c6f;
$custom-dark: #000000;
JSON
{
  "hex": "#290938",
  "rgb": {
    "r": 41,
    "g": 9,
    "b": 56
  },
  "hsl": {
    "h": 280.851,
    "s": 72.308,
    "l": 12.745
  },
  "oklch": {
    "l": 0.22324,
    "c": 0.08883,
    "h": 312.6
  },
  "luminance": 0.00952
}

Semantic roles & 50–950 ramp

primary
#290938
secondary
#407627
accent
#EF3973
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060107
muted
#7A777A

Preview Lab

Preview with #290938

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

Preview Lab → · Contrast checker → · Palette generator →

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