#290841#290841

#290841 is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 23.0% C 0.101 H 306.1°. Best body text is #FFFFFF at 17.42:1 contrast (WCAG AA passes).

Color values

HEX#290841
RGBrgb(41, 8, 65)
HSLhsl(275, 78%, 14%)
HSVhsv(275, 88%, 25%)
CMYKcmyk(36.9%, 87.7%, 0%, 74.5%)
CIE-LABlab(9.21, 28.32, -28.60)
CIE-LCHlch(9.21, 40.25, 314.72°)
OKLaboklab(23.02% 0.0593 -0.0814)
OKLCHoklch(23.02% 0.101 306.1)
XYZxyz(1.9552, 1.0268, 5.0952)
Luminance0.0103 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#290841 #204108
analogous
#0D0841 #290841 #41083D
triadic
#290841 #412908 #084129
tetradic
#290841 #410D08 #204108 #083D41
square
#290841 #410D08 #204108 #083D41
split-complementary
#290841 #3D4108 #08410D
monochromatic
#11031B #11031B #290841 #4B0F77 #6E15AE

Accessibility & contrast

On white

17.42
#290841 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#290841 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #290841
17.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##290841#FFFFFF#000000##FFFFFF
##2908411.0017.421.2117.42
#FFFFFF17.421.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001943
Deuteranopia (green-blind)
#001A40
Tritanopia (blue-blind)
#251724
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #290841;
/* rgb */ color: rgb(41, 8, 65);
/* oklch */ color: oklch(23.0% 0.101 306.1);
Tailwind
colors: {
  custom: {
    50: '#664c76',
    500: '#290841',
    950: '#000000',
  },
}
SCSS
$custom: #290841;
$custom-light: #664c76;
$custom-dark: #000000;
JSON
{
  "hex": "#290841",
  "rgb": {
    "r": 41,
    "g": 8,
    "b": 65
  },
  "hsl": {
    "h": 274.737,
    "s": 78.082,
    "l": 14.314
  },
  "oklch": {
    "l": 0.23018,
    "c": 0.1007,
    "h": 306.1
  },
  "luminance": 0.01027
}

Semantic roles & 50–950 ramp

primary
#290841
secondary
#4B7F25
accent
#F53385
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060108
muted
#7A777B

Preview Lab

Preview with #290841

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

Preview Lab → · Contrast checker → · Palette generator →

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