#291471#291471

#291471 is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.5% C 0.146 H 283.1°. Best body text is #FFFFFF at 14.66:1 contrast (WCAG AA passes).

Color values

HEX#291471
RGBrgb(41, 20, 113)
HSLhsl(254, 70%, 26%)
HSVhsv(254, 82%, 44%)
CMYKcmyk(63.7%, 82.3%, 0%, 55.7%)
CIE-LABlab(16.32, 36.66, -49.41)
CIE-LCHlch(16.32, 61.52, 306.57°)
OKLaboklab(29.51% 0.0333 -0.1425)
OKLCHoklch(29.51% 0.146 283.1)
XYZxyz(4.1443, 2.1637, 15.8188)
Luminance0.0216 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291471 #5C7114
analogous
#142D71 #291471 #571471
triadic
#291471 #712914 #147129
tetradic
#291471 #71142D #5C7114 #147157
square
#291471 #71142D #5C7114 #147157
split-complementary
#291471 #715714 #2D7114
monochromatic
#09051A #160B3D #291471 #3C1DA5 #4F27D9

Accessibility & contrast

On white

14.66
#291471 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#291471 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291471
14.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291471#FFFFFF#000000##FFFFFF
##2914711.0014.661.4314.66
#FFFFFF14.661.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B74
Deuteranopia (green-blind)
#00256F
Tritanopia (blue-blind)
#003042
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #291471;
/* rgb */ color: rgb(41, 20, 113);
/* oklch */ color: oklch(29.5% 0.146 283.1);
Tailwind
colors: {
  custom: {
    50: '#6d559b',
    500: '#291471',
    950: '#000000',
  },
}
SCSS
$custom: #291471;
$custom-light: #6d559b;
$custom-dark: #000000;
JSON
{
  "hex": "#291471",
  "rgb": {
    "r": 41,
    "g": 20,
    "b": 113
  },
  "hsl": {
    "h": 253.548,
    "s": 69.925,
    "l": 26.078
  },
  "oklch": {
    "l": 0.29514,
    "c": 0.14631,
    "h": 283.1
  },
  "luminance": 0.02164
}

Semantic roles & 50–950 ramp

primary
#291471
secondary
#8FA739
accent
#ED3BC5
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08030E
muted
#7B787E

Preview Lab

Preview with #291471

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

Preview Lab → · Contrast checker → · Palette generator →

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