#291A61#291A61

#291A61 is a dark, moderate violet. Relative luminance 0.021; OKLCH L 28.7% C 0.119 H 285.9°. Best body text is #FFFFFF at 14.85:1 contrast (WCAG AA passes).

Color values

HEX#291A61
RGBrgb(41, 26, 97)
HSLhsl(253, 58%, 24%)
HSVhsv(253, 73%, 38%)
CMYKcmyk(57.7%, 73.2%, 0%, 62%)
CIE-LABlab(15.87, 28.05, -39.67)
CIE-LCHlch(15.87, 48.58, 305.27°)
OKLaboklab(28.69% 0.0325 -0.114)
OKLCHoklch(28.69% 0.119 285.9)
XYZxyz(3.4409, 2.0731, 11.5258)
Luminance0.0207 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291A61 #52611A
analogous
#1A2F61 #291A61 #4D1A61
triadic
#291A61 #61291A #1A6129
tetradic
#291A61 #611A2F #52611A #1A614D
square
#291A61 #611A2F #52611A #1A614D
split-complementary
#291A61 #614D1A #2F611A
monochromatic
#0A0618 #150D31 #291A61 #3D2791 #5234C2

Accessibility & contrast

On white

14.85
#291A61 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#291A61 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291A61
14.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291A61#FFFFFF#000000##FFFFFF
##291A611.0014.851.4114.85
#FFFFFF14.851.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002963
Deuteranopia (green-blind)
#002560
Tritanopia (blue-blind)
#112C3B
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #291a61;
/* rgb */ color: rgb(41, 26, 97);
/* oklch */ color: oklch(28.7% 0.119 285.9);
Tailwind
colors: {
  custom: {
    50: '#6a588f',
    500: '#291a61',
    950: '#000000',
  },
}
SCSS
$custom: #291a61;
$custom-light: #6a588f;
$custom-dark: #000000;
JSON
{
  "hex": "#291a61",
  "rgb": {
    "r": 41,
    "g": 26,
    "b": 97
  },
  "hsl": {
    "h": 252.676,
    "s": 57.724,
    "l": 24.118
  },
  "oklch": {
    "l": 0.28686,
    "c": 0.11857,
    "h": 285.9
  },
  "luminance": 0.02073
}

Semantic roles & 50–950 ramp

primary
#291A61
secondary
#849740
accent
#E147C0
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#07030C
muted
#7A787D

Preview Lab

Preview with #291A61

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

Preview Lab → · Contrast checker → · Palette generator →

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