#291867#291867

#291867 is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.0% C 0.129 H 284.9°. Best body text is #FFFFFF at 14.78:1 contrast (WCAG AA passes).

Color values

HEX#291867
RGBrgb(41, 24, 103)
HSLhsl(253, 62%, 25%)
HSVhsv(253, 77%, 40%)
CMYKcmyk(60.2%, 76.7%, 0%, 59.6%)
CIE-LABlab(16.02, 31.25, -43.37)
CIE-LCHlch(16.02, 53.46, 305.77°)
OKLaboklab(28.98% 0.0331 -0.1249)
OKLCHoklch(28.98% 0.129 284.9)
XYZxyz(3.6885, 2.1037, 13.0410)
Luminance0.0210 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291867 #566718
analogous
#182F67 #291867 #501867
triadic
#291867 #672918 #186729
tetradic
#291867 #67182F #566718 #186750
square
#291867 #67182F #566718 #186750
split-complementary
#291867 #675018 #2F6718
monochromatic
#0A0619 #150C35 #291867 #3D2499 #512FCA

Accessibility & contrast

On white

14.78
#291867 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#291867 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291867
14.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291867#FFFFFF#000000##FFFFFF
##2918671.0014.781.4214.78
#FFFFFF14.781.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A69
Deuteranopia (green-blind)
#002566
Tritanopia (blue-blind)
#0A2E3E
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #291867;
/* rgb */ color: rgb(41, 24, 103);
/* oklch */ color: oklch(29.0% 0.129 284.9);
Tailwind
colors: {
  custom: {
    50: '#6b5793',
    500: '#291867',
    950: '#000000',
  },
}
SCSS
$custom: #291867;
$custom-light: #6b5793;
$custom-dark: #000000;
JSON
{
  "hex": "#291867",
  "rgb": {
    "r": 41,
    "g": 24,
    "b": 103
  },
  "hsl": {
    "h": 252.911,
    "s": 62.205,
    "l": 24.902
  },
  "oklch": {
    "l": 0.28979,
    "c": 0.12919,
    "h": 284.9
  },
  "luminance": 0.02104
}

Semantic roles & 50–950 ramp

primary
#291867
secondary
#899D3E
accent
#E543C2
background
#F6F5F9
surface
#ECE9F1
border
#C7C5CB
text
#07030D
muted
#7A787E

Preview Lab

Preview with #291867

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

Preview Lab → · Contrast checker → · Palette generator →

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