#291D5E#291D5E

#291D5E is a dark, moderate violet. Relative luminance 0.022; OKLCH L 28.9% C 0.110 H 285.7°. Best body text is #FFFFFF at 14.67:1 contrast (WCAG AA passes).

Color values

HEX#291D5E
RGBrgb(41, 29, 94)
HSLhsl(251, 53%, 24%)
HSVhsv(251, 69%, 37%)
CMYKcmyk(56.4%, 69.1%, 0%, 63.1%)
CIE-LABlab(16.30, 25.11, -36.97)
CIE-LCHlch(16.30, 44.69, 304.19°)
OKLaboklab(28.91% 0.0298 -0.1061)
OKLCHoklch(28.91% 0.11 285.7)
XYZxyz(3.3736, 2.1581, 10.8263)
Luminance0.0216 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291D5E #525E1D
analogous
#1D325E #291D5E #4A1D5E
triadic
#291D5E #5E291D #1D5E29
tetradic
#291D5E #5E1D32 #525E1D #1D5E4A
square
#291D5E #5E1D32 #525E1D #1D5E4A
split-complementary
#291D5E #5E4A1D #325E1D
monochromatic
#0A0717 #150F2F #291D5E #3D2B8D #523ABC

Accessibility & contrast

On white

14.67
#291D5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#291D5E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291D5E
14.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291D5E#FFFFFF#000000##FFFFFF
##291D5E1.0014.671.4314.67
#FFFFFF14.671.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A60
Deuteranopia (green-blind)
#00265D
Tritanopia (blue-blind)
#142D3A
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #291d5e;
/* rgb */ color: rgb(41, 29, 94);
/* oklch */ color: oklch(28.9% 0.110 285.7);
Tailwind
colors: {
  custom: {
    50: '#695a8c',
    500: '#291d5e',
    950: '#000000',
  },
}
SCSS
$custom: #291d5e;
$custom-light: #695a8c;
$custom-dark: #000000;
JSON
{
  "hex": "#291d5e",
  "rgb": {
    "r": 41,
    "g": 29,
    "b": 94
  },
  "hsl": {
    "h": 251.077,
    "s": 52.846,
    "l": 24.118
  },
  "oklch": {
    "l": 0.2891,
    "c": 0.11021,
    "h": 285.7
  },
  "luminance": 0.02158
}

Semantic roles & 50–950 ramp

primary
#291D5E
secondary
#849344
accent
#DC4CC2
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#07030C
muted
#7A787D

Preview Lab

Preview with #291D5E

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

Preview Lab → · Contrast checker → · Palette generator →

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