#291C65#291C65

#291C65 is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.4% C 0.121 H 284.2°. Best body text is #FFFFFF at 14.50:1 contrast (WCAG AA passes).

Color values

HEX#291C65
RGBrgb(41, 28, 101)
HSLhsl(251, 57%, 25%)
HSVhsv(251, 72%, 40%)
CMYKcmyk(59.4%, 72.3%, 0%, 60.4%)
CIE-LABlab(16.71, 28.15, -40.94)
CIE-LCHlch(16.71, 49.68, 304.51°)
OKLaboklab(29.41% 0.0298 -0.1177)
OKLCHoklch(29.41% 0.121 284.2)
XYZxyz(3.6780, 2.2413, 12.5482)
Luminance0.0224 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291C65 #58651C
analogous
#1C3365 #291C65 #4D1C65
triadic
#291C65 #65291C #1C6529
tetradic
#291C65 #651C33 #58651C #1C654D
square
#291C65 #651C33 #58651C #1C654D
split-complementary
#291C65 #654D1C #33651C
monochromatic
#0A0718 #160F35 #291C65 #3C2995 #5037C5

Accessibility & contrast

On white

14.50
#291C65 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #291C65
14.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291C65#FFFFFF#000000##FFFFFF
##291C651.0014.501.4514.50
#FFFFFF14.501.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B67
Deuteranopia (green-blind)
#002764
Tritanopia (blue-blind)
#0C2F3E
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #291c65;
/* rgb */ color: rgb(41, 28, 101);
/* oklch */ color: oklch(29.4% 0.121 284.2);
Tailwind
colors: {
  custom: {
    50: '#6a5992',
    500: '#291c65',
    950: '#000000',
  },
}
SCSS
$custom: #291c65;
$custom-light: #6a5992;
$custom-dark: #000000;
JSON
{
  "hex": "#291c65",
  "rgb": {
    "r": 41,
    "g": 28,
    "b": 101
  },
  "hsl": {
    "h": 250.685,
    "s": 56.589,
    "l": 25.294
  },
  "oklch": {
    "l": 0.29406,
    "c": 0.12147,
    "h": 284.2
  },
  "luminance": 0.02242
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #291C65

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

Preview Lab → · Contrast checker → · Palette generator →

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