#291648#291648

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

Color values

HEX#291648
RGBrgb(41, 22, 72)
HSLhsl(263, 53%, 18%)
HSVhsv(263, 69%, 28%)
CMYKcmyk(43.1%, 69.4%, 0%, 71.8%)
CIE-LABlab(12.69, 22.42, -27.87)
CIE-LCHlch(12.69, 35.77, 308.81°)
OKLaboklab(25.7% 0.0408 -0.0793)
OKLCHoklch(25.7% 0.089 297.2)
XYZxyz(2.3708, 1.5131, 6.2968)
Luminance0.0151 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291648 #354816
analogous
#161C48 #291648 #421648
triadic
#291648 #482916 #164829
tetradic
#291648 #48161C #354816 #164842
square
#291648 #48161C #354816 #164842
split-complementary
#291648 #484216 #1C4816
monochromatic
#0D0717 #0E0819 #291648 #442477 #5E33A6

Accessibility & contrast

On white

16.12
#291648 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#291648 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291648
16.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291648#FFFFFF#000000##FFFFFF
##2916481.0016.121.3016.12
#FFFFFF16.121.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00214A
Deuteranopia (green-blind)
#012047
Tritanopia (blue-blind)
#22212C
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #291648;
/* rgb */ color: rgb(41, 22, 72);
/* oklch */ color: oklch(25.7% 0.089 297.2);
Tailwind
colors: {
  custom: {
    50: '#66547b',
    500: '#291648',
    950: '#000000',
  },
}
SCSS
$custom: #291648;
$custom-light: #66547b;
$custom-dark: #000000;
JSON
{
  "hex": "#291648",
  "rgb": {
    "r": 41,
    "g": 22,
    "b": 72
  },
  "hsl": {
    "h": 262.8,
    "s": 53.191,
    "l": 18.431
  },
  "oklch": {
    "l": 0.25697,
    "c": 0.08921,
    "h": 297.2
  },
  "luminance": 0.01513
}

Semantic roles & 50–950 ramp

primary
#291648
secondary
#657F3A
accent
#DD4BA5
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#060309
muted
#7A787B

Preview Lab

Preview with #291648

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

Preview Lab → · Contrast checker → · Palette generator →

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