#291056#291056

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

Color values

HEX#291056
RGBrgb(41, 16, 86)
HSLhsl(261, 69%, 20%)
HSVhsv(261, 81%, 34%)
CMYKcmyk(52.3%, 81.4%, 0%, 66.3%)
CIE-LABlab(12.70, 30.35, -37.48)
CIE-LCHlch(12.70, 48.22, 309.00°)
OKLaboklab(26.1% 0.045 -0.1075)
OKLCHoklch(26.1% 0.117 292.7)
XYZxyz(2.7790, 1.5138, 8.9481)
Luminance0.0151 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291056 #3D5610
analogous
#101A56 #291056 #4C1056
triadic
#291056 #562910 #105629
tetradic
#291056 #56101A #3D5610 #10564C
square
#291056 #56101A #3D5610 #10564C
split-complementary
#291056 #564C10 #1A5610
monochromatic
#0C051A #100622 #291056 #421A8A #5A23BD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##291056#FFFFFF#000000##FFFFFF
##2910561.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)
#002258
Deuteranopia (green-blind)
#002055
Tritanopia (blue-blind)
#1B2332
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #291056;
/* rgb */ color: rgb(41, 16, 86);
/* oklch */ color: oklch(26.1% 0.117 292.7);
Tailwind
colors: {
  custom: {
    50: '#685186',
    500: '#291056',
    950: '#000000',
  },
}
SCSS
$custom: #291056;
$custom-light: #685186;
$custom-dark: #000000;
JSON
{
  "hex": "#291056",
  "rgb": {
    "r": 41,
    "g": 16,
    "b": 86
  },
  "hsl": {
    "h": 261.429,
    "s": 68.627,
    "l": 20
  },
  "oklch": {
    "l": 0.26102,
    "c": 0.11657,
    "h": 292.7
  },
  "luminance": 0.01514
}

Semantic roles & 50–950 ramp

primary
#291056
secondary
#6E8F32
accent
#EB3CAD
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#07020B
muted
#7A787C

Preview Lab

Preview with #291056

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

Preview Lab → · Contrast checker → · Palette generator →

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