#291664#291664

#291664 is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.4% C 0.128 H 286.2°. Best body text is #FFFFFF at 15.08:1 contrast (WCAG AA passes).

Color values

HEX#291664
RGBrgb(41, 22, 100)
HSLhsl(255, 64%, 24%)
HSVhsv(255, 78%, 39%)
CMYKcmyk(59%, 78%, 0%, 60.8%)
CIE-LABlab(15.30, 31.43, -42.58)
CIE-LCHlch(15.30, 52.92, 306.44°)
OKLaboklab(28.38% 0.0356 -0.1225)
OKLCHoklch(28.38% 0.128 286.2)
XYZxyz(3.5009, 1.9651, 12.2490)
Luminance0.0197 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291664 #516416
analogous
#162A64 #291664 #501664
triadic
#291664 #642916 #166429
tetradic
#291664 #64162A #516416 #166450
square
#291664 #64162A #516416 #166450
split-complementary
#291664 #645016 #2A6416
monochromatic
#0A0619 #140B32 #291664 #3E2196 #522CC8

Accessibility & contrast

On white

15.08
#291664 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#291664 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291664
15.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291664#FFFFFF#000000##FFFFFF
##2916641.0015.081.3915.08
#FFFFFF15.081.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002866
Deuteranopia (green-blind)
#002463
Tritanopia (blue-blind)
#0E2B3B
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #291664;
/* rgb */ color: rgb(41, 22, 100);
/* oklch */ color: oklch(28.4% 0.128 286.2);
Tailwind
colors: {
  custom: {
    50: '#6b5591',
    500: '#291664',
    950: '#000000',
  },
}
SCSS
$custom: #291664;
$custom-light: #6b5591;
$custom-dark: #000000;
JSON
{
  "hex": "#291664",
  "rgb": {
    "r": 41,
    "g": 22,
    "b": 100
  },
  "hsl": {
    "h": 254.615,
    "s": 63.934,
    "l": 23.922
  },
  "oklch": {
    "l": 0.28377,
    "c": 0.12759,
    "h": 286.2
  },
  "luminance": 0.01965
}

Semantic roles & 50–950 ramp

primary
#291664
secondary
#839B3B
accent
#E741BE
background
#F6F5F9
surface
#ECE9F1
border
#C7C5CB
text
#07030D
muted
#7A787E

Preview Lab

Preview with #291664

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

Preview Lab → · Contrast checker → · Palette generator →

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