#291060#291060

#291060 is a dark, vivid violet. Relative luminance 0.017; OKLCH L 27.2% C 0.129 H 288.9°. Best body text is #FFFFFF at 15.70:1 contrast (WCAG AA passes).

Color values

HEX#291060
RGBrgb(41, 16, 96)
HSLhsl(259, 71%, 22%)
HSVhsv(259, 83%, 38%)
CMYKcmyk(57.3%, 83.3%, 0%, 62.4%)
CIE-LABlab(13.75, 33.41, -42.48)
CIE-LCHlch(13.75, 54.04, 308.18°)
OKLaboklab(27.16% 0.0418 -0.1222)
OKLCHoklch(27.16% 0.129 288.9)
XYZxyz(3.2104, 1.6864, 11.2204)
Luminance0.0169 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291060 #476010
analogous
#101F60 #291060 #511060
triadic
#291060 #602910 #106029
tetradic
#291060 #60101F #476010 #106051
square
#291060 #60101F #476010 #106051
split-complementary
#291060 #605110 #1F6010
monochromatic
#0B041A #13072C #291060 #3F1994 #5621C9

Accessibility & contrast

On white

15.70
#291060 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#291060 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291060
15.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291060#FFFFFF#000000##FFFFFF
##2910601.0015.701.3415.70
#FFFFFF15.701.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002562
Deuteranopia (green-blind)
#00215F
Tritanopia (blue-blind)
#132738
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #291060;
/* rgb */ color: rgb(41, 16, 96);
/* oklch */ color: oklch(27.2% 0.129 288.9);
Tailwind
colors: {
  custom: {
    50: '#6a528e',
    500: '#291060',
    950: '#000000',
  },
}
SCSS
$custom: #291060;
$custom-light: #6a528e;
$custom-dark: #000000;
JSON
{
  "hex": "#291060",
  "rgb": {
    "r": 41,
    "g": 16,
    "b": 96
  },
  "hsl": {
    "h": 258.75,
    "s": 71.429,
    "l": 21.961
  },
  "oklch": {
    "l": 0.27157,
    "c": 0.12913,
    "h": 288.9
  },
  "luminance": 0.01687
}

Semantic roles & 50–950 ramp

primary
#291060
secondary
#799933
accent
#EE3AB6
background
#F6F4F8
surface
#ECE7F0
border
#C7C3CB
text
#07020C
muted
#7A787D

Preview Lab

Preview with #291060

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

Preview Lab → · Contrast checker → · Palette generator →

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