#290638#290638

#290638 is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 21.9% C 0.094 H 313.3°. Best body text is #FFFFFF at 17.84:1 contrast (WCAG AA passes).

Color values

HEX#290638
RGBrgb(41, 6, 56)
HSLhsl(282, 81%, 12%)
HSVhsv(282, 89%, 22%)
CMYKcmyk(26.8%, 89.3%, 0%, 78%)
CIE-LABlab(8.01, 27.08, -24.09)
CIE-LCHlch(8.01, 36.24, 318.35°)
OKLaboklab(21.92% 0.0641 -0.0681)
OKLCHoklch(21.92% 0.094 313.3)
XYZxyz(1.6933, 0.8872, 3.8227)
Luminance0.0089 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#290638 #153806
analogous
#100638 #290638 #38062E
triadic
#290638 #382906 #063829
tetradic
#290638 #381006 #153806 #062E38
square
#290638 #381006 #153806 #062E38
split-complementary
#290638 #2E3806 #063810
monochromatic
#14031C #14031C #290638 #510C6F #7A12A7

Accessibility & contrast

On white

17.84
#290638 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#290638 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #290638
17.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##290638#FFFFFF#000000##FFFFFF
##2906381.0017.841.1817.84
#FFFFFF17.841.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001639
Deuteranopia (green-blind)
#021837
Tritanopia (blue-blind)
#27111F
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #290638;
/* rgb */ color: rgb(41, 6, 56);
/* oklch */ color: oklch(21.9% 0.094 313.3);
Tailwind
colors: {
  custom: {
    50: '#654a6f',
    500: '#290638',
    950: '#000000',
  },
}
SCSS
$custom: #290638;
$custom-light: #654a6f;
$custom-dark: #000000;
JSON
{
  "hex": "#290638",
  "rgb": {
    "r": 41,
    "g": 6,
    "b": 56
  },
  "hsl": {
    "h": 282,
    "s": 80.645,
    "l": 12.157
  },
  "oklch": {
    "l": 0.21919,
    "c": 0.09355,
    "h": 313.3
  },
  "luminance": 0.00887
}

Semantic roles & 50–950 ramp

primary
#290638
secondary
#3C7821
accent
#F7316C
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060107
muted
#7A777A

Preview Lab

Preview with #290638

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

Preview Lab → · Contrast checker → · Palette generator →

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