#291055#291055

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

Color values

HEX#291055
RGBrgb(41, 16, 85)
HSLhsl(262, 68%, 20%)
HSVhsv(262, 81%, 33%)
CMYKcmyk(51.8%, 81.2%, 0%, 66.7%)
CIE-LABlab(12.59, 30.04, -36.97)
CIE-LCHlch(12.59, 47.63, 309.10°)
OKLaboklab(26% 0.0453 -0.106)
OKLCHoklch(26% 0.115 293.1)
XYZxyz(2.7390, 1.4978, 8.7374)
Luminance0.0150 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291055 #3C5510
analogous
#101A55 #291055 #4C1055
triadic
#291055 #552910 #105529
tetradic
#291055 #55101A #3C5510 #10554C
square
#291055 #55101A #3C5510 #10554C
split-complementary
#291055 #554C10 #1A5510
monochromatic
#0C051A #100621 #291055 #421A89 #5B23BC

Accessibility & contrast

On white

16.16
#291055 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #291055
16.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291055#FFFFFF#000000##FFFFFF
##2910551.0016.161.3016.16
#FFFFFF16.161.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002257
Deuteranopia (green-blind)
#001F54
Tritanopia (blue-blind)
#1B2331
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #291055;
/* rgb */ color: rgb(41, 16, 85);
/* oklch */ color: oklch(26.0% 0.115 293.1);
Tailwind
colors: {
  custom: {
    50: '#685186',
    500: '#291055',
    950: '#000000',
  },
}
SCSS
$custom: #291055;
$custom-light: #685186;
$custom-dark: #000000;
JSON
{
  "hex": "#291055",
  "rgb": {
    "r": 41,
    "g": 16,
    "b": 85
  },
  "hsl": {
    "h": 261.739,
    "s": 68.317,
    "l": 19.804
  },
  "oklch": {
    "l": 0.26,
    "c": 0.1153,
    "h": 293.1
  },
  "luminance": 0.01498
}

Semantic roles & 50–950 ramp

primary
#291055
secondary
#6D8F32
accent
#EB3DAC
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#07020B
muted
#7A787C

Preview Lab

Preview with #291055

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

Preview Lab → · Contrast checker → · Palette generator →

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