#291341#291341

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

Color values

HEX#291341
RGBrgb(41, 19, 65)
HSLhsl(269, 55%, 16%)
HSVhsv(269, 71%, 25%)
CMYKcmyk(36.9%, 70.8%, 0%, 74.5%)
CIE-LABlab(11.41, 22.20, -25.05)
CIE-LCHlch(11.41, 33.47, 311.55°)
OKLaboklab(24.58% 0.0455 -0.071)
OKLCHoklch(24.58% 0.084 302.6)
XYZxyz(2.1012, 1.3188, 5.1439)
Luminance0.0132 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291341 #2B4113
analogous
#131441 #291341 #401341
triadic
#291341 #412913 #134129
tetradic
#291341 #411314 #2B4113 #134140
square
#291341 #411314 #2B4113 #134140
split-complementary
#291341 #414013 #144113
monochromatic
#0F0718 #0F0718 #291341 #472170 #652FA0

Accessibility & contrast

On white

16.62
#291341 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #291341
16.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291341#FFFFFF#000000##FFFFFF
##2913411.0016.621.2616.62
#FFFFFF16.621.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E42
Deuteranopia (green-blind)
#061E40
Tritanopia (blue-blind)
#241D27
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #291341;
/* rgb */ color: rgb(41, 19, 65);
/* oklch */ color: oklch(24.6% 0.084 302.6);
Tailwind
colors: {
  custom: {
    50: '#655276',
    500: '#291341',
    950: '#000000',
  },
}
SCSS
$custom: #291341;
$custom-light: #655276;
$custom-dark: #000000;
JSON
{
  "hex": "#291341",
  "rgb": {
    "r": 41,
    "g": 19,
    "b": 65
  },
  "hsl": {
    "h": 268.696,
    "s": 54.762,
    "l": 16.471
  },
  "oklch": {
    "l": 0.24583,
    "c": 0.08435,
    "h": 302.6
  },
  "luminance": 0.01319
}

Semantic roles & 50–950 ramp

primary
#291341
secondary
#597A36
accent
#DE4A97
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060208
muted
#7A787B

Preview Lab

Preview with #291341

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

Preview Lab → · Contrast checker → · Palette generator →

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