#291159#291159

#291159 is a dark, moderate violet. Relative luminance 0.016; OKLCH L 26.5% C 0.119 H 291.2°. Best body text is #FFFFFF at 15.92:1 contrast (WCAG AA passes).

Color values

HEX#291159
RGBrgb(41, 17, 89)
HSLhsl(260, 68%, 21%)
HSVhsv(260, 81%, 35%)
CMYKcmyk(53.9%, 80.9%, 0%, 65.1%)
CIE-LABlab(13.19, 30.73, -38.70)
CIE-LCHlch(13.19, 49.42, 308.46°)
OKLaboklab(26.54% 0.0432 -0.1111)
OKLCHoklch(26.54% 0.119 291.2)
XYZxyz(2.9176, 1.5935, 9.6031)
Luminance0.0159 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291159 #415911
analogous
#111D59 #291159 #4D1159
triadic
#291159 #592911 #115929
tetradic
#291159 #59111D #415911 #11594D
square
#291159 #59111D #415911 #11594D
split-complementary
#291159 #594D11 #1D5911
monochromatic
#0C051A #110726 #291159 #411B8C #5825C0

Accessibility & contrast

On white

15.92
#291159 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#291159 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291159
15.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291159#FFFFFF#000000##FFFFFF
##2911591.0015.921.3215.92
#FFFFFF15.921.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00235B
Deuteranopia (green-blind)
#002058
Tritanopia (blue-blind)
#192534
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #291159;
/* rgb */ color: rgb(41, 17, 89);
/* oklch */ color: oklch(26.5% 0.119 291.2);
Tailwind
colors: {
  custom: {
    50: '#695289',
    500: '#291159',
    950: '#000000',
  },
}
SCSS
$custom: #291159;
$custom-light: #695289;
$custom-dark: #000000;
JSON
{
  "hex": "#291159",
  "rgb": {
    "r": 41,
    "g": 17,
    "b": 89
  },
  "hsl": {
    "h": 260,
    "s": 67.925,
    "l": 20.784
  },
  "oklch": {
    "l": 0.26543,
    "c": 0.11921,
    "h": 291.2
  },
  "luminance": 0.01594
}

Semantic roles & 50–950 ramp

primary
#291159
secondary
#739234
accent
#EB3DB1
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#07020B
muted
#7A787C

Preview Lab

Preview with #291159

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

Preview Lab → · Contrast checker → · Palette generator →

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