#291C66#291C66

#291C66 is a dark, vivid violet. Relative luminance 0.023; OKLCH L 29.5% C 0.123 H 284.0°. Best body text is #FFFFFF at 14.46:1 contrast (WCAG AA passes).

Color values

HEX#291C66
RGBrgb(41, 28, 102)
HSLhsl(251, 57%, 25%)
HSVhsv(251, 73%, 40%)
CMYKcmyk(59.8%, 72.5%, 0%, 60%)
CIE-LABlab(16.80, 28.49, -41.44)
CIE-LCHlch(16.80, 50.29, 304.50°)
OKLaboklab(29.51% 0.0297 -0.1192)
OKLCHoklch(29.51% 0.123 284)
XYZxyz(3.7272, 2.2610, 12.8078)
Luminance0.0226 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291C66 #59661C
analogous
#1C3466 #291C66 #4E1C66
triadic
#291C66 #66291C #1C6629
tetradic
#291C66 #661C34 #59661C #1C664E
square
#291C66 #661C34 #59661C #1C664E
split-complementary
#291C66 #664E1C #34661C
monochromatic
#0A0718 #160F36 #291C66 #3C2996 #5036C6

Accessibility & contrast

On white

14.46
#291C66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#291C66 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291C66
14.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291C66#FFFFFF#000000##FFFFFF
##291C661.0014.461.4514.46
#FFFFFF14.461.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C68
Deuteranopia (green-blind)
#002765
Tritanopia (blue-blind)
#0B2F3E
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #291c66;
/* rgb */ color: rgb(41, 28, 102);
/* oklch */ color: oklch(29.5% 0.123 284.0);
Tailwind
colors: {
  custom: {
    50: '#6a5992',
    500: '#291c66',
    950: '#000000',
  },
}
SCSS
$custom: #291c66;
$custom-light: #6a5992;
$custom-dark: #000000;
JSON
{
  "hex": "#291c66",
  "rgb": {
    "r": 41,
    "g": 28,
    "b": 102
  },
  "hsl": {
    "h": 250.541,
    "s": 56.923,
    "l": 25.49
  },
  "oklch": {
    "l": 0.29505,
    "c": 0.12285,
    "h": 284
  },
  "luminance": 0.02261
}

Semantic roles & 50–950 ramp

primary
#291C66
secondary
#8C9B43
accent
#E048C5
background
#F6F5F9
surface
#ECE9F1
border
#C7C5CB
text
#07030D
muted
#7A787E

Preview Lab

Preview with #291C66

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

Preview Lab → · Contrast checker → · Palette generator →

#291C66 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva