#291490#291490

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

Color values

HEX#291490
RGBrgb(41, 20, 144)
HSLhsl(250, 76%, 32%)
HSVhsv(250, 86%, 56%)
CMYKcmyk(71.5%, 86.1%, 0%, 43.5%)
CIE-LABlab(19.98, 46.14, -63.03)
CIE-LCHlch(19.98, 78.12, 306.21°)
OKLaboklab(33.11% 0.0229 -0.1821)
OKLCHoklch(33.11% 0.184 277.2)
XYZxyz(6.1970, 2.9848, 26.6297)
Luminance0.0299 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291490 #7B9014
analogous
#143D90 #291490 #671490
triadic
#291490 #902914 #149029
tetradic
#291490 #90143D #7B9014 #149067
square
#291490 #90143D #7B9014 #149067
split-complementary
#291490 #906714 #3D9014
monochromatic
#0A0525 #1A0D5A #291490 #381BC6 #573BE4

Accessibility & contrast

On white

13.15
#291490 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#291490 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291490
13.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291490#FFFFFF#000000##FFFFFF
##2914901.0013.151.6013.15
#FFFFFF13.151.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.151.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #291490;
/* rgb */ color: rgb(41, 20, 144);
/* oklch */ color: oklch(33.1% 0.184 277.2);
Tailwind
colors: {
  custom: {
    50: '#7457b2',
    500: '#291490',
    950: '#000000',
  },
}
SCSS
$custom: #291490;
$custom-light: #7457b2;
$custom-dark: #000000;
JSON
{
  "hex": "#291490",
  "rgb": {
    "r": 41,
    "g": 20,
    "b": 144
  },
  "hsl": {
    "h": 250.161,
    "s": 75.61,
    "l": 32.157
  },
  "oklch": {
    "l": 0.3311,
    "c": 0.18354,
    "h": 277.2
  },
  "luminance": 0.02985
}

Semantic roles & 50–950 ramp

primary
#291490
secondary
#ACC33D
accent
#F236D2
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0311
muted
#7C7880

Preview Lab

Preview with #291490

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

Preview Lab → · Contrast checker → · Palette generator →

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