#291366#291366

#291366 is a dark, vivid violet. Relative luminance 0.019; OKLCH L 28.2% C 0.134 H 286.3°. Best body text is #FFFFFF at 15.23:1 contrast (WCAG AA passes).

Color values

HEX#291366
RGBrgb(41, 19, 102)
HSLhsl(256, 69%, 24%)
HSVhsv(256, 81%, 40%)
CMYKcmyk(59.8%, 81.4%, 0%, 60%)
CIE-LABlab(14.93, 33.72, -44.51)
CIE-LCHlch(14.93, 55.84, 307.15°)
OKLaboklab(28.18% 0.0375 -0.1281)
OKLCHoklch(28.18% 0.134 286.3)
XYZxyz(3.5449, 1.8963, 12.7470)
Luminance0.0190 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291366 #506613
analogous
#132666 #291366 #521366
triadic
#291366 #662913 #136629
tetradic
#291366 #661326 #506613 #136652
square
#291366 #661326 #506613 #136652
split-complementary
#291366 #665213 #266613
monochromatic
#0A051A #140932 #291366 #3E1D9A #5226CD

Accessibility & contrast

On white

15.23
#291366 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #291366
15.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291366#FFFFFF#000000##FFFFFF
##2913661.0015.231.3815.23
#FFFFFF15.231.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.231.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: #291366;
/* rgb */ color: rgb(41, 19, 102);
/* oklch */ color: oklch(28.2% 0.134 286.3);
Tailwind
colors: {
  custom: {
    50: '#6b5493',
    500: '#291366',
    950: '#000000',
  },
}
SCSS
$custom: #291366;
$custom-light: #6b5493;
$custom-dark: #000000;
JSON
{
  "hex": "#291366",
  "rgb": {
    "r": 41,
    "g": 19,
    "b": 102
  },
  "hsl": {
    "h": 255.904,
    "s": 68.595,
    "l": 23.725
  },
  "oklch": {
    "l": 0.28181,
    "c": 0.13351,
    "h": 286.3
  },
  "luminance": 0.01896
}

Semantic roles & 50–950 ramp

primary
#291366
secondary
#829D37
accent
#EB3CBD
background
#F6F4F9
surface
#ECE8F1
border
#C7C4CB
text
#07030D
muted
#7A787E

Preview Lab

Preview with #291366

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

Preview Lab → · Contrast checker → · Palette generator →

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