#291466#291466

#291466 is a dark, vivid violet. Relative luminance 0.019; OKLCH L 28.3% C 0.132 H 286.1°. Best body text is #FFFFFF at 15.15:1 contrast (WCAG AA passes).

Color values

HEX#291466
RGBrgb(41, 20, 102)
HSLhsl(255, 67%, 24%)
HSVhsv(255, 80%, 40%)
CMYKcmyk(59.8%, 80.4%, 0%, 60%)
CIE-LABlab(15.12, 33.19, -44.20)
CIE-LCHlch(15.12, 55.27, 306.90°)
OKLaboklab(28.31% 0.0367 -0.1272)
OKLCHoklch(28.31% 0.132 286.1)
XYZxyz(3.5622, 1.9308, 12.7528)
Luminance0.0193 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291466 #516614
analogous
#142866 #291466 #521466
triadic
#291466 #662914 #146629
tetradic
#291466 #661428 #516614 #146652
square
#291466 #661428 #516614 #146652
split-complementary
#291466 #665214 #286614
monochromatic
#0A051A #140A33 #291466 #3E1E99 #5228CC

Accessibility & contrast

On white

15.15
#291466 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #291466
15.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291466#FFFFFF#000000##FFFFFF
##2914661.0015.151.3915.15
#FFFFFF15.151.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002868
Deuteranopia (green-blind)
#002364
Tritanopia (blue-blind)
#0C2B3C
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #291466;
/* rgb */ color: rgb(41, 20, 102);
/* oklch */ color: oklch(28.3% 0.132 286.1);
Tailwind
colors: {
  custom: {
    50: '#6b5493',
    500: '#291466',
    950: '#000000',
  },
}
SCSS
$custom: #291466;
$custom-light: #6b5493;
$custom-dark: #000000;
JSON
{
  "hex": "#291466",
  "rgb": {
    "r": 41,
    "g": 20,
    "b": 102
  },
  "hsl": {
    "h": 255.366,
    "s": 67.213,
    "l": 23.922
  },
  "oklch": {
    "l": 0.28311,
    "c": 0.13244,
    "h": 286.1
  },
  "luminance": 0.01931
}

Semantic roles & 50–950 ramp

primary
#291466
secondary
#839D39
accent
#EA3EBE
background
#F6F5F9
surface
#ECE8F1
border
#C7C4CB
text
#07030D
muted
#7A787E

Preview Lab

Preview with #291466

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

Preview Lab → · Contrast checker → · Palette generator →

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