#290734#290734

#290734 is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 21.7% C 0.087 H 316.5°. Best body text is #FFFFFF at 17.88:1 contrast (WCAG AA passes).

Color values

HEX#290734
RGBrgb(41, 7, 52)
HSLhsl(285, 76%, 12%)
HSVhsv(285, 87%, 20%)
CMYKcmyk(21.2%, 86.5%, 0%, 79.6%)
CIE-LABlab(7.87, 25.52, -21.40)
CIE-LCHlch(7.87, 33.30, 320.02°)
OKLaboklab(21.71% 0.0635 -0.0602)
OKLCHoklch(21.71% 0.088 316.5)
XYZxyz(1.6102, 0.8714, 3.3315)
Luminance0.0087 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#290734 #123407
analogous
#130734 #290734 #340729
triadic
#290734 #342907 #073429
tetradic
#290734 #341307 #123407 #072934
square
#290734 #341307 #123407 #072934
split-complementary
#290734 #293407 #073413
monochromatic
#15041B #15041B #290734 #540E6A #7E16A0

Accessibility & contrast

On white

17.88
#290734 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#290734 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #290734
17.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##290734#FFFFFF#000000##FFFFFF
##2907341.0017.881.1717.88
#FFFFFF17.881.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001535
Deuteranopia (green-blind)
#071833
Tritanopia (blue-blind)
#28101D
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #290734;
/* rgb */ color: rgb(41, 7, 52);
/* oklch */ color: oklch(21.7% 0.087 316.5);
Tailwind
colors: {
  custom: {
    50: '#654a6c',
    500: '#290734',
    950: '#000000',
  },
}
SCSS
$custom: #290734;
$custom-light: #654a6c;
$custom-dark: #000000;
JSON
{
  "hex": "#290734",
  "rgb": {
    "r": 41,
    "g": 7,
    "b": 52
  },
  "hsl": {
    "h": 285.333,
    "s": 76.271,
    "l": 11.569
  },
  "oklch": {
    "l": 0.21709,
    "c": 0.0875,
    "h": 316.5
  },
  "luminance": 0.00871
}

Semantic roles & 50–950 ramp

primary
#290734
secondary
#377423
accent
#F33563
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060107
muted
#7A777A

Preview Lab

Preview with #290734

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

Preview Lab → · Contrast checker → · Palette generator →

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