#291E4E#291E4E

#291E4E is a dark, moderate violet. Relative luminance 0.019; OKLCH L 27.7% C 0.085 H 290.3°. Best body text is #FFFFFF at 15.11:1 contrast (WCAG AA passes).

Color values

HEX#291E4E
RGBrgb(41, 30, 78)
HSLhsl(254, 44%, 21%)
HSVhsv(254, 62%, 31%)
CMYKcmyk(47.4%, 61.5%, 0%, 69.4%)
CIE-LABlab(15.22, 18.98, -27.92)
CIE-LCHlch(15.22, 33.77, 304.21°)
OKLaboklab(27.7% 0.0294 -0.0795)
OKLCHoklch(27.7% 0.085 290.3)
XYZxyz(2.7535, 1.9499, 7.4375)
Luminance0.0195 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291E4E #434E1E
analogous
#1E2B4E #291E4E #411E4E
triadic
#291E4E #4E291E #1E4E29
tetradic
#291E4E #4E1E2B #434E1E #1E4E41
square
#291E4E #4E1E2B #434E1E #1E4E41
split-complementary
#291E4E #4E411E #2B4E1E
monochromatic
#0C0916 #120D22 #291E4E #402F7A #5740A6

Accessibility & contrast

On white

15.11
#291E4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#291E4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291E4E
15.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291E4E#FFFFFF#000000##FFFFFF
##291E4E1.0015.111.3915.11
#FFFFFF15.111.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#052750
Deuteranopia (green-blind)
#06254D
Tritanopia (blue-blind)
#1E2832
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #291e4e;
/* rgb */ color: rgb(41, 30, 78);
/* oklch */ color: oklch(27.7% 0.085 290.3);
Tailwind
colors: {
  custom: {
    50: '#665a80',
    500: '#291e4e',
    950: '#000000',
  },
}
SCSS
$custom: #291e4e;
$custom-light: #665a80;
$custom-dark: #000000;
JSON
{
  "hex": "#291e4e",
  "rgb": {
    "r": 41,
    "g": 30,
    "b": 78
  },
  "hsl": {
    "h": 253.75,
    "s": 44.444,
    "l": 21.176
  },
  "oklch": {
    "l": 0.27703,
    "c": 0.08477,
    "h": 290.3
  },
  "luminance": 0.0195
}

Semantic roles & 50–950 ramp

primary
#291E4E
secondary
#758345
accent
#D454B7
background
#F6F5F7
surface
#EBE9EE
border
#C6C5C9
text
#06030A
muted
#7A787C

Preview Lab

Preview with #291E4E

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

Preview Lab → · Contrast checker → · Palette generator →

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