#291D61#291D61

#291D61 is a dark, moderate violet. Relative luminance 0.022; OKLCH L 29.2% C 0.115 H 284.9°. Best body text is #FFFFFF at 14.56:1 contrast (WCAG AA passes).

Color values

HEX#291D61
RGBrgb(41, 29, 97)
HSLhsl(251, 54%, 25%)
HSVhsv(251, 70%, 38%)
CMYKcmyk(57.7%, 70.1%, 0%, 62%)
CIE-LABlab(16.57, 26.14, -38.52)
CIE-LCHlch(16.57, 46.55, 304.16°)
OKLaboklab(29.19% 0.0294 -0.1106)
OKLCHoklch(29.19% 0.115 284.9)
XYZxyz(3.5108, 2.2130, 11.5491)
Luminance0.0221 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291D61 #55611D
analogous
#1D3361 #291D61 #4B1D61
triadic
#291D61 #61291D #1D6129
tetradic
#291D61 #611D33 #55611D #1D614B
square
#291D61 #611D33 #55611D #1D614B
split-complementary
#291D61 #614B1D #33611D
monochromatic
#0A0718 #150F32 #291D61 #3D2B90 #5139BF

Accessibility & contrast

On white

14.56
#291D61 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#291D61 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291D61
14.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291D61#FFFFFF#000000##FFFFFF
##291D611.0014.561.4414.56
#FFFFFF14.561.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B63
Deuteranopia (green-blind)
#002760
Tritanopia (blue-blind)
#112E3C
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #291d61;
/* rgb */ color: rgb(41, 29, 97);
/* oklch */ color: oklch(29.2% 0.115 284.9);
Tailwind
colors: {
  custom: {
    50: '#695a8f',
    500: '#291d61',
    950: '#000000',
  },
}
SCSS
$custom: #291d61;
$custom-light: #695a8f;
$custom-dark: #000000;
JSON
{
  "hex": "#291d61",
  "rgb": {
    "r": 41,
    "g": 29,
    "b": 97
  },
  "hsl": {
    "h": 250.588,
    "s": 53.968,
    "l": 24.706
  },
  "oklch": {
    "l": 0.29191,
    "c": 0.1145,
    "h": 284.9
  },
  "luminance": 0.02213
}

Semantic roles & 50–950 ramp

primary
#291D61
secondary
#889644
accent
#DD4AC3
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#07030C
muted
#7A787D

Preview Lab

Preview with #291D61

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

Preview Lab → · Contrast checker → · Palette generator →

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