#291249#291249

#291249 is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.1% C 0.097 H 298.3°. Best body text is #FFFFFF at 16.44:1 contrast (WCAG AA passes).

Color values

HEX#291249
RGBrgb(41, 18, 73)
HSLhsl(265, 60%, 18%)
HSVhsv(265, 75%, 29%)
CMYKcmyk(43.8%, 75.3%, 0%, 71.4%)
CIE-LABlab(11.86, 25.23, -29.92)
CIE-LCHlch(11.86, 39.14, 310.14°)
OKLaboklab(25.12% 0.0459 -0.0853)
OKLCHoklch(25.12% 0.097 298.3)
XYZxyz(2.3330, 1.3850, 6.4465)
Luminance0.0138 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291249 #324912
analogous
#121649 #291249 #441249
triadic
#291249 #492912 #124929
tetradic
#291249 #491216 #324912 #124944
square
#291249 #491216 #324912 #124944
split-complementary
#291249 #494412 #164912
monochromatic
#0E0619 #0E0619 #291249 #451E7A #602AAB

Accessibility & contrast

On white

16.44
#291249 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#291249 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291249
16.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291249#FFFFFF#000000##FFFFFF
##2912491.0016.441.2816.44
#FFFFFF16.441.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F4B
Deuteranopia (green-blind)
#001F48
Tritanopia (blue-blind)
#211F2B
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #291249;
/* rgb */ color: rgb(41, 18, 73);
/* oklch */ color: oklch(25.1% 0.097 298.3);
Tailwind
colors: {
  custom: {
    50: '#66527c',
    500: '#291249',
    950: '#000000',
  },
}
SCSS
$custom: #291249;
$custom-light: #66527c;
$custom-dark: #000000;
JSON
{
  "hex": "#291249",
  "rgb": {
    "r": 41,
    "g": 18,
    "b": 73
  },
  "hsl": {
    "h": 265.091,
    "s": 60.44,
    "l": 17.843
  },
  "oklch": {
    "l": 0.25123,
    "c": 0.0969,
    "h": 298.3
  },
  "luminance": 0.01385
}

Semantic roles & 50–950 ramp

primary
#291249
secondary
#628235
accent
#E444A1
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#060209
muted
#7A787B

Preview Lab

Preview with #291249

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

Preview Lab → · Contrast checker → · Palette generator →

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