#291845#291845

#291845 is a dark, moderate violet. Relative luminance 0.016; OKLCH L 25.8% C 0.081 H 297.9°. Best body text is #FFFFFF at 16.02:1 contrast (WCAG AA passes).

Color values

HEX#291845
RGBrgb(41, 24, 69)
HSLhsl(263, 48%, 18%)
HSVhsv(263, 65%, 27%)
CMYKcmyk(40.6%, 65.2%, 0%, 72.9%)
CIE-LABlab(12.95, 20.15, -25.37)
CIE-LCHlch(12.95, 32.40, 308.46°)
OKLaboklab(25.81% 0.0381 -0.072)
OKLCHoklch(25.81% 0.081 297.9)
XYZxyz(2.3150, 1.5543, 5.8071)
Luminance0.0155 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291845 #344518
analogous
#181D45 #291845 #3F1845
triadic
#291845 #452918 #184529
tetradic
#291845 #45181D #344518 #18453F
square
#291845 #45181D #344518 #18453F
split-complementary
#291845 #453F18 #1D4518
monochromatic
#0D0817 #0E0818 #291845 #442872 #5F38A0

Accessibility & contrast

On white

16.02
#291845 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#291845 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291845
16.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291845#FFFFFF#000000##FFFFFF
##2918451.0016.021.3116.02
#FFFFFF16.021.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#032246
Deuteranopia (green-blind)
#082144
Tritanopia (blue-blind)
#23212B
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #291845;
/* rgb */ color: rgb(41, 24, 69);
/* oklch */ color: oklch(25.8% 0.081 297.9);
Tailwind
colors: {
  custom: {
    50: '#655579',
    500: '#291845',
    950: '#000000',
  },
}
SCSS
$custom: #291845;
$custom-light: #655579;
$custom-dark: #000000;
JSON
{
  "hex": "#291845",
  "rgb": {
    "r": 41,
    "g": 24,
    "b": 69
  },
  "hsl": {
    "h": 262.667,
    "s": 48.387,
    "l": 18.235
  },
  "oklch": {
    "l": 0.25809,
    "c": 0.08143,
    "h": 297.9
  },
  "luminance": 0.01554
}

Semantic roles & 50–950 ramp

primary
#291845
secondary
#647C3D
accent
#D850A5
background
#F6F5F7
surface
#EBE9ED
border
#C6C5C8
text
#060309
muted
#7A787B

Preview Lab

Preview with #291845

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

Preview Lab → · Contrast checker → · Palette generator →

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