#291390#291390

#291390 is a dark, vivid violet. Relative luminance 0.030; OKLCH L 33.0% C 0.184 H 277.3°. Best body text is #FFFFFF at 13.21:1 contrast (WCAG AA passes).

Color values

HEX#291390
RGBrgb(41, 19, 144)
HSLhsl(251, 77%, 32%)
HSVhsv(251, 87%, 56%)
CMYKcmyk(71.5%, 86.8%, 0%, 43.5%)
CIE-LABlab(19.84, 46.56, -63.27)
CIE-LCHlch(19.84, 78.55, 306.35°)
OKLaboklab(33.02% 0.0233 -0.1827)
OKLCHoklch(33.02% 0.184 277.3)
XYZxyz(6.1797, 2.9502, 26.6239)
Luminance0.0295 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291390 #7A9013
analogous
#133C90 #291390 #681390
triadic
#291390 #902913 #139029
tetradic
#291390 #90133C #7A9013 #139068
square
#291390 #90133C #7A9013 #139068
split-complementary
#291390 #906813 #3C9013
monochromatic
#0A0524 #1A0C5A #291390 #381AC6 #5739E5

Accessibility & contrast

On white

13.21
#291390 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#291390 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291390
13.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291390#FFFFFF#000000##FFFFFF
##2913901.0013.211.5913.21
#FFFFFF13.211.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.211.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #291390;
/* rgb */ color: rgb(41, 19, 144);
/* oklch */ color: oklch(33.0% 0.184 277.3);
Tailwind
colors: {
  custom: {
    50: '#7457b2',
    500: '#291390',
    950: '#000000',
  },
}
SCSS
$custom: #291390;
$custom-light: #7457b2;
$custom-dark: #000000;
JSON
{
  "hex": "#291390",
  "rgb": {
    "r": 41,
    "g": 19,
    "b": 144
  },
  "hsl": {
    "h": 250.56,
    "s": 76.687,
    "l": 31.961
  },
  "oklch": {
    "l": 0.33015,
    "c": 0.18422,
    "h": 277.3
  },
  "luminance": 0.02951
}

Semantic roles & 50–950 ramp

primary
#291390
secondary
#ACC43B
accent
#F335D2
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0311
muted
#7C7880

Preview Lab

Preview with #291390

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

Preview Lab → · Contrast checker → · Palette generator →

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