#291048#291048

#291048 is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.7% C 0.099 H 299.5°. Best body text is #FFFFFF at 16.64:1 contrast (WCAG AA passes).

Color values

HEX#291048
RGBrgb(41, 16, 72)
HSLhsl(267, 64%, 17%)
HSVhsv(267, 78%, 28%)
CMYKcmyk(43.1%, 77.8%, 0%, 71.8%)
CIE-LABlab(11.34, 26.11, -30.06)
CIE-LCHlch(11.34, 39.81, 310.98°)
OKLaboklab(24.73% 0.0485 -0.0858)
OKLCHoklch(24.73% 0.099 299.5)
XYZxyz(2.2691, 1.3099, 6.2629)
Luminance0.0131 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291048 #2F4810
analogous
#101348 #291048 #451048
triadic
#291048 #482910 #104829
tetradic
#291048 #481013 #2F4810 #104845
square
#291048 #481013 #2F4810 #104845
split-complementary
#291048 #484510 #134810
monochromatic
#0E0619 #0E0619 #291048 #461B7A #6226AC

Accessibility & contrast

On white

16.64
#291048 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#291048 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291048
16.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291048#FFFFFF#000000##FFFFFF
##2910481.0016.641.2616.64
#FFFFFF16.641.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E4A
Deuteranopia (green-blind)
#001E47
Tritanopia (blue-blind)
#221E2A
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #291048;
/* rgb */ color: rgb(41, 16, 72);
/* oklch */ color: oklch(24.7% 0.099 299.5);
Tailwind
colors: {
  custom: {
    50: '#66507b',
    500: '#291048',
    950: '#000000',
  },
}
SCSS
$custom: #291048;
$custom-light: #66507b;
$custom-dark: #000000;
JSON
{
  "hex": "#291048",
  "rgb": {
    "r": 41,
    "g": 16,
    "b": 72
  },
  "hsl": {
    "h": 266.786,
    "s": 63.636,
    "l": 17.255
  },
  "oklch": {
    "l": 0.24728,
    "c": 0.09852,
    "h": 299.5
  },
  "luminance": 0.0131
}

Semantic roles & 50–950 ramp

primary
#291048
secondary
#5E8232
accent
#E7419D
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#060209
muted
#7A787B

Preview Lab

Preview with #291048

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

Preview Lab → · Contrast checker → · Palette generator →

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