#291476#291476

#291476 is a dark, vivid violet. Relative luminance 0.023; OKLCH L 30.1% C 0.152 H 282.0°. Best body text is #FFFFFF at 14.42:1 contrast (WCAG AA passes).

Color values

HEX#291476
RGBrgb(41, 20, 118)
HSLhsl(253, 71%, 27%)
HSVhsv(253, 83%, 46%)
CMYKcmyk(65.3%, 83.1%, 0%, 53.7%)
CIE-LABlab(16.89, 38.22, -51.71)
CIE-LCHlch(16.89, 64.30, 306.47°)
OKLaboklab(30.08% 0.0316 -0.1492)
OKLCHoklch(30.08% 0.152 282)
XYZxyz(4.4336, 2.2794, 17.3424)
Luminance0.0228 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291476 #617614
analogous
#143076 #291476 #5A1476
triadic
#291476 #762914 #147629
tetradic
#291476 #761430 #617614 #14765A
square
#291476 #761430 #617614 #14765A
split-complementary
#291476 #765A14 #307614
monochromatic
#09041A #170B42 #291476 #3B1DAA #502ADB

Accessibility & contrast

On white

14.42
#291476 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#291476 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291476
14.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291476#FFFFFF#000000##FFFFFF
##2914761.0014.421.4614.42
#FFFFFF14.421.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D79
Deuteranopia (green-blind)
#002674
Tritanopia (blue-blind)
#003245
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #291476;
/* rgb */ color: rgb(41, 20, 118);
/* oklch */ color: oklch(30.1% 0.152 282.0);
Tailwind
colors: {
  custom: {
    50: '#6e559f',
    500: '#291476',
    950: '#000000',
  },
}
SCSS
$custom: #291476;
$custom-light: #6e559f;
$custom-dark: #000000;
JSON
{
  "hex": "#291476",
  "rgb": {
    "r": 41,
    "g": 20,
    "b": 118
  },
  "hsl": {
    "h": 252.857,
    "s": 71.014,
    "l": 27.059
  },
  "oklch": {
    "l": 0.30075,
    "c": 0.15249,
    "h": 282
  },
  "luminance": 0.0228
}

Semantic roles & 50–950 ramp

primary
#291476
secondary
#94AC3A
accent
#EE3AC7
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08030F
muted
#7B787E

Preview Lab

Preview with #291476

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

Preview Lab → · Contrast checker → · Palette generator →

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