#291A43#291A43

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

Color values

HEX#291A43
RGBrgb(41, 26, 67)
HSLhsl(262, 44%, 18%)
HSVhsv(262, 61%, 26%)
CMYKcmyk(38.8%, 61.2%, 0%, 73.7%)
CIE-LABlab(13.32, 18.16, -23.37)
CIE-LCHlch(13.32, 29.60, 307.84°)
OKLaboklab(26.04% 0.035 -0.0661)
OKLCHoklch(26.04% 0.075 297.9)
XYZxyz(2.2967, 1.6154, 5.4999)
Luminance0.0162 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291A43 #34431A
analogous
#1A1F43 #291A43 #3D1A43
triadic
#291A43 #43291A #1A4329
tetradic
#291A43 #431A1F #34431A #1A433D
square
#291A43 #431A1F #34431A #1A433D
split-complementary
#291A43 #433D1A #1F431A
monochromatic
#0D0916 #0E0917 #291A43 #442B6F #5F3C9B

Accessibility & contrast

On white

15.87
#291A43 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#291A43 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291A43
15.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291A43#FFFFFF#000000##FFFFFF
##291A431.0015.871.3215.87
#FFFFFF15.871.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#092244
Deuteranopia (green-blind)
#0E2242
Tritanopia (blue-blind)
#23222B
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #291a43;
/* rgb */ color: rgb(41, 26, 67);
/* oklch */ color: oklch(26.0% 0.075 297.9);
Tailwind
colors: {
  custom: {
    50: '#655777',
    500: '#291a43',
    950: '#000000',
  },
}
SCSS
$custom: #291a43;
$custom-light: #655777;
$custom-dark: #000000;
JSON
{
  "hex": "#291a43",
  "rgb": {
    "r": 41,
    "g": 26,
    "b": 67
  },
  "hsl": {
    "h": 261.951,
    "s": 44.086,
    "l": 18.235
  },
  "oklch": {
    "l": 0.26037,
    "c": 0.07482,
    "h": 297.9
  },
  "luminance": 0.01615
}

Semantic roles & 50–950 ramp

primary
#291A43
secondary
#647940
accent
#D454A5
background
#F6F5F7
surface
#EBE9ED
border
#C6C5C8
text
#060309
muted
#7A787B

Preview Lab

Preview with #291A43

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

Preview Lab → · Contrast checker → · Palette generator →

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