#290336#290336

#290336 is a very dark, moderate purple. Relative luminance 0.008; OKLCH L 21.3% C 0.097 H 315.6°. Best body text is #FFFFFF at 18.09:1 contrast (WCAG AA passes).

Color values

HEX#290336
RGBrgb(41, 3, 54)
HSLhsl(285, 89%, 11%)
HSVhsv(285, 94%, 21%)
CMYKcmyk(24.1%, 94.4%, 0%, 78.8%)
CIE-LABlab(7.25, 28.26, -23.86)
CIE-LCHlch(7.25, 36.98, 319.83°)
OKLaboklab(21.31% 0.069 -0.0675)
OKLCHoklch(21.31% 0.097 315.6)
XYZxyz(1.6128, 0.8029, 3.5593)
Luminance0.0080 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#290336 #103603
analogous
#0F0336 #290336 #360329
triadic
#290336 #362903 #033629
tetradic
#290336 #360F03 #103603 #032936
square
#290336 #360F03 #103603 #032936
split-complementary
#290336 #293603 #03360F
monochromatic
#16021D #16021D #290336 #550670 #8109AA

Accessibility & contrast

On white

18.09
#290336 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#290336 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #290336
18.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##290336#FFFFFF#000000##FFFFFF
##2903361.0018.091.1618.09
#FFFFFF18.091.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001437
Deuteranopia (green-blind)
#021735
Tritanopia (blue-blind)
#280E1C
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #290336;
/* rgb */ color: rgb(41, 3, 54);
/* oklch */ color: oklch(21.3% 0.097 315.6);
Tailwind
colors: {
  custom: {
    50: '#65486d',
    500: '#290336',
    950: '#000000',
  },
}
SCSS
$custom: #290336;
$custom-light: #65486d;
$custom-dark: #000000;
JSON
{
  "hex": "#290336",
  "rgb": {
    "r": 41,
    "g": 3,
    "b": 54
  },
  "hsl": {
    "h": 284.706,
    "s": 89.474,
    "l": 11.176
  },
  "oklch": {
    "l": 0.21312,
    "c": 0.09655,
    "h": 315.6
  },
  "luminance": 0.00803
}

Semantic roles & 50–950 ramp

primary
#290336
secondary
#34791C
accent
#FF295F
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060107
muted
#7A777A

Preview Lab

Preview with #290336

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

Preview Lab → · Contrast checker → · Palette generator →

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