#291973#291973

#291973 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.4% C 0.144 H 281.7°. Best body text is #FFFFFF at 14.18:1 contrast (WCAG AA passes).

Color values

HEX#291973
RGBrgb(41, 25, 115)
HSLhsl(251, 64%, 27%)
HSVhsv(251, 78%, 45%)
CMYKcmyk(64.3%, 78.3%, 0%, 54.9%)
CIE-LABlab(17.48, 34.62, -48.80)
CIE-LCHlch(17.48, 59.83, 305.35°)
OKLaboklab(30.39% 0.0293 -0.1407)
OKLCHoklch(30.39% 0.144 281.7)
XYZxyz(4.3556, 2.4042, 16.4509)
Luminance0.0240 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291973 #637319
analogous
#193673 #291973 #561973
triadic
#291973 #732919 #197329
tetradic
#291973 #731936 #637319 #197356
square
#291973 #731936 #637319 #197356
split-complementary
#291973 #735619 #367319
monochromatic
#090519 #170E41 #291973 #3B24A5 #5034D3

Accessibility & contrast

On white

14.18
#291973 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#291973 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291973
14.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291973#FFFFFF#000000##FFFFFF
##2919731.0014.181.4814.18
#FFFFFF14.181.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E76
Deuteranopia (green-blind)
#002871
Tritanopia (blue-blind)
#003345
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #291973;
/* rgb */ color: rgb(41, 25, 115);
/* oklch */ color: oklch(30.4% 0.144 281.7);
Tailwind
colors: {
  custom: {
    50: '#6d589c',
    500: '#291973',
    950: '#000000',
  },
}
SCSS
$custom: #291973;
$custom-light: #6d589c;
$custom-dark: #000000;
JSON
{
  "hex": "#291973",
  "rgb": {
    "r": 41,
    "g": 25,
    "b": 115
  },
  "hsl": {
    "h": 250.667,
    "s": 64.286,
    "l": 27.451
  },
  "oklch": {
    "l": 0.30388,
    "c": 0.14375,
    "h": 281.7
  },
  "luminance": 0.02404
}

Semantic roles & 50–950 ramp

primary
#291973
secondary
#96A840
accent
#E741CA
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08030E
muted
#7B787E

Preview Lab

Preview with #291973

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

Preview Lab → · Contrast checker → · Palette generator →

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