#291047#291047

#291047 is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.6% C 0.097 H 300.1°. Best body text is #FFFFFF at 16.67:1 contrast (WCAG AA passes).

Color values

HEX#291047
RGBrgb(41, 16, 71)
HSLhsl(267, 63%, 17%)
HSVhsv(267, 77%, 28%)
CMYKcmyk(42.3%, 77.5%, 0%, 72.2%)
CIE-LABlab(11.25, 25.81, -29.51)
CIE-LCHlch(11.25, 39.20, 311.18°)
OKLaboklab(24.64% 0.0487 -0.0841)
OKLCHoklch(24.64% 0.097 300.1)
XYZxyz(2.2368, 1.2969, 6.0925)
Luminance0.0130 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291047 #2E4710
analogous
#101347 #291047 #451047
triadic
#291047 #472910 #104729
tetradic
#291047 #471013 #2E4710 #104745
square
#291047 #471013 #2E4710 #104745
split-complementary
#291047 #474510 #134710
monochromatic
#0E0619 #0E0619 #291047 #461B79 #6327AB

Accessibility & contrast

On white

16.67
#291047 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #291047
16.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291047#FFFFFF#000000##FFFFFF
##2910471.0016.671.2616.67
#FFFFFF16.671.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E49
Deuteranopia (green-blind)
#001E46
Tritanopia (blue-blind)
#221D2A
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #291047;
/* rgb */ color: rgb(41, 16, 71);
/* oklch */ color: oklch(24.6% 0.097 300.1);
Tailwind
colors: {
  custom: {
    50: '#66507b',
    500: '#291047',
    950: '#000000',
  },
}
SCSS
$custom: #291047;
$custom-light: #66507b;
$custom-dark: #000000;
JSON
{
  "hex": "#291047",
  "rgb": {
    "r": 41,
    "g": 16,
    "b": 71
  },
  "hsl": {
    "h": 267.273,
    "s": 63.218,
    "l": 17.059
  },
  "oklch": {
    "l": 0.24635,
    "c": 0.09721,
    "h": 300.1
  },
  "luminance": 0.01297
}

Semantic roles & 50–950 ramp

primary
#291047
secondary
#5D8132
accent
#E6429B
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#060209
muted
#7A787B

Preview Lab

Preview with #291047

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

Preview Lab → · Contrast checker → · Palette generator →

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