#291290#291290

#291290 is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.9% C 0.185 H 277.3°. Best body text is #FFFFFF at 13.26:1 contrast (WCAG AA passes).

Color values

HEX#291290
RGBrgb(41, 18, 144)
HSLhsl(251, 78%, 32%)
HSVhsv(251, 88%, 56%)
CMYKcmyk(71.5%, 87.5%, 0%, 43.5%)
CIE-LABlab(19.71, 46.96, -63.49)
CIE-LCHlch(19.71, 78.97, 306.49°)
OKLaboklab(32.92% 0.0236 -0.1834)
OKLCHoklch(32.92% 0.185 277.3)
XYZxyz(6.1632, 2.9171, 26.6184)
Luminance0.0292 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291290 #799012
analogous
#123A90 #291290 #681290
triadic
#291290 #902912 #129029
tetradic
#291290 #90123A #799012 #129068
square
#291290 #90123A #799012 #129068
split-complementary
#291290 #906812 #3A9012
monochromatic
#0A0423 #1A0B5A #291290 #3819C6 #5636E6

Accessibility & contrast

On white

13.26
#291290 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #291290
13.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291290#FFFFFF#000000##FFFFFF
##2912901.0013.261.5813.26
#FFFFFF13.261.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.261.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #291290;
/* rgb */ color: rgb(41, 18, 144);
/* oklch */ color: oklch(32.9% 0.185 277.3);
Tailwind
colors: {
  custom: {
    50: '#7557b2',
    500: '#291290',
    950: '#000000',
  },
}
SCSS
$custom: #291290;
$custom-light: #7557b2;
$custom-dark: #000000;
JSON
{
  "hex": "#291290",
  "rgb": {
    "r": 41,
    "g": 18,
    "b": 144
  },
  "hsl": {
    "h": 250.952,
    "s": 77.778,
    "l": 31.765
  },
  "oklch": {
    "l": 0.32923,
    "c": 0.18489,
    "h": 277.3
  },
  "luminance": 0.02918
}

Semantic roles & 50–950 ramp

primary
#291290
secondary
#ABC43A
accent
#F434D1
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0311
muted
#7C7880

Preview Lab

Preview with #291290

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

Preview Lab → · Contrast checker → · Palette generator →

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