#291190#291190

#291190 is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.8% C 0.186 H 277.4°. Best body text is #FFFFFF at 13.31:1 contrast (WCAG AA passes).

Color values

HEX#291190
RGBrgb(41, 17, 144)
HSLhsl(251, 79%, 32%)
HSVhsv(251, 88%, 56%)
CMYKcmyk(71.5%, 88.2%, 0%, 43.5%)
CIE-LABlab(19.58, 47.34, -63.70)
CIE-LCHlch(19.58, 79.37, 306.62°)
OKLaboklab(32.83% 0.0239 -0.184)
OKLCHoklch(32.83% 0.186 277.4)
XYZxyz(6.1473, 2.8854, 26.6131)
Luminance0.0289 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291190 #789011
analogous
#113890 #291190 #691190
triadic
#291190 #902911 #119029
tetradic
#291190 #901138 #789011 #119069
square
#291190 #901138 #789011 #119069
split-complementary
#291190 #906911 #389011
monochromatic
#0A0423 #190B59 #291190 #3917C7 #5634E7

Accessibility & contrast

On white

13.31
#291190 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#291190 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291190
13.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291190#FFFFFF#000000##FFFFFF
##2911901.0013.311.5813.31
#FFFFFF13.311.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003493
Deuteranopia (green-blind)
#002A8E
Tritanopia (blue-blind)
#003C54
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #291190;
/* rgb */ color: rgb(41, 17, 144);
/* oklch */ color: oklch(32.8% 0.186 277.4);
Tailwind
colors: {
  custom: {
    50: '#7556b2',
    500: '#291190',
    950: '#000000',
  },
}
SCSS
$custom: #291190;
$custom-light: #7556b2;
$custom-dark: #000000;
JSON
{
  "hex": "#291190",
  "rgb": {
    "r": 41,
    "g": 17,
    "b": 144
  },
  "hsl": {
    "h": 251.339,
    "s": 78.882,
    "l": 31.569
  },
  "oklch": {
    "l": 0.32834,
    "c": 0.18554,
    "h": 277.4
  },
  "luminance": 0.02886
}

Semantic roles & 50–950 ramp

primary
#291190
secondary
#AAC439
accent
#F532D1
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0311
muted
#7C7880

Preview Lab

Preview with #291190

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

Preview Lab → · Contrast checker → · Palette generator →

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