#291869#291869

#291869 is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.2% C 0.132 H 284.3°. Best body text is #FFFFFF at 14.70:1 contrast (WCAG AA passes).

Color values

HEX#291869
RGBrgb(41, 24, 105)
HSLhsl(253, 63%, 25%)
HSVhsv(253, 77%, 41%)
CMYKcmyk(61%, 77.1%, 0%, 58.8%)
CIE-LABlab(16.23, 31.91, -44.35)
CIE-LCHlch(16.23, 54.64, 305.73°)
OKLaboklab(29.19% 0.0326 -0.1277)
OKLCHoklch(29.19% 0.132 284.3)
XYZxyz(3.7901, 2.1444, 13.5760)
Luminance0.0215 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291869 #586918
analogous
#182F69 #291869 #521869
triadic
#291869 #692918 #186929
tetradic
#291869 #69182F #586918 #186952
square
#291869 #69182F #586918 #186952
split-complementary
#291869 #695218 #2F6918
monochromatic
#0A0619 #160D37 #291869 #3C239B #502FCD

Accessibility & contrast

On white

14.70
#291869 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#291869 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291869
14.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291869#FFFFFF#000000##FFFFFF
##2918691.0014.701.4314.70
#FFFFFF14.701.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B6B
Deuteranopia (green-blind)
#002667
Tritanopia (blue-blind)
#062E3F
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #291869;
/* rgb */ color: rgb(41, 24, 105);
/* oklch */ color: oklch(29.2% 0.132 284.3);
Tailwind
colors: {
  custom: {
    50: '#6b5795',
    500: '#291869',
    950: '#000000',
  },
}
SCSS
$custom: #291869;
$custom-light: #6b5795;
$custom-dark: #000000;
JSON
{
  "hex": "#291869",
  "rgb": {
    "r": 41,
    "g": 24,
    "b": 105
  },
  "hsl": {
    "h": 252.593,
    "s": 62.791,
    "l": 25.294
  },
  "oklch": {
    "l": 0.29187,
    "c": 0.13183,
    "h": 284.3
  },
  "luminance": 0.02145
}

Semantic roles & 50–950 ramp

primary
#291869
secondary
#8B9F3E
accent
#E642C3
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030D
muted
#7A787E

Preview Lab

Preview with #291869

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

Preview Lab → · Contrast checker → · Palette generator →

#291869 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva