#291244#291244

#291244 is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.7% C 0.090 H 301.1°. Best body text is #FFFFFF at 16.61:1 contrast (WCAG AA passes).

Color values

HEX#291244
RGBrgb(41, 18, 68)
HSLhsl(268, 58%, 17%)
HSVhsv(268, 74%, 27%)
CMYKcmyk(39.7%, 73.5%, 0%, 73.3%)
CIE-LABlab(11.42, 23.72, -27.13)
CIE-LCHlch(11.42, 36.04, 311.16°)
OKLaboklab(24.68% 0.0466 -0.0771)
OKLCHoklch(24.68% 0.09 301.1)
XYZxyz(2.1739, 1.3214, 5.6082)
Luminance0.0132 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291244 #2D4412
analogous
#121444 #291244 #421244
triadic
#291244 #442912 #124429
tetradic
#291244 #441214 #2D4412 #124442
square
#291244 #441214 #2D4412 #124442
split-complementary
#291244 #444212 #144412
monochromatic
#0F0618 #0F0618 #291244 #461F74 #632CA5

Accessibility & contrast

On white

16.61
#291244 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #291244
16.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291244#FFFFFF#000000##FFFFFF
##2912441.0016.611.2616.61
#FFFFFF16.611.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E46
Deuteranopia (green-blind)
#011E43
Tritanopia (blue-blind)
#231D29
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #291244;
/* rgb */ color: rgb(41, 18, 68);
/* oklch */ color: oklch(24.7% 0.090 301.1);
Tailwind
colors: {
  custom: {
    50: '#655178',
    500: '#291244',
    950: '#000000',
  },
}
SCSS
$custom: #291244;
$custom-light: #655178;
$custom-dark: #000000;
JSON
{
  "hex": "#291244",
  "rgb": {
    "r": 41,
    "g": 18,
    "b": 68
  },
  "hsl": {
    "h": 267.6,
    "s": 58.14,
    "l": 16.863
  },
  "oklch": {
    "l": 0.24675,
    "c": 0.09014,
    "h": 301.1
  },
  "luminance": 0.01321
}

Semantic roles & 50–950 ramp

primary
#291244
secondary
#5C7D35
accent
#E1469A
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060209
muted
#7A787B

Preview Lab

Preview with #291244

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

Preview Lab → · Contrast checker → · Palette generator →

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