#291045#291045

#291045 is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.5% C 0.095 H 301.3°. Best body text is #FFFFFF at 16.74:1 contrast (WCAG AA passes).

Color values

HEX#291045
RGBrgb(41, 16, 69)
HSLhsl(268, 62%, 17%)
HSVhsv(268, 77%, 27%)
CMYKcmyk(40.6%, 76.8%, 0%, 72.9%)
CIE-LABlab(11.08, 25.22, -28.40)
CIE-LCHlch(11.08, 37.98, 311.61°)
OKLaboklab(24.45% 0.0491 -0.0809)
OKLCHoklch(24.45% 0.095 301.3)
XYZxyz(2.1737, 1.2717, 5.7600)
Luminance0.0127 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291045 #2C4510
analogous
#101245 #291045 #441045
triadic
#291045 #452910 #104529
tetradic
#291045 #451012 #2C4510 #104544
square
#291045 #451012 #2C4510 #104544
split-complementary
#291045 #454410 #124510
monochromatic
#0F0619 #0F0619 #291045 #471C77 #6427A8

Accessibility & contrast

On white

16.74
#291045 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#291045 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291045
16.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291045#FFFFFF#000000##FFFFFF
##2910451.0016.741.2516.74
#FFFFFF16.741.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D47
Deuteranopia (green-blind)
#001D44
Tritanopia (blue-blind)
#231C29
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #291045;
/* rgb */ color: rgb(41, 16, 69);
/* oklch */ color: oklch(24.5% 0.095 301.3);
Tailwind
colors: {
  custom: {
    50: '#665079',
    500: '#291045',
    950: '#000000',
  },
}
SCSS
$custom: #291045;
$custom-light: #665079;
$custom-dark: #000000;
JSON
{
  "hex": "#291045",
  "rgb": {
    "r": 41,
    "g": 16,
    "b": 69
  },
  "hsl": {
    "h": 268.302,
    "s": 62.353,
    "l": 16.667
  },
  "oklch": {
    "l": 0.24452,
    "c": 0.09458,
    "h": 301.3
  },
  "luminance": 0.01272
}

Semantic roles & 50–950 ramp

primary
#291045
secondary
#5B7F32
accent
#E54299
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060209
muted
#7A787B

Preview Lab

Preview with #291045

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

Preview Lab → · Contrast checker → · Palette generator →

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