#290438#290438

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

Color values

HEX#290438
RGBrgb(41, 4, 56)
HSLhsl(283, 87%, 12%)
HSVhsv(283, 93%, 22%)
CMYKcmyk(26.8%, 92.9%, 0%, 78%)
CIE-LABlab(7.62, 28.21, -24.72)
CIE-LCHlch(7.62, 37.51, 318.77°)
OKLaboklab(21.64% 0.067 -0.07)
OKLCHoklch(21.64% 0.097 313.7)
XYZxyz(1.6716, 0.8438, 3.8154)
Luminance0.0084 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#290438 #133804
analogous
#0F0438 #290438 #38042D
triadic
#290438 #382904 #043829
tetradic
#290438 #380F04 #133804 #042D38
square
#290438 #380F04 #133804 #042D38
split-complementary
#290438 #2D3804 #04380F
monochromatic
#15021D #15021D #290438 #530871 #7D0CAA

Accessibility & contrast

On white

17.97
#290438 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#290438 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #290438
17.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##290438#FFFFFF#000000##FFFFFF
##2904381.0017.971.1717.97
#FFFFFF17.971.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001539
Deuteranopia (green-blind)
#011837
Tritanopia (blue-blind)
#27101E
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #290438;
/* rgb */ color: rgb(41, 4, 56);
/* oklch */ color: oklch(21.6% 0.097 313.7);
Tailwind
colors: {
  custom: {
    50: '#65496f',
    500: '#290438',
    950: '#000000',
  },
}
SCSS
$custom: #290438;
$custom-light: #65496f;
$custom-dark: #000000;
JSON
{
  "hex": "#290438",
  "rgb": {
    "r": 41,
    "g": 4,
    "b": 56
  },
  "hsl": {
    "h": 282.692,
    "s": 86.667,
    "l": 11.765
  },
  "oklch": {
    "l": 0.2164,
    "c": 0.09685,
    "h": 313.7
  },
  "luminance": 0.00844
}

Semantic roles & 50–950 ramp

primary
#290438
secondary
#387A1E
accent
#FD2B67
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060107
muted
#7A777A

Preview Lab

Preview with #290438

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

Preview Lab → · Contrast checker → · Palette generator →

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