#291456#291456

#291456 is a dark, moderate violet. Relative luminance 0.016; OKLCH L 26.7% C 0.112 H 291.6°. Best body text is #FFFFFF at 15.80:1 contrast (WCAG AA passes).

Color values

HEX#291456
RGBrgb(41, 20, 86)
HSLhsl(259, 62%, 21%)
HSVhsv(259, 77%, 34%)
CMYKcmyk(52.3%, 76.7%, 0%, 66.3%)
CIE-LABlab(13.49, 28.10, -36.17)
CIE-LCHlch(13.49, 45.81, 307.84°)
OKLaboklab(26.67% 0.041 -0.1037)
OKLCHoklch(26.67% 0.112 291.6)
XYZxyz(2.8438, 1.6435, 8.9697)
Luminance0.0164 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291456 #415614
analogous
#142056 #291456 #4A1456
triadic
#291456 #562914 #145629
tetradic
#291456 #561420 #415614 #14564A
square
#291456 #561420 #415614 #14564A
split-complementary
#291456 #564A14 #205614
monochromatic
#0C0619 #110824 #291456 #412088 #582BB9

Accessibility & contrast

On white

15.80
#291456 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #291456
15.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291456#FFFFFF#000000##FFFFFF
##2914561.0015.801.3315.80
#FFFFFF15.801.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002458
Deuteranopia (green-blind)
#002155
Tritanopia (blue-blind)
#1B2533
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #291456;
/* rgb */ color: rgb(41, 20, 86);
/* oklch */ color: oklch(26.7% 0.112 291.6);
Tailwind
colors: {
  custom: {
    50: '#685386',
    500: '#291456',
    950: '#000000',
  },
}
SCSS
$custom: #291456;
$custom-light: #685386;
$custom-dark: #000000;
JSON
{
  "hex": "#291456",
  "rgb": {
    "r": 41,
    "g": 20,
    "b": 86
  },
  "hsl": {
    "h": 259.091,
    "s": 62.264,
    "l": 20.784
  },
  "oklch": {
    "l": 0.26665,
    "c": 0.11154,
    "h": 291.6
  },
  "luminance": 0.01644
}

Semantic roles & 50–950 ramp

primary
#291456
secondary
#738E38
accent
#E542B2
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020B
muted
#7A787C

Preview Lab

Preview with #291456

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

Preview Lab → · Contrast checker → · Palette generator →

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