#291054#291054

#291054 is a dark, moderate violet. Relative luminance 0.015; OKLCH L 25.9% C 0.114 H 293.6°. Best body text is #FFFFFF at 16.20:1 contrast (WCAG AA passes).

Color values

HEX#291054
RGBrgb(41, 16, 84)
HSLhsl(262, 68%, 20%)
HSVhsv(262, 81%, 33%)
CMYKcmyk(51.2%, 81%, 0%, 67.1%)
CIE-LABlab(12.49, 29.74, -36.45)
CIE-LCHlch(12.49, 47.04, 309.21°)
OKLaboklab(25.9% 0.0456 -0.1045)
OKLCHoklch(25.9% 0.114 293.6)
XYZxyz(2.6995, 1.4820, 8.5296)
Luminance0.0148 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291054 #3B5410
analogous
#101954 #291054 #4B1054
triadic
#291054 #542910 #105429
tetradic
#291054 #541019 #3B5410 #10544B
square
#291054 #541019 #3B5410 #10544B
split-complementary
#291054 #544B10 #195410
monochromatic
#0D051A #100621 #291054 #421A87 #5B24BB

Accessibility & contrast

On white

16.20
#291054 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #291054
16.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291054#FFFFFF#000000##FFFFFF
##2910541.0016.201.3016.20
#FFFFFF16.201.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002156
Deuteranopia (green-blind)
#001F53
Tritanopia (blue-blind)
#1C2231
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #291054;
/* rgb */ color: rgb(41, 16, 84);
/* oklch */ color: oklch(25.9% 0.114 293.6);
Tailwind
colors: {
  custom: {
    50: '#685185',
    500: '#291054',
    950: '#000000',
  },
}
SCSS
$custom: #291054;
$custom-light: #685185;
$custom-dark: #000000;
JSON
{
  "hex": "#291054",
  "rgb": {
    "r": 41,
    "g": 16,
    "b": 84
  },
  "hsl": {
    "h": 262.059,
    "s": 68,
    "l": 19.608
  },
  "oklch": {
    "l": 0.25898,
    "c": 0.11402,
    "h": 293.6
  },
  "luminance": 0.01482
}

Semantic roles & 50–950 ramp

primary
#291054
secondary
#6C8E32
accent
#EB3DAB
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020B
muted
#7A787C

Preview Lab

Preview with #291054

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

Preview Lab → · Contrast checker → · Palette generator →

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