#291343#291343

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

Color values

HEX#291343
RGBrgb(41, 19, 67)
HSLhsl(268, 56%, 17%)
HSVhsv(268, 72%, 26%)
CMYKcmyk(38.8%, 71.6%, 0%, 73.7%)
CIE-LABlab(11.57, 22.80, -26.19)
CIE-LCHlch(11.57, 34.73, 311.04°)
OKLaboklab(24.75% 0.0453 -0.0744)
OKLCHoklch(24.75% 0.087 301.4)
XYZxyz(2.1602, 1.3424, 5.4544)
Luminance0.0134 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291343 #2D4313
analogous
#131543 #291343 #411343
triadic
#291343 #432913 #134329
tetradic
#291343 #431315 #2D4313 #134341
square
#291343 #431315 #2D4313 #134341
split-complementary
#291343 #434113 #154313
monochromatic
#0F0718 #0F0718 #291343 #462173 #632EA2

Accessibility & contrast

On white

16.56
#291343 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#291343 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291343
16.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291343#FFFFFF#000000##FFFFFF
##2913431.0016.561.2716.56
#FFFFFF16.561.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E44
Deuteranopia (green-blind)
#031E42
Tritanopia (blue-blind)
#241D28
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #291343;
/* rgb */ color: rgb(41, 19, 67);
/* oklch */ color: oklch(24.8% 0.087 301.4);
Tailwind
colors: {
  custom: {
    50: '#655277',
    500: '#291343',
    950: '#000000',
  },
}
SCSS
$custom: #291343;
$custom-light: #655277;
$custom-dark: #000000;
JSON
{
  "hex": "#291343",
  "rgb": {
    "r": 41,
    "g": 19,
    "b": 67
  },
  "hsl": {
    "h": 267.5,
    "s": 55.814,
    "l": 16.863
  },
  "oklch": {
    "l": 0.24753,
    "c": 0.08713,
    "h": 301.4
  },
  "luminance": 0.01342
}

Semantic roles & 50–950 ramp

primary
#291343
secondary
#5C7C36
accent
#DF499A
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060209
muted
#7A787B

Preview Lab

Preview with #291343

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

Preview Lab → · Contrast checker → · Palette generator →

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