#291337#291337

#291337 is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 23.8% C 0.070 H 310.3°. Best body text is #FFFFFF at 16.90:1 contrast (WCAG AA passes).

Color values

HEX#291337
RGBrgb(41, 19, 55)
HSLhsl(277, 49%, 15%)
HSVhsv(277, 65%, 22%)
CMYKcmyk(25.5%, 65.5%, 0%, 78.4%)
CIE-LABlab(10.65, 19.29, -19.12)
CIE-LCHlch(10.65, 27.17, 315.25°)
OKLaboklab(23.79% 0.0456 -0.0537)
OKLCHoklch(23.79% 0.07 310.3)
XYZxyz(1.8368, 1.2130, 3.7511)
Luminance0.0121 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291337 #213713
analogous
#171337 #291337 #371333
triadic
#291337 #372913 #133729
tetradic
#291337 #371713 #213713 #133337
square
#291337 #371713 #213713 #133337
split-complementary
#291337 #333713 #133717
monochromatic
#110817 #110817 #291337 #4B2364 #6D3292

Accessibility & contrast

On white

16.90
#291337 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#291337 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291337
16.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291337#FFFFFF#000000##FFFFFF
##2913371.0016.901.2416.90
#FFFFFF16.901.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#081C38
Deuteranopia (green-blind)
#101D36
Tritanopia (blue-blind)
#271922
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #291337;
/* rgb */ color: rgb(41, 19, 55);
/* oklch */ color: oklch(23.8% 0.070 310.3);
Tailwind
colors: {
  custom: {
    50: '#64516e',
    500: '#291337',
    950: '#000000',
  },
}
SCSS
$custom: #291337;
$custom-light: #64516e;
$custom-dark: #000000;
JSON
{
  "hex": "#291337",
  "rgb": {
    "r": 41,
    "g": 19,
    "b": 55
  },
  "hsl": {
    "h": 276.667,
    "s": 48.649,
    "l": 14.51
  },
  "oklch": {
    "l": 0.23792,
    "c": 0.07041,
    "h": 310.3
  },
  "luminance": 0.01213
}

Semantic roles & 50–950 ramp

primary
#291337
secondary
#4D6F37
accent
#D85085
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#050207
muted
#7A787A

Preview Lab

Preview with #291337

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

Preview Lab → · Contrast checker → · Palette generator →

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