#291480#291480

#291480 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 31.2% C 0.165 H 279.9°. Best body text is #FFFFFF at 13.94:1 contrast (WCAG AA passes).

Color values

HEX#291480
RGBrgb(41, 20, 128)
HSLhsl(252, 73%, 29%)
HSVhsv(252, 84%, 50%)
CMYKcmyk(68%, 84.4%, 0%, 49.8%)
CIE-LABlab(18.05, 41.31, -56.18)
CIE-LCHlch(18.05, 69.73, 306.33°)
OKLaboklab(31.22% 0.0283 -0.1622)
OKLCHoklch(31.22% 0.165 279.9)
XYZxyz(5.0596, 2.5298, 20.6396)
Luminance0.0253 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291480 #6B8014
analogous
#143580 #291480 #5F1480
triadic
#291480 #802914 #148029
tetradic
#291480 #801435 #6B8014 #14805F
square
#291480 #801435 #6B8014 #14805F
split-complementary
#291480 #805F14 #358014
monochromatic
#08041A #180C4B #291480 #3A1CB5 #5230DF

Accessibility & contrast

On white

13.94
#291480 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#291480 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291480
13.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291480#FFFFFF#000000##FFFFFF
##2914801.0013.941.5113.94
#FFFFFF13.941.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003083
Deuteranopia (green-blind)
#00287E
Tritanopia (blue-blind)
#00364B
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #291480;
/* rgb */ color: rgb(41, 20, 128);
/* oklch */ color: oklch(31.2% 0.165 279.9);
Tailwind
colors: {
  custom: {
    50: '#7156a6',
    500: '#291480',
    950: '#000000',
  },
}
SCSS
$custom: #291480;
$custom-light: #7156a6;
$custom-dark: #000000;
JSON
{
  "hex": "#291480",
  "rgb": {
    "r": 41,
    "g": 20,
    "b": 128
  },
  "hsl": {
    "h": 251.667,
    "s": 72.973,
    "l": 29.02
  },
  "oklch": {
    "l": 0.31222,
    "c": 0.16463,
    "h": 279.9
  },
  "luminance": 0.0253
}

Semantic roles & 50–950 ramp

primary
#291480
secondary
#9DB53B
accent
#F038CC
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09030F
muted
#7B787F

Preview Lab

Preview with #291480

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

Preview Lab → · Contrast checker → · Palette generator →

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