#291356#291356

#291356 is a dark, moderate violet. Relative luminance 0.016; OKLCH L 26.5% C 0.113 H 291.9°. Best body text is #FFFFFF at 15.89:1 contrast (WCAG AA passes).

Color values

HEX#291356
RGBrgb(41, 19, 86)
HSLhsl(260, 64%, 21%)
HSVhsv(260, 78%, 34%)
CMYKcmyk(52.3%, 77.9%, 0%, 66.3%)
CIE-LABlab(13.28, 28.68, -36.51)
CIE-LCHlch(13.28, 46.43, 308.15°)
OKLaboklab(26.52% 0.042 -0.1047)
OKLCHoklch(26.52% 0.113 291.9)
XYZxyz(2.8266, 1.6089, 8.9639)
Luminance0.0161 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291356 #405613
analogous
#131F56 #291356 #4A1356
triadic
#291356 #562913 #135629
tetradic
#291356 #56131F #405613 #13564A
square
#291356 #56131F #405613 #13564A
split-complementary
#291356 #564A13 #1F5613
monochromatic
#0C0619 #110824 #291356 #411E88 #5929BA

Accessibility & contrast

On white

15.89
#291356 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#291356 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291356
15.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291356#FFFFFF#000000##FFFFFF
##2913561.0015.891.3215.89
#FFFFFF15.891.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002358
Deuteranopia (green-blind)
#002155
Tritanopia (blue-blind)
#1B2433
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #291356;
/* rgb */ color: rgb(41, 19, 86);
/* oklch */ color: oklch(26.5% 0.113 291.9);
Tailwind
colors: {
  custom: {
    50: '#685386',
    500: '#291356',
    950: '#000000',
  },
}
SCSS
$custom: #291356;
$custom-light: #685386;
$custom-dark: #000000;
JSON
{
  "hex": "#291356",
  "rgb": {
    "r": 41,
    "g": 19,
    "b": 86
  },
  "hsl": {
    "h": 259.701,
    "s": 63.81,
    "l": 20.588
  },
  "oklch": {
    "l": 0.26518,
    "c": 0.11285,
    "h": 291.9
  },
  "luminance": 0.01609
}

Semantic roles & 50–950 ramp

primary
#291356
secondary
#718E36
accent
#E741B0
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020B
muted
#7A787C

Preview Lab

Preview with #291356

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

Preview Lab → · Contrast checker → · Palette generator →

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