#291B66#291B66

#291B66 is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.3% C 0.124 H 284.3°. Best body text is #FFFFFF at 14.55:1 contrast (WCAG AA passes).

Color values

HEX#291B66
RGBrgb(41, 27, 102)
HSLhsl(251, 58%, 25%)
HSVhsv(251, 74%, 40%)
CMYKcmyk(59.8%, 73.5%, 0%, 60%)
CIE-LABlab(16.57, 29.11, -41.81)
CIE-LCHlch(16.57, 50.95, 304.85°)
OKLaboklab(29.34% 0.0306 -0.1203)
OKLCHoklch(29.34% 0.124 284.3)
XYZxyz(3.7039, 2.2144, 12.8000)
Luminance0.0221 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291B66 #58661B
analogous
#1B3266 #291B66 #4E1B66
triadic
#291B66 #66291B #1B6629
tetradic
#291B66 #661B32 #58661B #1B664E
square
#291B66 #661B32 #58661B #1B664E
split-complementary
#291B66 #664E1B #32661B
monochromatic
#0A0618 #160E36 #291B66 #3C2896 #5035C7

Accessibility & contrast

On white

14.55
#291B66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#291B66 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291B66
14.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291B66#FFFFFF#000000##FFFFFF
##291B661.0014.551.4414.55
#FFFFFF14.551.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B68
Deuteranopia (green-blind)
#002765
Tritanopia (blue-blind)
#0B2F3E
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #291b66;
/* rgb */ color: rgb(41, 27, 102);
/* oklch */ color: oklch(29.3% 0.124 284.3);
Tailwind
colors: {
  custom: {
    50: '#6a5992',
    500: '#291b66',
    950: '#000000',
  },
}
SCSS
$custom: #291b66;
$custom-light: #6a5992;
$custom-dark: #000000;
JSON
{
  "hex": "#291b66",
  "rgb": {
    "r": 41,
    "g": 27,
    "b": 102
  },
  "hsl": {
    "h": 251.2,
    "s": 58.14,
    "l": 25.294
  },
  "oklch": {
    "l": 0.29342,
    "c": 0.12414,
    "h": 284.3
  },
  "luminance": 0.02215
}

Semantic roles & 50–950 ramp

primary
#291B66
secondary
#8B9B41
accent
#E146C4
background
#F6F5F9
surface
#ECE9F1
border
#C7C5CB
text
#07030D
muted
#7A787E

Preview Lab

Preview with #291B66

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

Preview Lab → · Contrast checker → · Palette generator →

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