#290834#290834

#290834 is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 21.8% C 0.086 H 316.3°. Best body text is #FFFFFF at 17.82:1 contrast (WCAG AA passes).

Color values

HEX#290834
RGBrgb(41, 8, 52)
HSLhsl(285, 73%, 12%)
HSVhsv(285, 85%, 20%)
CMYKcmyk(21.2%, 84.6%, 0%, 79.6%)
CIE-LABlab(8.07, 24.96, -21.08)
CIE-LCHlch(8.07, 32.67, 319.82°)
OKLaboklab(21.85% 0.062 -0.0593)
OKLCHoklch(21.85% 0.086 316.3)
XYZxyz(1.6210, 0.8931, 3.3351)
Luminance0.0089 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#290834 #133408
analogous
#130834 #290834 #340829
triadic
#290834 #342908 #083429
tetradic
#290834 #341308 #133408 #082934
square
#290834 #341308 #133408 #082934
split-complementary
#290834 #293408 #083413
monochromatic
#15041B #15041B #290834 #531069 #7D189E

Accessibility & contrast

On white

17.82
#290834 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #290834
17.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##290834#FFFFFF#000000##FFFFFF
##2908341.0017.821.1817.82
#FFFFFF17.821.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001635
Deuteranopia (green-blind)
#081933
Tritanopia (blue-blind)
#28111D
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #290834;
/* rgb */ color: rgb(41, 8, 52);
/* oklch */ color: oklch(21.8% 0.086 316.3);
Tailwind
colors: {
  custom: {
    50: '#654b6c',
    500: '#290834',
    950: '#000000',
  },
}
SCSS
$custom: #290834;
$custom-light: #654b6c;
$custom-dark: #000000;
JSON
{
  "hex": "#290834",
  "rgb": {
    "r": 41,
    "g": 8,
    "b": 52
  },
  "hsl": {
    "h": 285,
    "s": 73.333,
    "l": 11.765
  },
  "oklch": {
    "l": 0.21849,
    "c": 0.08582,
    "h": 316.3
  },
  "luminance": 0.00893
}

Semantic roles & 50–950 ramp

primary
#290834
secondary
#387325
accent
#F03866
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060107
muted
#7A777A

Preview Lab

Preview with #290834

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

Preview Lab → · Contrast checker → · Palette generator →

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