#291455#291455

#291455 is a dark, moderate violet. Relative luminance 0.016; OKLCH L 26.6% C 0.110 H 292.0°. Best body text is #FFFFFF at 15.84:1 contrast (WCAG AA passes).

Color values

HEX#291455
RGBrgb(41, 20, 85)
HSLhsl(259, 62%, 21%)
HSVhsv(259, 76%, 33%)
CMYKcmyk(51.8%, 76.5%, 0%, 66.7%)
CIE-LABlab(13.40, 27.78, -35.65)
CIE-LCHlch(13.40, 45.20, 307.93°)
OKLaboklab(26.57% 0.0412 -0.1022)
OKLCHoklch(26.57% 0.11 292)
XYZxyz(2.8038, 1.6275, 8.7590)
Luminance0.0163 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291455 #405514
analogous
#141F55 #291455 #491455
triadic
#291455 #552914 #145529
tetradic
#291455 #55141F #405514 #145549
square
#291455 #55141F #405514 #145549
split-complementary
#291455 #554914 #1F5514
monochromatic
#0C0619 #110823 #291455 #412087 #592BB8

Accessibility & contrast

On white

15.84
#291455 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#291455 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291455
15.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291455#FFFFFF#000000##FFFFFF
##2914551.0015.841.3315.84
#FFFFFF15.841.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002357
Deuteranopia (green-blind)
#002154
Tritanopia (blue-blind)
#1B2533
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #291455;
/* rgb */ color: rgb(41, 20, 85);
/* oklch */ color: oklch(26.6% 0.110 292.0);
Tailwind
colors: {
  custom: {
    50: '#685385',
    500: '#291455',
    950: '#000000',
  },
}
SCSS
$custom: #291455;
$custom-light: #685385;
$custom-dark: #000000;
JSON
{
  "hex": "#291455",
  "rgb": {
    "r": 41,
    "g": 20,
    "b": 85
  },
  "hsl": {
    "h": 259.385,
    "s": 61.905,
    "l": 20.588
  },
  "oklch": {
    "l": 0.26567,
    "c": 0.11021,
    "h": 292
  },
  "luminance": 0.01628
}

Semantic roles & 50–950 ramp

primary
#291455
secondary
#718D38
accent
#E543B1
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020B
muted
#7A787C

Preview Lab

Preview with #291455

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

Preview Lab → · Contrast checker → · Palette generator →

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