#291473#291473

#291473 is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.7% C 0.149 H 282.7°. Best body text is #FFFFFF at 14.56:1 contrast (WCAG AA passes).

Color values

HEX#291473
RGBrgb(41, 20, 115)
HSLhsl(253, 70%, 26%)
HSVhsv(253, 83%, 45%)
CMYKcmyk(64.3%, 82.6%, 0%, 54.9%)
CIE-LABlab(16.55, 37.29, -50.33)
CIE-LCHlch(16.55, 62.64, 306.53°)
OKLaboklab(29.74% 0.0326 -0.1452)
OKLCHoklch(29.74% 0.149 282.7)
XYZxyz(4.2582, 2.2092, 16.4184)
Luminance0.0221 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291473 #5E7314
analogous
#142F73 #291473 #591473
triadic
#291473 #732914 #147329
tetradic
#291473 #73142F #5E7314 #147359
square
#291473 #73142F #5E7314 #147359
split-complementary
#291473 #735914 #2F7314
monochromatic
#09051A #160B3F #291473 #3C1DA7 #4F28DA

Accessibility & contrast

On white

14.56
#291473 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#291473 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291473
14.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291473#FFFFFF#000000##FFFFFF
##2914731.0014.561.4414.56
#FFFFFF14.561.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C76
Deuteranopia (green-blind)
#002671
Tritanopia (blue-blind)
#003044
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #291473;
/* rgb */ color: rgb(41, 20, 115);
/* oklch */ color: oklch(29.7% 0.149 282.7);
Tailwind
colors: {
  custom: {
    50: '#6e559c',
    500: '#291473',
    950: '#000000',
  },
}
SCSS
$custom: #291473;
$custom-light: #6e559c;
$custom-dark: #000000;
JSON
{
  "hex": "#291473",
  "rgb": {
    "r": 41,
    "g": 20,
    "b": 115
  },
  "hsl": {
    "h": 253.263,
    "s": 70.37,
    "l": 26.471
  },
  "oklch": {
    "l": 0.29737,
    "c": 0.14879,
    "h": 282.7
  },
  "luminance": 0.0221
}

Semantic roles & 50–950 ramp

primary
#291473
secondary
#91A93A
accent
#ED3BC6
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08030E
muted
#7B787E

Preview Lab

Preview with #291473

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

Preview Lab → · Contrast checker → · Palette generator →

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