#290227#290227

#290227 is a very dark, moderate purple. Relative luminance 0.007; OKLCH L 19.9% C 0.084 H 330.4°. Best body text is #FFFFFF at 18.55:1 contrast (WCAG AA passes).

Color values

HEX#290227
RGBrgb(41, 2, 39)
HSLhsl(303, 91%, 8%)
HSVhsv(303, 95%, 16%)
CMYKcmyk(0%, 95.1%, 4.9%, 83.9%)
CIE-LABlab(5.97, 24.93, -14.69)
CIE-LCHlch(5.97, 28.94, 329.49°)
OKLaboklab(19.9% 0.0733 -0.0416)
OKLCHoklch(19.9% 0.084 330.4)
XYZxyz(1.3024, 0.6614, 1.9781)
Luminance0.0066 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#290227 #022904
analogous
#170229 #290227 #290213
triadic
#290227 #272902 #022729
tetradic
#290227 #291702 #022904 #021329
square
#290227 #291702 #022904 #021329
split-complementary
#290227 #132902 #022917
monochromatic
#1D011C #1D011C #290227 #63055F #9E0896

Accessibility & contrast

On white

18.55
#290227 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#290227 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #290227
18.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##290227#FFFFFF#000000##FFFFFF
##2902271.0018.551.1318.55
#FFFFFF18.551.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001028
Deuteranopia (green-blind)
#0D1526
Tritanopia (blue-blind)
#2B0613
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #290227;
/* rgb */ color: rgb(41, 2, 39);
/* oklch */ color: oklch(19.9% 0.084 330.4);
Tailwind
colors: {
  custom: {
    50: '#644761',
    500: '#290227',
    950: '#000000',
  },
}
SCSS
$custom: #290227;
$custom-light: #644761;
$custom-dark: #000000;
JSON
{
  "hex": "#290227",
  "rgb": {
    "r": 41,
    "g": 2,
    "b": 39
  },
  "hsl": {
    "h": 303.077,
    "s": 90.698,
    "l": 8.431
  },
  "oklch": {
    "l": 0.19898,
    "c": 0.08423,
    "h": 330.4
  },
  "luminance": 0.00661
}

Semantic roles & 50–950 ramp

primary
#290227
secondary
#196E1D
accent
#FF3429
background
#F6F4F5
surface
#EBE6E9
border
#C6C2C5
text
#060005
muted
#7A7779

Preview Lab

Preview with #290227

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

Preview Lab → · Contrast checker → · Palette generator →

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