#291280#291280

#291280 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 31.0% C 0.166 H 280.1°. Best body text is #FFFFFF at 14.07:1 contrast (WCAG AA passes).

Color values

HEX#291280
RGBrgb(41, 18, 128)
HSLhsl(253, 75%, 29%)
HSVhsv(253, 86%, 50%)
CMYKcmyk(68%, 85.9%, 0%, 49.8%)
CIE-LABlab(17.75, 42.21, -56.68)
CIE-LCHlch(17.75, 70.67, 306.67°)
OKLaboklab(31.01% 0.0292 -0.1636)
OKLCHoklch(31.01% 0.166 280.1)
XYZxyz(5.0258, 2.4621, 20.6283)
Luminance0.0246 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291280 #698012
analogous
#123280 #291280 #601280
triadic
#291280 #802912 #128029
tetradic
#291280 #801232 #698012 #128060
square
#291280 #801232 #698012 #128060
split-complementary
#291280 #806012 #328012
monochromatic
#09041B #180A4A #291280 #3A1AB6 #512BE1

Accessibility & contrast

On white

14.07
#291280 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#291280 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291280
14.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291280#FFFFFF#000000##FFFFFF
##2912801.0014.071.4914.07
#FFFFFF14.071.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F83
Deuteranopia (green-blind)
#00277E
Tritanopia (blue-blind)
#00354B
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #291280;
/* rgb */ color: rgb(41, 18, 128);
/* oklch */ color: oklch(31.0% 0.166 280.1);
Tailwind
colors: {
  custom: {
    50: '#7155a6',
    500: '#291280',
    950: '#000000',
  },
}
SCSS
$custom: #291280;
$custom-light: #7155a6;
$custom-dark: #000000;
JSON
{
  "hex": "#291280",
  "rgb": {
    "r": 41,
    "g": 18,
    "b": 128
  },
  "hsl": {
    "h": 252.545,
    "s": 75.342,
    "l": 28.627
  },
  "oklch": {
    "l": 0.31011,
    "c": 0.16621,
    "h": 280.1
  },
  "luminance": 0.02463
}

Semantic roles & 50–950 ramp

primary
#291280
secondary
#9BB638
accent
#F236CB
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09030F
muted
#7B787F

Preview Lab

Preview with #291280

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

Preview Lab → · Contrast checker → · Palette generator →

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