#291A6B#291A6B

#291A6B is a dark, vivid violet. Relative luminance 0.023; OKLCH L 29.7% C 0.132 H 283.3°. Best body text is #FFFFFF at 14.44:1 contrast (WCAG AA passes).

Color values

HEX#291A6B
RGBrgb(41, 26, 107)
HSLhsl(251, 61%, 26%)
HSVhsv(251, 76%, 42%)
CMYKcmyk(61.7%, 75.7%, 0%, 58%)
CIE-LABlab(16.85, 31.39, -44.63)
CIE-LCHlch(16.85, 54.57, 305.12°)
OKLaboklab(29.69% 0.0304 -0.1286)
OKLCHoklch(29.69% 0.132 283.3)
XYZxyz(3.9369, 2.2715, 14.1381)
Luminance0.0227 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291A6B #5C6B1A
analogous
#1A336B #291A6B #511A6B
triadic
#291A6B #6B291A #1A6B29
tetradic
#291A6B #6B1A33 #5C6B1A #1A6B51
square
#291A6B #6B1A33 #5C6B1A #1A6B51
split-complementary
#291A6B #6B511A #336B1A
monochromatic
#090619 #160E3A #291A6B #3C269C #4F32CD

Accessibility & contrast

On white

14.44
#291A6B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#291A6B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291A6B
14.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291A6B#FFFFFF#000000##FFFFFF
##291A6B1.0014.441.4514.44
#FFFFFF14.441.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C6D
Deuteranopia (green-blind)
#002769
Tritanopia (blue-blind)
#033040
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #291a6b;
/* rgb */ color: rgb(41, 26, 107);
/* oklch */ color: oklch(29.7% 0.132 283.3);
Tailwind
colors: {
  custom: {
    50: '#6c5896',
    500: '#291a6b',
    950: '#000000',
  },
}
SCSS
$custom: #291a6b;
$custom-light: #6c5896;
$custom-dark: #000000;
JSON
{
  "hex": "#291a6b",
  "rgb": {
    "r": 41,
    "g": 26,
    "b": 107
  },
  "hsl": {
    "h": 251.111,
    "s": 60.902,
    "l": 26.078
  },
  "oklch": {
    "l": 0.29692,
    "c": 0.13212,
    "h": 283.3
  },
  "luminance": 0.02272
}

Semantic roles & 50–950 ramp

primary
#291A6B
secondary
#8FA040
accent
#E444C6
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030D
muted
#7A787E

Preview Lab

Preview with #291A6B

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

Preview Lab → · Contrast checker → · Palette generator →

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