#291090#291090

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

Color values

HEX#291090
RGBrgb(41, 16, 144)
HSLhsl(252, 80%, 31%)
HSVhsv(252, 89%, 56%)
CMYKcmyk(71.5%, 88.9%, 0%, 43.5%)
CIE-LABlab(19.45, 47.72, -63.91)
CIE-LCHlch(19.45, 79.76, 306.75°)
OKLaboklab(32.75% 0.0242 -0.1846)
OKLCHoklch(32.75% 0.186 277.5)
XYZxyz(6.1322, 2.8551, 26.6081)
Luminance0.0286 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291090 #779010
analogous
#103790 #291090 #691090
triadic
#291090 #902910 #109029
tetradic
#291090 #901037 #779010 #109069
square
#291090 #901037 #779010 #109069
split-complementary
#291090 #906910 #379010
monochromatic
#0A0422 #190A59 #291090 #3916C7 #5632E8

Accessibility & contrast

On white

13.37
#291090 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#291090 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291090
13.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291090#FFFFFF#000000##FFFFFF
##2910901.0013.371.5713.37
#FFFFFF13.371.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.371.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #291090;
/* rgb */ color: rgb(41, 16, 144);
/* oklch */ color: oklch(32.7% 0.186 277.5);
Tailwind
colors: {
  custom: {
    50: '#7556b2',
    500: '#291090',
    950: '#000000',
  },
}
SCSS
$custom: #291090;
$custom-light: #7556b2;
$custom-dark: #000000;
JSON
{
  "hex": "#291090",
  "rgb": {
    "r": 41,
    "g": 16,
    "b": 144
  },
  "hsl": {
    "h": 251.719,
    "s": 80,
    "l": 31.373
  },
  "oklch": {
    "l": 0.32749,
    "c": 0.18615,
    "h": 277.5
  },
  "luminance": 0.02856
}

Semantic roles & 50–950 ramp

primary
#291090
secondary
#A9C437
accent
#F631D0
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0311
muted
#7C7880

Preview Lab

Preview with #291090

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

Preview Lab → · Contrast checker → · Palette generator →

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