#291D65#291D65

#291D65 is a dark, vivid violet. Relative luminance 0.023; OKLCH L 29.6% C 0.120 H 283.9°. Best body text is #FFFFFF at 14.40:1 contrast (WCAG AA passes).

Color values

HEX#291D65
RGBrgb(41, 29, 101)
HSLhsl(250, 55%, 25%)
HSVhsv(250, 71%, 40%)
CMYKcmyk(59.4%, 71.3%, 0%, 60.4%)
CIE-LABlab(16.94, 27.51, -40.56)
CIE-LCHlch(16.94, 49.01, 304.15°)
OKLaboklab(29.57% 0.0288 -0.1166)
OKLCHoklch(29.57% 0.12 283.9)
XYZxyz(3.7021, 2.2895, 12.5562)
Luminance0.0229 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291D65 #59651D
analogous
#1D3565 #291D65 #4D1D65
triadic
#291D65 #65291D #1D6529
tetradic
#291D65 #651D35 #59651D #1D654D
square
#291D65 #651D35 #59651D #1D654D
split-complementary
#291D65 #654D1D #35651D
monochromatic
#0A0718 #160F35 #291D65 #3C2B95 #5038C4

Accessibility & contrast

On white

14.40
#291D65 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#291D65 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291D65
14.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291D65#FFFFFF#000000##FFFFFF
##291D651.0014.401.4614.40
#FFFFFF14.401.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C67
Deuteranopia (green-blind)
#002764
Tritanopia (blue-blind)
#0C2F3E
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #291d65;
/* rgb */ color: rgb(41, 29, 101);
/* oklch */ color: oklch(29.6% 0.120 283.9);
Tailwind
colors: {
  custom: {
    50: '#6a5a92',
    500: '#291d65',
    950: '#000000',
  },
}
SCSS
$custom: #291d65;
$custom-light: #6a5a92;
$custom-dark: #000000;
JSON
{
  "hex": "#291d65",
  "rgb": {
    "r": 41,
    "g": 29,
    "b": 101
  },
  "hsl": {
    "h": 250,
    "s": 55.385,
    "l": 25.49
  },
  "oklch": {
    "l": 0.29574,
    "c": 0.12014,
    "h": 283.9
  },
  "luminance": 0.0229
}

Semantic roles & 50–950 ramp

primary
#291D65
secondary
#8C9A44
accent
#DF49C6
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#07040D
muted
#7A797E

Preview Lab

Preview with #291D65

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

Preview Lab → · Contrast checker → · Palette generator →

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