#291464#291464

#291464 is a dark, vivid violet. Relative luminance 0.019; OKLCH L 28.1% C 0.130 H 286.7°. Best body text is #FFFFFF at 15.24:1 contrast (WCAG AA passes).

Color values

HEX#291464
RGBrgb(41, 20, 100)
HSLhsl(256, 67%, 24%)
HSVhsv(256, 80%, 39%)
CMYKcmyk(59%, 80%, 0%, 60.8%)
CIE-LABlab(14.91, 32.55, -43.23)
CIE-LCHlch(14.91, 54.11, 306.98°)
OKLaboklab(28.1% 0.0373 -0.1244)
OKLCHoklch(28.1% 0.13 286.7)
XYZxyz(3.4642, 1.8916, 12.2367)
Luminance0.0189 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291464 #4F6414
analogous
#142764 #291464 #511464
triadic
#291464 #642914 #146429
tetradic
#291464 #641427 #4F6414 #146451
square
#291464 #641427 #4F6414 #146451
split-complementary
#291464 #645114 #276414
monochromatic
#0A051A #140A31 #291464 #3E1E97 #5328CA

Accessibility & contrast

On white

15.24
#291464 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#291464 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291464
15.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291464#FFFFFF#000000##FFFFFF
##2914641.0015.241.3815.24
#FFFFFF15.241.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002766
Deuteranopia (green-blind)
#002363
Tritanopia (blue-blind)
#0E2A3B
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #291464;
/* rgb */ color: rgb(41, 20, 100);
/* oklch */ color: oklch(28.1% 0.130 286.7);
Tailwind
colors: {
  custom: {
    50: '#6b5491',
    500: '#291464',
    950: '#000000',
  },
}
SCSS
$custom: #291464;
$custom-light: #6b5491;
$custom-dark: #000000;
JSON
{
  "hex": "#291464",
  "rgb": {
    "r": 41,
    "g": 20,
    "b": 100
  },
  "hsl": {
    "h": 255.75,
    "s": 66.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.28099,
    "c": 0.12988,
    "h": 286.7
  },
  "luminance": 0.01892
}

Semantic roles & 50–950 ramp

primary
#291464
secondary
#819B38
accent
#EA3EBD
background
#F6F4F9
surface
#ECE8F1
border
#C7C4CB
text
#07030D
muted
#7A787E

Preview Lab

Preview with #291464

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

Preview Lab → · Contrast checker → · Palette generator →

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