#290334#290334

#290334 is a very dark, moderate purple. Relative luminance 0.008; OKLCH L 21.1% C 0.095 H 317.3°. Best body text is #FFFFFF at 18.15:1 contrast (WCAG AA passes).

Color values

HEX#290334
RGBrgb(41, 3, 52)
HSLhsl(287, 89%, 11%)
HSVhsv(287, 94%, 20%)
CMYKcmyk(21.2%, 94.2%, 0%, 79.6%)
CIE-LABlab(7.09, 27.74, -22.66)
CIE-LCHlch(7.09, 35.82, 320.76°)
OKLaboklab(21.13% 0.0695 -0.0641)
OKLCHoklch(21.13% 0.095 317.3)
XYZxyz(1.5668, 0.7845, 3.3171)
Luminance0.0078 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#290334 #0E3403
analogous
#100334 #290334 #340326
triadic
#290334 #342903 #033429
tetradic
#290334 #341003 #0E3403 #032634
square
#290334 #341003 #0E3403 #032634
split-complementary
#290334 #263403 #033410
monochromatic
#17021D #17021D #290334 #57066E #840AA8

Accessibility & contrast

On white

18.15
#290334 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #290334
18.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##290334#FFFFFF#000000##FFFFFF
##2903341.0018.151.1618.15
#FFFFFF18.151.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001335
Deuteranopia (green-blind)
#041733
Tritanopia (blue-blind)
#280D1B
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #290334;
/* rgb */ color: rgb(41, 3, 52);
/* oklch */ color: oklch(21.1% 0.095 317.3);
Tailwind
colors: {
  custom: {
    50: '#65486c',
    500: '#290334',
    950: '#000000',
  },
}
SCSS
$custom: #290334;
$custom-light: #65486c;
$custom-dark: #000000;
JSON
{
  "hex": "#290334",
  "rgb": {
    "r": 41,
    "g": 3,
    "b": 52
  },
  "hsl": {
    "h": 286.531,
    "s": 89.091,
    "l": 10.784
  },
  "oklch": {
    "l": 0.21131,
    "c": 0.09455,
    "h": 317.3
  },
  "luminance": 0.00784
}

Semantic roles & 50–950 ramp

primary
#290334
secondary
#30771C
accent
#FF2959
background
#F6F4F6
surface
#EBE6EB
border
#C6C2C6
text
#060107
muted
#7A777A

Preview Lab

Preview with #290334

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

Preview Lab → · Contrast checker → · Palette generator →

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