#291E49#291E49

#291E49 is a dark, moderate violet. Relative luminance 0.019; OKLCH L 27.3% C 0.077 H 292.3°. Best body text is #FFFFFF at 15.26:1 contrast (WCAG AA passes).

Color values

HEX#291E49
RGBrgb(41, 30, 73)
HSLhsl(255, 42%, 20%)
HSVhsv(255, 59%, 29%)
CMYKcmyk(43.8%, 58.9%, 0%, 71.4%)
CIE-LABlab(14.85, 17.32, -25.09)
CIE-LCHlch(14.85, 30.49, 304.61°)
OKLaboklab(27.31% 0.0292 -0.0712)
OKLCHoklch(27.31% 0.077 292.3)
XYZxyz(2.5810, 1.8809, 6.5291)
Luminance0.0188 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291E49 #3E491E
analogous
#1E2849 #291E49 #3E1E49
triadic
#291E49 #49291E #1E4929
tetradic
#291E49 #491E28 #3E491E #1E493E
square
#291E49 #491E28 #3E491E #1E493E
split-complementary
#291E49 #493E1E #28491E
monochromatic
#0C0916 #110C1E #291E49 #413074 #5A42A0

Accessibility & contrast

On white

15.26
#291E49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#291E49 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291E49
15.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291E49#FFFFFF#000000##FFFFFF
##291E491.0015.261.3815.26
#FFFFFF15.261.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B264A
Deuteranopia (green-blind)
#0D2548
Tritanopia (blue-blind)
#212730
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #291e49;
/* rgb */ color: rgb(41, 30, 73);
/* oklch */ color: oklch(27.3% 0.077 292.3);
Tailwind
colors: {
  custom: {
    50: '#655a7c',
    500: '#291e49',
    950: '#000000',
  },
}
SCSS
$custom: #291e49;
$custom-light: #655a7c;
$custom-dark: #000000;
JSON
{
  "hex": "#291e49",
  "rgb": {
    "r": 41,
    "g": 30,
    "b": 73
  },
  "hsl": {
    "h": 255.349,
    "s": 41.748,
    "l": 20.196
  },
  "oklch": {
    "l": 0.27308,
    "c": 0.07695,
    "h": 292.3
  },
  "luminance": 0.01881
}

Semantic roles & 50–950 ramp

primary
#291E49
secondary
#6F7E45
accent
#D256B2
background
#F6F5F7
surface
#EBE9EE
border
#C6C5C9
text
#060309
muted
#7A787B

Preview Lab

Preview with #291E49

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

Preview Lab → · Contrast checker → · Palette generator →

#291E49 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva