#291576#291576

#291576 is a dark, vivid violet. Relative luminance 0.023; OKLCH L 30.2% C 0.152 H 281.8°. Best body text is #FFFFFF at 14.35:1 contrast (WCAG AA passes).

Color values

HEX#291576
RGBrgb(41, 21, 118)
HSLhsl(252, 70%, 27%)
HSVhsv(252, 82%, 46%)
CMYKcmyk(65.3%, 82.2%, 0%, 53.7%)
CIE-LABlab(17.06, 37.72, -51.42)
CIE-LCHlch(17.06, 63.77, 306.26°)
OKLaboklab(30.2% 0.031 -0.1483)
OKLCHoklch(30.2% 0.152 281.8)
XYZxyz(4.4516, 2.3154, 17.3484)
Luminance0.0232 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291576 #627615
analogous
#153276 #291576 #5A1576
triadic
#291576 #762915 #157629
tetradic
#291576 #761532 #627615 #15765A
square
#291576 #761532 #627615 #15765A
split-complementary
#291576 #765A15 #327615
monochromatic
#09051A #170C42 #291576 #3B1EAA #502CD9

Accessibility & contrast

On white

14.35
#291576 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #291576
14.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291576#FFFFFF#000000##FFFFFF
##2915761.0014.351.4614.35
#FFFFFF14.351.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.351.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #291576;
/* rgb */ color: rgb(41, 21, 118);
/* oklch */ color: oklch(30.2% 0.152 281.8);
Tailwind
colors: {
  custom: {
    50: '#6e569f',
    500: '#291576',
    950: '#000000',
  },
}
SCSS
$custom: #291576;
$custom-light: #6e569f;
$custom-dark: #000000;
JSON
{
  "hex": "#291576",
  "rgb": {
    "r": 41,
    "g": 21,
    "b": 118
  },
  "hsl": {
    "h": 252.371,
    "s": 69.784,
    "l": 27.255
  },
  "oklch": {
    "l": 0.30195,
    "c": 0.15156,
    "h": 281.8
  },
  "luminance": 0.02316
}

Semantic roles & 50–950 ramp

primary
#291576
secondary
#95AC3B
accent
#ED3BC8
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08030F
muted
#7B787E

Preview Lab

Preview with #291576

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

Preview Lab → · Contrast checker → · Palette generator →

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