#291154#291154

#291154 is a dark, moderate violet. Relative luminance 0.015; OKLCH L 26.0% C 0.113 H 293.3°. Best body text is #FFFFFF at 16.12:1 contrast (WCAG AA passes).

Color values

HEX#291154
RGBrgb(41, 17, 84)
HSLhsl(261, 66%, 20%)
HSVhsv(261, 80%, 33%)
CMYKcmyk(51.2%, 79.8%, 0%, 67.1%)
CIE-LABlab(12.69, 29.19, -36.13)
CIE-LCHlch(12.69, 46.45, 308.93°)
OKLaboklab(26.03% 0.0446 -0.1036)
OKLCHoklch(26.03% 0.113 293.3)
XYZxyz(2.7147, 1.5123, 8.5347)
Luminance0.0151 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291154 #3C5411
analogous
#111A54 #291154 #4B1154
triadic
#291154 #542911 #115429
tetradic
#291154 #54111A #3C5411 #11544B
square
#291154 #54111A #3C5411 #11544B
split-complementary
#291154 #544B11 #1A5411
monochromatic
#0C0519 #100721 #291154 #421B87 #5B26BA

Accessibility & contrast

On white

16.12
#291154 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#291154 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291154
16.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291154#FFFFFF#000000##FFFFFF
##2911541.0016.121.3016.12
#FFFFFF16.121.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002256
Deuteranopia (green-blind)
#002053
Tritanopia (blue-blind)
#1C2331
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #291154;
/* rgb */ color: rgb(41, 17, 84);
/* oklch */ color: oklch(26.0% 0.113 293.3);
Tailwind
colors: {
  custom: {
    50: '#685285',
    500: '#291154',
    950: '#000000',
  },
}
SCSS
$custom: #291154;
$custom-light: #685285;
$custom-dark: #000000;
JSON
{
  "hex": "#291154",
  "rgb": {
    "r": 41,
    "g": 17,
    "b": 84
  },
  "hsl": {
    "h": 261.493,
    "s": 66.337,
    "l": 19.804
  },
  "oklch": {
    "l": 0.26034,
    "c": 0.11278,
    "h": 293.3
  },
  "luminance": 0.01512
}

Semantic roles & 50–950 ramp

primary
#291154
secondary
#6D8D34
accent
#E93FAC
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020B
muted
#7A787C

Preview Lab

Preview with #291154

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

Preview Lab → · Contrast checker → · Palette generator →

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