#291575#291575

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

Color values

HEX#291575
RGBrgb(41, 21, 117)
HSLhsl(253, 70%, 27%)
HSVhsv(253, 82%, 46%)
CMYKcmyk(65%, 82.1%, 0%, 54.1%)
CIE-LABlab(16.95, 37.41, -50.96)
CIE-LCHlch(16.95, 63.22, 306.28°)
OKLaboklab(30.08% 0.0314 -0.147)
OKLCHoklch(30.08% 0.15 282)
XYZxyz(4.3925, 2.2918, 17.0371)
Luminance0.0229 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291575 #617515
analogous
#153175 #291575 #591575
triadic
#291575 #752915 #157529
tetradic
#291575 #751531 #617515 #157559
square
#291575 #751531 #617515 #157559
split-complementary
#291575 #755915 #317515
monochromatic
#09051A #170C41 #291575 #3B1EA9 #502BD9

Accessibility & contrast

On white

14.40
#291575 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #291575
14.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291575#FFFFFF#000000##FFFFFF
##2915751.0014.401.4614.40
#FFFFFF14.401.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.401.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #291575;
/* rgb */ color: rgb(41, 21, 117);
/* oklch */ color: oklch(30.1% 0.150 282.0);
Tailwind
colors: {
  custom: {
    50: '#6e569e',
    500: '#291575',
    950: '#000000',
  },
}
SCSS
$custom: #291575;
$custom-light: #6e569e;
$custom-dark: #000000;
JSON
{
  "hex": "#291575",
  "rgb": {
    "r": 41,
    "g": 21,
    "b": 117
  },
  "hsl": {
    "h": 252.5,
    "s": 69.565,
    "l": 27.059
  },
  "oklch": {
    "l": 0.30083,
    "c": 0.15033,
    "h": 282
  },
  "luminance": 0.02292
}

Semantic roles & 50–950 ramp

primary
#291575
secondary
#94AB3B
accent
#EC3BC8
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08030E
muted
#7B787E

Preview Lab

Preview with #291575

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

Preview Lab → · Contrast checker → · Palette generator →

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