#291C6A#291C6A

#291C6A is a dark, vivid violet. Relative luminance 0.023; OKLCH L 29.9% C 0.128 H 283.0°. Best body text is #FFFFFF at 14.30:1 contrast (WCAG AA passes).

Color values

HEX#291C6A
RGBrgb(41, 28, 106)
HSLhsl(250, 58%, 26%)
HSVhsv(250, 74%, 42%)
CMYKcmyk(61.3%, 73.6%, 0%, 58.4%)
CIE-LABlab(17.19, 29.84, -43.43)
CIE-LCHlch(17.19, 52.69, 304.50°)
OKLaboklab(29.9% 0.0289 -0.125)
OKLCHoklch(29.9% 0.128 283)
XYZxyz(3.9304, 2.3423, 13.8779)
Luminance0.0234 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291C6A #5D6A1C
analogous
#1C366A #291C6A #501C6A
triadic
#291C6A #6A291C #1C6A29
tetradic
#291C6A #6A1C36 #5D6A1C #1C6A50
square
#291C6A #6A1C36 #5D6A1C #1C6A50
split-complementary
#291C6A #6A501C #366A1C
monochromatic
#090618 #160F3A #291C6A #3C299A #4F36CA

Accessibility & contrast

On white

14.30
#291C6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#291C6A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291C6A
14.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291C6A#FFFFFF#000000##FFFFFF
##291C6A1.0014.301.4714.30
#FFFFFF14.301.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D6C
Deuteranopia (green-blind)
#002869
Tritanopia (blue-blind)
#043140
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #291c6a;
/* rgb */ color: rgb(41, 28, 106);
/* oklch */ color: oklch(29.9% 0.128 283.0);
Tailwind
colors: {
  custom: {
    50: '#6b5995',
    500: '#291c6a',
    950: '#000000',
  },
}
SCSS
$custom: #291c6a;
$custom-light: #6b5995;
$custom-dark: #000000;
JSON
{
  "hex": "#291c6a",
  "rgb": {
    "r": 41,
    "g": 28,
    "b": 106
  },
  "hsl": {
    "h": 250,
    "s": 58.209,
    "l": 26.275
  },
  "oklch": {
    "l": 0.29902,
    "c": 0.12834,
    "h": 283
  },
  "luminance": 0.02343
}

Semantic roles & 50–950 ramp

primary
#291C6A
secondary
#909F43
accent
#E146C8
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030D
muted
#7A787E

Preview Lab

Preview with #291C6A

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

Preview Lab → · Contrast checker → · Palette generator →

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