#291C3D#291C3D

#291C3D is a dark, moderate violet. Relative luminance 0.016; OKLCH L 26.0% C 0.062 H 300.4°. Best body text is #FFFFFF at 15.82:1 contrast (WCAG AA passes).

Color values

HEX#291C3D
RGBrgb(41, 28, 61)
HSLhsl(264, 37%, 17%)
HSVhsv(264, 54%, 24%)
CMYKcmyk(32.8%, 54.1%, 0%, 76.1%)
CIE-LABlab(13.46, 14.88, -18.94)
CIE-LCHlch(13.46, 24.08, 308.16°)
OKLaboklab(26.01% 0.0311 -0.0531)
OKLCHoklch(26.01% 0.062 300.4)
XYZxyz(2.1718, 1.6388, 4.6159)
Luminance0.0164 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291C3D #303D1C
analogous
#1C203D #291C3D #391C3D
triadic
#291C3D #3D291C #1C3D29
tetradic
#291C3D #3D1C20 #303D1C #1C3D39
square
#291C3D #3D1C20 #303D1C #1C3D39
split-complementary
#291C3D #3D391C #203D1C
monochromatic
#0E0A15 #0E0A15 #291C3D #452F67 #614391

Accessibility & contrast

On white

15.82
#291C3D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#291C3D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291C3D
15.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291C3D#FFFFFF#000000##FFFFFF
##291C3D1.0015.821.3315.82
#FFFFFF15.821.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12223E
Deuteranopia (green-blind)
#15223C
Tritanopia (blue-blind)
#252229
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #291c3d;
/* rgb */ color: rgb(41, 28, 61);
/* oklch */ color: oklch(26.0% 0.062 300.4);
Tailwind
colors: {
  custom: {
    50: '#645872',
    500: '#291c3d',
    950: '#000000',
  },
}
SCSS
$custom: #291c3d;
$custom-light: #645872;
$custom-dark: #000000;
JSON
{
  "hex": "#291c3d",
  "rgb": {
    "r": 41,
    "g": 28,
    "b": 61
  },
  "hsl": {
    "h": 263.636,
    "s": 37.079,
    "l": 17.451
  },
  "oklch": {
    "l": 0.26008,
    "c": 0.0616,
    "h": 300.4
  },
  "luminance": 0.01639
}

Semantic roles & 50–950 ramp

primary
#291C3D
secondary
#5F7243
accent
#CD5BA0
background
#F6F5F6
surface
#EBE9EC
border
#C6C5C7
text
#050308
muted
#7A787B

Preview Lab

Preview with #291C3D

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

Preview Lab → · Contrast checker → · Palette generator →

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