#291844#291844

#291844 is a dark, moderate violet. Relative luminance 0.015; OKLCH L 25.7% C 0.080 H 298.4°. Best body text is #FFFFFF at 16.05:1 contrast (WCAG AA passes).

Color values

HEX#291844
RGBrgb(41, 24, 68)
HSLhsl(263, 48%, 18%)
HSVhsv(263, 65%, 27%)
CMYKcmyk(39.7%, 64.7%, 0%, 73.3%)
CIE-LABlab(12.87, 19.84, -24.80)
CIE-LCHlch(12.87, 31.76, 308.66°)
OKLaboklab(25.73% 0.0381 -0.0703)
OKLCHoklch(25.73% 0.08 298.4)
XYZxyz(2.2842, 1.5420, 5.6450)
Luminance0.0154 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291844 #334418
analogous
#181D44 #291844 #3F1844
triadic
#291844 #442918 #184429
tetradic
#291844 #44181D #334418 #18443F
square
#291844 #44181D #334418 #18443F
split-complementary
#291844 #443F18 #1D4418
monochromatic
#0E0817 #0E0817 #291844 #442871 #60389E

Accessibility & contrast

On white

16.05
#291844 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#291844 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291844
16.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291844#FFFFFF#000000##FFFFFF
##2918441.0016.051.3116.05
#FFFFFF16.051.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#042145
Deuteranopia (green-blind)
#092143
Tritanopia (blue-blind)
#23212B
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #291844;
/* rgb */ color: rgb(41, 24, 68);
/* oklch */ color: oklch(25.7% 0.080 298.4);
Tailwind
colors: {
  custom: {
    50: '#655578',
    500: '#291844',
    950: '#000000',
  },
}
SCSS
$custom: #291844;
$custom-light: #655578;
$custom-dark: #000000;
JSON
{
  "hex": "#291844",
  "rgb": {
    "r": 41,
    "g": 24,
    "b": 68
  },
  "hsl": {
    "h": 263.182,
    "s": 47.826,
    "l": 18.039
  },
  "oklch": {
    "l": 0.25728,
    "c": 0.07994,
    "h": 298.4
  },
  "luminance": 0.01542
}

Semantic roles & 50–950 ramp

primary
#291844
secondary
#637B3D
accent
#D750A3
background
#F6F5F7
surface
#EBE9ED
border
#C6C5C8
text
#060309
muted
#7A787B

Preview Lab

Preview with #291844

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

Preview Lab → · Contrast checker → · Palette generator →

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