#291145#291145

#291145 is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.6% C 0.093 H 300.9°. Best body text is #FFFFFF at 16.66:1 contrast (WCAG AA passes).

Color values

HEX#291145
RGBrgb(41, 17, 69)
HSLhsl(268, 60%, 17%)
HSVhsv(268, 75%, 27%)
CMYKcmyk(40.6%, 75.4%, 0%, 72.9%)
CIE-LABlab(11.29, 24.63, -28.05)
CIE-LCHlch(11.29, 37.33, 311.28°)
OKLaboklab(24.61% 0.0478 -0.0798)
OKLCHoklch(24.61% 0.093 300.9)
XYZxyz(2.1888, 1.3020, 5.7651)
Luminance0.0130 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291145 #2D4511
analogous
#111345 #291145 #431145
triadic
#291145 #452911 #114529
tetradic
#291145 #451113 #2D4511 #114543
square
#291145 #451113 #2D4511 #114543
split-complementary
#291145 #454311 #134511
monochromatic
#0F0619 #0F0619 #291145 #461D76 #6329A7

Accessibility & contrast

On white

16.66
#291145 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#291145 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291145
16.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291145#FFFFFF#000000##FFFFFF
##2911451.0016.661.2616.66
#FFFFFF16.661.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E47
Deuteranopia (green-blind)
#001E44
Tritanopia (blue-blind)
#231D29
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #291145;
/* rgb */ color: rgb(41, 17, 69);
/* oklch */ color: oklch(24.6% 0.093 300.9);
Tailwind
colors: {
  custom: {
    50: '#665179',
    500: '#291145',
    950: '#000000',
  },
}
SCSS
$custom: #291145;
$custom-light: #665179;
$custom-dark: #000000;
JSON
{
  "hex": "#291145",
  "rgb": {
    "r": 41,
    "g": 17,
    "b": 69
  },
  "hsl": {
    "h": 267.692,
    "s": 60.465,
    "l": 16.863
  },
  "oklch": {
    "l": 0.24605,
    "c": 0.09306,
    "h": 300.9
  },
  "luminance": 0.01302
}

Semantic roles & 50–950 ramp

primary
#291145
secondary
#5C7F33
accent
#E4449A
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060209
muted
#7A787B

Preview Lab

Preview with #291145

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

Preview Lab → · Contrast checker → · Palette generator →

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