#290837#290837

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

Color values

HEX#290837
RGBrgb(41, 8, 55)
HSLhsl(282, 75%, 12%)
HSVhsv(282, 85%, 22%)
CMYKcmyk(25.5%, 85.5%, 0%, 78.4%)
CIE-LABlab(8.32, 25.72, -22.87)
CIE-LCHlch(8.32, 34.42, 318.35°)
OKLaboklab(22.1% 0.0616 -0.0646)
OKLCHoklch(22.1% 0.089 313.6)
XYZxyz(1.6908, 0.9210, 3.7024)
Luminance0.0092 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#290837 #163708
analogous
#120837 #290837 #37082D
triadic
#290837 #372908 #083729
tetradic
#290837 #371208 #163708 #082D37
square
#290837 #371208 #163708 #082D37
split-complementary
#290837 #2D3708 #083712
monochromatic
#14041B #14041B #290837 #51106C #7918A2

Accessibility & contrast

On white

17.73
#290837 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #290837
17.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##290837#FFFFFF#000000##FFFFFF
##2908371.0017.731.1817.73
#FFFFFF17.731.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001638
Deuteranopia (green-blind)
#051936
Tritanopia (blue-blind)
#28121F
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #290837;
/* rgb */ color: rgb(41, 8, 55);
/* oklch */ color: oklch(22.1% 0.089 313.6);
Tailwind
colors: {
  custom: {
    50: '#654b6e',
    500: '#290837',
    950: '#000000',
  },
}
SCSS
$custom: #290837;
$custom-light: #654b6e;
$custom-dark: #000000;
JSON
{
  "hex": "#290837",
  "rgb": {
    "r": 41,
    "g": 8,
    "b": 55
  },
  "hsl": {
    "h": 282.128,
    "s": 74.603,
    "l": 12.353
  },
  "oklch": {
    "l": 0.22104,
    "c": 0.08923,
    "h": 313.6
  },
  "luminance": 0.00921
}

Semantic roles & 50–950 ramp

primary
#290837
secondary
#3D7625
accent
#F1376E
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060107
muted
#7A777A

Preview Lab

Preview with #290837

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

Preview Lab → · Contrast checker → · Palette generator →

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