#291B3D#291B3D

#291B3D is a dark, moderate violet. Relative luminance 0.016; OKLCH L 25.8% C 0.064 H 301.1°. Best body text is #FFFFFF at 15.93:1 contrast (WCAG AA passes).

Color values

HEX#291B3D
RGBrgb(41, 27, 61)
HSLhsl(265, 39%, 17%)
HSVhsv(265, 56%, 24%)
CMYKcmyk(32.8%, 55.7%, 0%, 76.1%)
CIE-LABlab(13.18, 15.59, -19.38)
CIE-LCHlch(13.18, 24.87, 308.80°)
OKLaboklab(25.8% 0.0328 -0.0544)
OKLCHoklch(25.8% 0.064 301.1)
XYZxyz(2.1485, 1.5922, 4.6081)
Luminance0.0159 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291B3D #2F3D1B
analogous
#1B1E3D #291B3D #3A1B3D
triadic
#291B3D #3D291B #1B3D29
tetradic
#291B3D #3D1B1E #2F3D1B #1B3D3A
square
#291B3D #3D1B1E #2F3D1B #1B3D3A
split-complementary
#291B3D #3D3A1B #1E3D1B
monochromatic
#0E0915 #0E0915 #291B3D #462E67 #624192

Accessibility & contrast

On white

15.93
#291B3D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #291B3D
15.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291B3D#FFFFFF#000000##FFFFFF
##291B3D1.0015.931.3215.93
#FFFFFF15.931.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10223E
Deuteranopia (green-blind)
#14223C
Tritanopia (blue-blind)
#252129
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #291b3d;
/* rgb */ color: rgb(41, 27, 61);
/* oklch */ color: oklch(25.8% 0.064 301.1);
Tailwind
colors: {
  custom: {
    50: '#645772',
    500: '#291b3d',
    950: '#000000',
  },
}
SCSS
$custom: #291b3d;
$custom-light: #645772;
$custom-dark: #000000;
JSON
{
  "hex": "#291b3d",
  "rgb": {
    "r": 41,
    "g": 27,
    "b": 61
  },
  "hsl": {
    "h": 264.706,
    "s": 38.636,
    "l": 17.255
  },
  "oklch": {
    "l": 0.25797,
    "c": 0.06357,
    "h": 301.1
  },
  "luminance": 0.01592
}

Semantic roles & 50–950 ramp

primary
#291B3D
secondary
#5E7242
accent
#CF599E
background
#F6F5F6
surface
#EBE9EC
border
#C6C5C7
text
#050308
muted
#7A787B

Preview Lab

Preview with #291B3D

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

Preview Lab → · Contrast checker → · Palette generator →

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