#290738#290738

#290738 is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 22.1% C 0.092 H 313.0°. Best body text is #FFFFFF at 17.77:1 contrast (WCAG AA passes).

Color values

HEX#290738
RGBrgb(41, 7, 56)
HSLhsl(282, 78%, 12%)
HSVhsv(282, 88%, 22%)
CMYKcmyk(26.8%, 87.5%, 0%, 78%)
CIE-LABlab(8.21, 26.51, -23.77)
CIE-LCHlch(8.21, 35.61, 318.13°)
OKLaboklab(22.06% 0.0628 -0.0672)
OKLCHoklch(22.06% 0.092 313)
XYZxyz(1.7041, 0.9090, 3.8263)
Luminance0.0091 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#290738 #163807
analogous
#110738 #290738 #38072E
triadic
#290738 #382907 #073829
tetradic
#290738 #381107 #163807 #072E38
square
#290738 #381107 #163807 #072E38
split-complementary
#290738 #2E3807 #073811
monochromatic
#14031B #14031B #290738 #510E6E #7915A5

Accessibility & contrast

On white

17.77
#290738 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #290738
17.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##290738#FFFFFF#000000##FFFFFF
##2907381.0017.771.1817.77
#FFFFFF17.771.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.771.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #290738;
/* rgb */ color: rgb(41, 7, 56);
/* oklch */ color: oklch(22.1% 0.092 313.0);
Tailwind
colors: {
  custom: {
    50: '#654a6f',
    500: '#290738',
    950: '#000000',
  },
}
SCSS
$custom: #290738;
$custom-light: #654a6f;
$custom-dark: #000000;
JSON
{
  "hex": "#290738",
  "rgb": {
    "r": 41,
    "g": 7,
    "b": 56
  },
  "hsl": {
    "h": 281.633,
    "s": 77.778,
    "l": 12.353
  },
  "oklch": {
    "l": 0.22056,
    "c": 0.09194,
    "h": 313
  },
  "luminance": 0.00909
}

Semantic roles & 50–950 ramp

primary
#290738
secondary
#3D7823
accent
#F4346F
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060107
muted
#7A777A

Preview Lab

Preview with #290738

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

Preview Lab → · Contrast checker → · Palette generator →

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