#291049#291049

#291049 is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.8% C 0.100 H 298.9°. Best body text is #FFFFFF at 16.61:1 contrast (WCAG AA passes).

Color values

HEX#291049
RGBrgb(41, 16, 73)
HSLhsl(266, 64%, 17%)
HSVhsv(266, 78%, 29%)
CMYKcmyk(43.8%, 78.1%, 0%, 71.4%)
CIE-LABlab(11.44, 26.41, -30.61)
CIE-LCHlch(11.44, 40.42, 310.79°)
OKLaboklab(24.82% 0.0483 -0.0874)
OKLCHoklch(24.82% 0.1 298.9)
XYZxyz(2.3020, 1.3230, 6.4361)
Luminance0.0132 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291049 #304910
analogous
#101349 #291049 #461049
triadic
#291049 #492910 #104929
tetradic
#291049 #491013 #304910 #104946
square
#291049 #491013 #304910 #104946
split-complementary
#291049 #494610 #134910
monochromatic
#0E0619 #0E0619 #291049 #451B7B #6126AD

Accessibility & contrast

On white

16.61
#291049 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #291049
16.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291049#FFFFFF#000000##FFFFFF
##2910491.0016.611.2616.61
#FFFFFF16.611.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E4B
Deuteranopia (green-blind)
#001E48
Tritanopia (blue-blind)
#211E2B
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #291049;
/* rgb */ color: rgb(41, 16, 73);
/* oklch */ color: oklch(24.8% 0.100 298.9);
Tailwind
colors: {
  custom: {
    50: '#66507c',
    500: '#291049',
    950: '#000000',
  },
}
SCSS
$custom: #291049;
$custom-light: #66507c;
$custom-dark: #000000;
JSON
{
  "hex": "#291049",
  "rgb": {
    "r": 41,
    "g": 16,
    "b": 73
  },
  "hsl": {
    "h": 266.316,
    "s": 64.045,
    "l": 17.451
  },
  "oklch": {
    "l": 0.24821,
    "c": 0.09983,
    "h": 298.9
  },
  "luminance": 0.01323
}

Semantic roles & 50–950 ramp

primary
#291049
secondary
#5F8332
accent
#E7419E
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#060209
muted
#7A787B

Preview Lab

Preview with #291049

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

Preview Lab → · Contrast checker → · Palette generator →

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