#291A6A#291A6A

#291A6A is a dark, vivid violet. Relative luminance 0.023; OKLCH L 29.6% C 0.131 H 283.6°. Best body text is #FFFFFF at 14.48:1 contrast (WCAG AA passes).

Color values

HEX#291A6A
RGBrgb(41, 26, 106)
HSLhsl(251, 61%, 26%)
HSVhsv(251, 75%, 42%)
CMYKcmyk(61.3%, 75.5%, 0%, 58.4%)
CIE-LABlab(16.75, 31.06, -44.15)
CIE-LCHlch(16.75, 53.98, 305.13°)
OKLaboklab(29.59% 0.0307 -0.1272)
OKLCHoklch(29.59% 0.131 283.6)
XYZxyz(3.8846, 2.2506, 13.8626)
Luminance0.0225 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291A6A #5B6A1A
analogous
#1A336A #291A6A #511A6A
triadic
#291A6A #6A291A #1A6A29
tetradic
#291A6A #6A1A33 #5B6A1A #1A6A51
square
#291A6A #6A1A33 #5B6A1A #1A6A51
split-complementary
#291A6A #6A511A #336A1A
monochromatic
#0A0619 #160E39 #291A6A #3C269B #4F32CC

Accessibility & contrast

On white

14.48
#291A6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #291A6A
14.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291A6A#FFFFFF#000000##FFFFFF
##291A6A1.0014.481.4514.48
#FFFFFF14.481.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C6C
Deuteranopia (green-blind)
#002768
Tritanopia (blue-blind)
#043040
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #291a6a;
/* rgb */ color: rgb(41, 26, 106);
/* oklch */ color: oklch(29.6% 0.131 283.6);
Tailwind
colors: {
  custom: {
    50: '#6b5895',
    500: '#291a6a',
    950: '#000000',
  },
}
SCSS
$custom: #291a6a;
$custom-light: #6b5895;
$custom-dark: #000000;
JSON
{
  "hex": "#291a6a",
  "rgb": {
    "r": 41,
    "g": 26,
    "b": 106
  },
  "hsl": {
    "h": 251.25,
    "s": 60.606,
    "l": 25.882
  },
  "oklch": {
    "l": 0.29589,
    "c": 0.1308,
    "h": 283.6
  },
  "luminance": 0.02251
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #291A6A

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

Preview Lab → · Contrast checker → · Palette generator →

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