#291A72#291A72

#291A72 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.4% C 0.141 H 281.7°. Best body text is #FFFFFF at 14.14:1 contrast (WCAG AA passes).

Color values

HEX#291A72
RGBrgb(41, 26, 114)
HSLhsl(250, 63%, 27%)
HSVhsv(250, 77%, 45%)
CMYKcmyk(64%, 77.2%, 0%, 55.3%)
CIE-LABlab(17.57, 33.72, -48.00)
CIE-LCHlch(17.57, 58.66, 305.09°)
OKLaboklab(30.42% 0.0288 -0.1384)
OKLCHoklch(30.42% 0.141 281.7)
XYZxyz(4.3202, 2.4248, 16.1567)
Luminance0.0243 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291A72 #63721A
analogous
#1A3772 #291A72 #551A72
triadic
#291A72 #72291A #1A7229
tetradic
#291A72 #721A37 #63721A #1A7255
square
#291A72 #721A37 #63721A #1A7255
split-complementary
#291A72 #72551A #37721A
monochromatic
#090619 #170F40 #291A72 #3B25A4 #5035D1

Accessibility & contrast

On white

14.14
#291A72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#291A72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291A72
14.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291A72#FFFFFF#000000##FFFFFF
##291A721.0014.141.4914.14
#FFFFFF14.141.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E75
Deuteranopia (green-blind)
#002870
Tritanopia (blue-blind)
#003344
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #291a72;
/* rgb */ color: rgb(41, 26, 114);
/* oklch */ color: oklch(30.4% 0.141 281.7);
Tailwind
colors: {
  custom: {
    50: '#6d589b',
    500: '#291a72',
    950: '#000000',
  },
}
SCSS
$custom: #291a72;
$custom-light: #6d589b;
$custom-dark: #000000;
JSON
{
  "hex": "#291a72",
  "rgb": {
    "r": 41,
    "g": 26,
    "b": 114
  },
  "hsl": {
    "h": 250.227,
    "s": 62.857,
    "l": 27.451
  },
  "oklch": {
    "l": 0.30424,
    "c": 0.14136,
    "h": 281.7
  },
  "luminance": 0.02425
}

Semantic roles & 50–950 ramp

primary
#291A72
secondary
#96A741
accent
#E642CA
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08030E
muted
#7A787E

Preview Lab

Preview with #291A72

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

Preview Lab → · Contrast checker → · Palette generator →

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