#291B6A#291B6A

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

Color values

HEX#291B6A
RGBrgb(41, 27, 106)
HSLhsl(251, 59%, 26%)
HSVhsv(251, 75%, 42%)
CMYKcmyk(61.3%, 74.5%, 0%, 58.4%)
CIE-LABlab(16.97, 30.46, -43.79)
CIE-LCHlch(16.97, 53.34, 304.82°)
OKLaboklab(29.74% 0.0298 -0.1261)
OKLCHoklch(29.74% 0.13 283.3)
XYZxyz(3.9071, 2.2956, 13.8701)
Luminance0.0230 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291B6A #5C6A1B
analogous
#1B346A #291B6A #501B6A
triadic
#291B6A #6A291B #1B6A29
tetradic
#291B6A #6A1B34 #5C6A1B #1B6A50
square
#291B6A #6A1B34 #5C6A1B #1B6A50
split-complementary
#291B6A #6A501B #346A1B
monochromatic
#090618 #160F39 #291B6A #3C279B #4F34CB

Accessibility & contrast

On white

14.39
#291B6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#291B6A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291B6A
14.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291B6A#FFFFFF#000000##FFFFFF
##291B6A1.0014.391.4614.39
#FFFFFF14.391.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.391.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #291b6a;
/* rgb */ color: rgb(41, 27, 106);
/* oklch */ color: oklch(29.7% 0.130 283.3);
Tailwind
colors: {
  custom: {
    50: '#6b5995',
    500: '#291b6a',
    950: '#000000',
  },
}
SCSS
$custom: #291b6a;
$custom-light: #6b5995;
$custom-dark: #000000;
JSON
{
  "hex": "#291b6a",
  "rgb": {
    "r": 41,
    "g": 27,
    "b": 106
  },
  "hsl": {
    "h": 250.633,
    "s": 59.398,
    "l": 26.078
  },
  "oklch": {
    "l": 0.29744,
    "c": 0.12958,
    "h": 283.3
  },
  "luminance": 0.02296
}

Semantic roles & 50–950 ramp

primary
#291B6A
secondary
#8F9F42
accent
#E345C7
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030D
muted
#7A787E

Preview Lab

Preview with #291B6A

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

Preview Lab → · Contrast checker → · Palette generator →

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