#291573#291573

#291573 is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.9% C 0.148 H 282.5°. Best body text is #FFFFFF at 14.49:1 contrast (WCAG AA passes).

Color values

HEX#291573
RGBrgb(41, 21, 115)
HSLhsl(253, 69%, 27%)
HSVhsv(253, 82%, 45%)
CMYKcmyk(64.3%, 81.7%, 0%, 54.9%)
CIE-LABlab(16.72, 36.78, -50.04)
CIE-LCHlch(16.72, 62.10, 306.31°)
OKLaboklab(29.86% 0.032 -0.1443)
OKLCHoklch(29.86% 0.148 282.5)
XYZxyz(4.2762, 2.2452, 16.4244)
Luminance0.0225 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291573 #5F7315
analogous
#153073 #291573 #581573
triadic
#291573 #732915 #157329
tetradic
#291573 #731530 #5F7315 #157358
square
#291573 #731530 #5F7315 #157358
split-complementary
#291573 #735815 #307315
monochromatic
#09051A #170C3F #291573 #3B1EA7 #4F2AD8

Accessibility & contrast

On white

14.49
#291573 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#291573 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291573
14.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291573#FFFFFF#000000##FFFFFF
##2915731.0014.491.4514.49
#FFFFFF14.491.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.491.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #291573;
/* rgb */ color: rgb(41, 21, 115);
/* oklch */ color: oklch(29.9% 0.148 282.5);
Tailwind
colors: {
  custom: {
    50: '#6e569c',
    500: '#291573',
    950: '#000000',
  },
}
SCSS
$custom: #291573;
$custom-light: #6e569c;
$custom-dark: #000000;
JSON
{
  "hex": "#291573",
  "rgb": {
    "r": 41,
    "g": 21,
    "b": 115
  },
  "hsl": {
    "h": 252.766,
    "s": 69.118,
    "l": 26.667
  },
  "oklch": {
    "l": 0.2986,
    "c": 0.14783,
    "h": 282.5
  },
  "luminance": 0.02246
}

Semantic roles & 50–950 ramp

primary
#291573
secondary
#92A93B
accent
#EC3CC6
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08030E
muted
#7B787E

Preview Lab

Preview with #291573

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

Preview Lab → · Contrast checker → · Palette generator →

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