#291E5D#291E5D

#291E5D is a dark, moderate violet. Relative luminance 0.022; OKLCH L 29.0% C 0.107 H 285.6°. Best body text is #FFFFFF at 14.60:1 contrast (WCAG AA passes).

Color values

HEX#291E5D
RGBrgb(41, 30, 93)
HSLhsl(250, 51%, 24%)
HSVhsv(250, 68%, 36%)
CMYKcmyk(55.9%, 67.7%, 0%, 63.5%)
CIE-LABlab(16.45, 24.11, -36.05)
CIE-LCHlch(16.45, 43.37, 303.77°)
OKLaboklab(29% 0.0288 -0.1034)
OKLCHoklch(29% 0.107 285.6)
XYZxyz(3.3539, 2.1901, 10.5998)
Luminance0.0219 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291E5D #525D1E
analogous
#1E335D #291E5D #491E5D
triadic
#291E5D #5D291E #1E5D29
tetradic
#291E5D #5D1E33 #525D1E #1E5D49
square
#291E5D #5D1E33 #525D1E #1E5D49
split-complementary
#291E5D #5D491E #335D1E
monochromatic
#0A0717 #150F2F #291E5D #3D2D8B #523CBA

Accessibility & contrast

On white

14.60
#291E5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #291E5D
14.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291E5D#FFFFFF#000000##FFFFFF
##291E5D1.0014.601.4414.60
#FFFFFF14.601.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A5F
Deuteranopia (green-blind)
#00275C
Tritanopia (blue-blind)
#152D3A
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #291e5d;
/* rgb */ color: rgb(41, 30, 93);
/* oklch */ color: oklch(29.0% 0.107 285.6);
Tailwind
colors: {
  custom: {
    50: '#685a8b',
    500: '#291e5d',
    950: '#000000',
  },
}
SCSS
$custom: #291e5d;
$custom-light: #685a8b;
$custom-dark: #000000;
JSON
{
  "hex": "#291e5d",
  "rgb": {
    "r": 41,
    "g": 30,
    "b": 93
  },
  "hsl": {
    "h": 250.476,
    "s": 51.22,
    "l": 24.118
  },
  "oklch": {
    "l": 0.28997,
    "c": 0.10731,
    "h": 285.6
  },
  "luminance": 0.0219
}

Semantic roles & 50–950 ramp

primary
#291E5D
secondary
#849245
accent
#DB4DC2
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#07040C
muted
#7A797D

Preview Lab

Preview with #291E5D

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

Preview Lab → · Contrast checker → · Palette generator →

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