#291345#291345

#291345 is a very dark, moderate violet. Relative luminance 0.014; OKLCH L 24.9% C 0.090 H 300.1°. Best body text is #FFFFFF at 16.49:1 contrast (WCAG AA passes).

Color values

HEX#291345
RGBrgb(41, 19, 69)
HSLhsl(266, 57%, 17%)
HSVhsv(266, 72%, 27%)
CMYKcmyk(40.6%, 72.5%, 0%, 72.9%)
CIE-LABlab(11.73, 23.40, -27.33)
CIE-LCHlch(11.73, 35.98, 310.58°)
OKLaboklab(24.93% 0.0451 -0.0777)
OKLCHoklch(24.93% 0.09 300.1)
XYZxyz(2.2212, 1.3668, 5.7759)
Luminance0.0137 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291345 #2F4513
analogous
#131645 #291345 #421345
triadic
#291345 #452913 #134529
tetradic
#291345 #451316 #2F4513 #134542
square
#291345 #451316 #2F4513 #134542
split-complementary
#291345 #454213 #164513
monochromatic
#0E0718 #0E0718 #291345 #462075 #622DA5

Accessibility & contrast

On white

16.49
#291345 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #291345
16.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291345#FFFFFF#000000##FFFFFF
##2913451.0016.491.2716.49
#FFFFFF16.491.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F47
Deuteranopia (green-blind)
#011F44
Tritanopia (blue-blind)
#231E2A
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #291345;
/* rgb */ color: rgb(41, 19, 69);
/* oklch */ color: oklch(24.9% 0.090 300.1);
Tailwind
colors: {
  custom: {
    50: '#655279',
    500: '#291345',
    950: '#000000',
  },
}
SCSS
$custom: #291345;
$custom-light: #655279;
$custom-dark: #000000;
JSON
{
  "hex": "#291345",
  "rgb": {
    "r": 41,
    "g": 19,
    "b": 69
  },
  "hsl": {
    "h": 266.4,
    "s": 56.818,
    "l": 17.255
  },
  "oklch": {
    "l": 0.24926,
    "c": 0.0899,
    "h": 300.1
  },
  "luminance": 0.01367
}

Semantic roles & 50–950 ramp

primary
#291345
secondary
#5E7E36
accent
#E0489D
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060209
muted
#7A787B

Preview Lab

Preview with #291345

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

Preview Lab → · Contrast checker → · Palette generator →

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