#291164#291164

#291164 is a dark, vivid violet. Relative luminance 0.018; OKLCH L 27.7% C 0.133 H 287.3°. Best body text is #FFFFFF at 15.46:1 contrast (WCAG AA passes).

Color values

HEX#291164
RGBrgb(41, 17, 100)
HSLhsl(257, 71%, 23%)
HSVhsv(257, 83%, 39%)
CMYKcmyk(59%, 83%, 0%, 60.8%)
CIE-LABlab(14.36, 34.13, -44.13)
CIE-LCHlch(14.36, 55.79, 307.72°)
OKLaboklab(27.71% 0.0397 -0.127)
OKLCHoklch(27.71% 0.133 287.3)
XYZxyz(3.4145, 1.7922, 12.2201)
Luminance0.0179 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291164 #4C6411
analogous
#112364 #291164 #521164
triadic
#291164 #642911 #116429
tetradic
#291164 #641123 #4C6411 #116452
square
#291164 #641123 #4C6411 #116452
split-complementary
#291164 #645211 #236411
monochromatic
#0B041A #140830 #291164 #3E1A98 #5423CD

Accessibility & contrast

On white

15.46
#291164 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#291164 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291164
15.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291164#FFFFFF#000000##FFFFFF
##2911641.0015.461.3615.46
#FFFFFF15.461.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002666
Deuteranopia (green-blind)
#002262
Tritanopia (blue-blind)
#0F293A
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #291164;
/* rgb */ color: rgb(41, 17, 100);
/* oklch */ color: oklch(27.7% 0.133 287.3);
Tailwind
colors: {
  custom: {
    50: '#6b5391',
    500: '#291164',
    950: '#000000',
  },
}
SCSS
$custom: #291164;
$custom-light: #6b5391;
$custom-dark: #000000;
JSON
{
  "hex": "#291164",
  "rgb": {
    "r": 41,
    "g": 17,
    "b": 100
  },
  "hsl": {
    "h": 257.349,
    "s": 70.94,
    "l": 22.941
  },
  "oklch": {
    "l": 0.27713,
    "c": 0.13308,
    "h": 287.3
  },
  "luminance": 0.01792
}

Semantic roles & 50–950 ramp

primary
#291164
secondary
#7E9C35
accent
#EE3ABA
background
#F6F4F9
surface
#ECE7F1
border
#C7C3CB
text
#07020D
muted
#7A787E

Preview Lab

Preview with #291164

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

Preview Lab → · Contrast checker → · Palette generator →

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