#290538#290538

#290538 is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 21.8% C 0.095 H 313.5°. Best body text is #FFFFFF at 17.90:1 contrast (WCAG AA passes).

Color values

HEX#290538
RGBrgb(41, 5, 56)
HSLhsl(282, 84%, 12%)
HSVhsv(282, 91%, 22%)
CMYKcmyk(26.8%, 91.1%, 0%, 78%)
CIE-LABlab(7.82, 27.64, -24.40)
CIE-LCHlch(7.82, 36.87, 318.56°)
OKLaboklab(21.78% 0.0655 -0.069)
OKLCHoklch(21.78% 0.095 313.5)
XYZxyz(1.6824, 0.8655, 3.8191)
Luminance0.0086 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#290538 #143805
analogous
#100538 #290538 #38052E
triadic
#290538 #382905 #053829
tetradic
#290538 #381005 #143805 #052E38
square
#290538 #381005 #143805 #052E38
split-complementary
#290538 #2E3805 #053810
monochromatic
#15031C #15031C #290538 #520A70 #7B0FA8

Accessibility & contrast

On white

17.90
#290538 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #290538
17.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##290538#FFFFFF#000000##FFFFFF
##2905381.0017.901.1717.90
#FFFFFF17.901.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #290538;
/* rgb */ color: rgb(41, 5, 56);
/* oklch */ color: oklch(21.8% 0.095 313.5);
Tailwind
colors: {
  custom: {
    50: '#65496f',
    500: '#290538',
    950: '#000000',
  },
}
SCSS
$custom: #290538;
$custom-light: #65496f;
$custom-dark: #000000;
JSON
{
  "hex": "#290538",
  "rgb": {
    "r": 41,
    "g": 5,
    "b": 56
  },
  "hsl": {
    "h": 282.353,
    "s": 83.607,
    "l": 11.961
  },
  "oklch": {
    "l": 0.2178,
    "c": 0.09519,
    "h": 313.5
  },
  "luminance": 0.00865
}

Semantic roles & 50–950 ramp

primary
#290538
secondary
#3A7920
accent
#FA2E6A
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060107
muted
#7A777A

Preview Lab

Preview with #290538

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

Preview Lab → · Contrast checker → · Palette generator →

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