#290228#290228

#290228 is a very dark, moderate purple. Relative luminance 0.007; OKLCH L 20.0% C 0.085 H 329.3°. Best body text is #FFFFFF at 18.53:1 contrast (WCAG AA passes).

Color values

HEX#290228
RGBrgb(41, 2, 40)
HSLhsl(302, 91%, 8%)
HSVhsv(302, 95%, 16%)
CMYKcmyk(0%, 95.1%, 2.4%, 83.9%)
CIE-LABlab(6.03, 25.18, -15.36)
CIE-LCHlch(6.03, 29.50, 328.62°)
OKLaboklab(19.97% 0.0732 -0.0435)
OKLCHoklch(19.97% 0.085 329.3)
XYZxyz(1.3192, 0.6681, 2.0666)
Luminance0.0067 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#290228 #022903
analogous
#160229 #290228 #290214
triadic
#290228 #282902 #022829
tetradic
#290228 #291602 #022903 #021429
square
#290228 #291602 #022903 #021429
split-complementary
#290228 #142902 #022916
monochromatic
#1D011C #1D011C #290228 #630561 #9E089A

Accessibility & contrast

On white

18.53
#290228 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #290228
18.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##290228#FFFFFF#000000##FFFFFF
##2902281.0018.531.1318.53
#FFFFFF18.531.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001029
Deuteranopia (green-blind)
#0C1527
Tritanopia (blue-blind)
#2B0614
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #290228;
/* rgb */ color: rgb(41, 2, 40);
/* oklch */ color: oklch(20.0% 0.085 329.3);
Tailwind
colors: {
  custom: {
    50: '#654762',
    500: '#290228',
    950: '#000000',
  },
}
SCSS
$custom: #290228;
$custom-light: #654762;
$custom-dark: #000000;
JSON
{
  "hex": "#290228",
  "rgb": {
    "r": 41,
    "g": 2,
    "b": 40
  },
  "hsl": {
    "h": 301.538,
    "s": 90.698,
    "l": 8.431
  },
  "oklch": {
    "l": 0.19974,
    "c": 0.08513,
    "h": 329.3
  },
  "luminance": 0.00668
}

Semantic roles & 50–950 ramp

primary
#290228
secondary
#196E1B
accent
#FF2E29
background
#F6F4F5
surface
#EBE6EA
border
#C6C2C6
text
#060005
muted
#7A7779

Preview Lab

Preview with #290228

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

Preview Lab → · Contrast checker → · Palette generator →

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