#291647#291647

#291647 is a dark, moderate violet. Relative luminance 0.015; OKLCH L 25.6% C 0.088 H 297.7°. Best body text is #FFFFFF at 16.15:1 contrast (WCAG AA passes).

Color values

HEX#291647
RGBrgb(41, 22, 71)
HSLhsl(263, 53%, 18%)
HSVhsv(263, 69%, 28%)
CMYKcmyk(42.3%, 69%, 0%, 72.2%)
CIE-LABlab(12.61, 22.11, -27.31)
CIE-LCHlch(12.61, 35.14, 308.99°)
OKLaboklab(25.61% 0.0408 -0.0777)
OKLCHoklch(25.61% 0.088 297.7)
XYZxyz(2.3384, 1.5001, 6.1264)
Luminance0.0150 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291647 #344716
analogous
#161B47 #291647 #411647
triadic
#291647 #472916 #164729
tetradic
#291647 #47161B #344716 #164741
square
#291647 #47161B #344716 #164741
split-complementary
#291647 #474116 #1B4716
monochromatic
#0D0717 #0E0818 #291647 #442476 #5F33A4

Accessibility & contrast

On white

16.15
#291647 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#291647 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291647
16.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291647#FFFFFF#000000##FFFFFF
##2916471.0016.151.3016.15
#FFFFFF16.151.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002149
Deuteranopia (green-blind)
#022046
Tritanopia (blue-blind)
#22212C
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #291647;
/* rgb */ color: rgb(41, 22, 71);
/* oklch */ color: oklch(25.6% 0.088 297.7);
Tailwind
colors: {
  custom: {
    50: '#65547b',
    500: '#291647',
    950: '#000000',
  },
}
SCSS
$custom: #291647;
$custom-light: #65547b;
$custom-dark: #000000;
JSON
{
  "hex": "#291647",
  "rgb": {
    "r": 41,
    "g": 22,
    "b": 71
  },
  "hsl": {
    "h": 263.265,
    "s": 52.688,
    "l": 18.235
  },
  "oklch": {
    "l": 0.25611,
    "c": 0.08778,
    "h": 297.7
  },
  "luminance": 0.015
}

Semantic roles & 50–950 ramp

primary
#291647
secondary
#647E3A
accent
#DC4CA4
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#060309
muted
#7A787B

Preview Lab

Preview with #291647

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

Preview Lab → · Contrast checker → · Palette generator →

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