#291046#291046

#291046 is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.5% C 0.096 H 300.7°. Best body text is #FFFFFF at 16.71:1 contrast (WCAG AA passes).

Color values

HEX#291046
RGBrgb(41, 16, 70)
HSLhsl(268, 63%, 17%)
HSVhsv(268, 77%, 27%)
CMYKcmyk(41.4%, 77.1%, 0%, 72.5%)
CIE-LABlab(11.16, 25.51, -28.95)
CIE-LCHlch(11.16, 38.59, 311.39°)
OKLaboklab(24.54% 0.0489 -0.0825)
OKLCHoklch(24.54% 0.096 300.7)
XYZxyz(2.2050, 1.2842, 5.9249)
Luminance0.0128 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291046 #2D4610
analogous
#101246 #291046 #441046
triadic
#291046 #462910 #104629
tetradic
#291046 #461012 #2D4610 #104644
square
#291046 #461012 #2D4610 #104644
split-complementary
#291046 #464410 #124610
monochromatic
#0F0619 #0F0619 #291046 #461B78 #6327AA

Accessibility & contrast

On white

16.71
#291046 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #291046
16.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291046#FFFFFF#000000##FFFFFF
##2910461.0016.711.2616.71
#FFFFFF16.711.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E48
Deuteranopia (green-blind)
#001D45
Tritanopia (blue-blind)
#231D29
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #291046;
/* rgb */ color: rgb(41, 16, 70);
/* oklch */ color: oklch(24.5% 0.096 300.7);
Tailwind
colors: {
  custom: {
    50: '#66507a',
    500: '#291046',
    950: '#000000',
  },
}
SCSS
$custom: #291046;
$custom-light: #66507a;
$custom-dark: #000000;
JSON
{
  "hex": "#291046",
  "rgb": {
    "r": 41,
    "g": 16,
    "b": 70
  },
  "hsl": {
    "h": 267.778,
    "s": 62.791,
    "l": 16.863
  },
  "oklch": {
    "l": 0.24543,
    "c": 0.0959,
    "h": 300.7
  },
  "luminance": 0.01284
}

Semantic roles & 50–950 ramp

primary
#291046
secondary
#5C8032
accent
#E6429A
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060209
muted
#7A787B

Preview Lab

Preview with #291046

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

Preview Lab → · Contrast checker → · Palette generator →

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