#291B69#291B69

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

Color values

HEX#291B69
RGBrgb(41, 27, 105)
HSLhsl(251, 59%, 26%)
HSVhsv(251, 74%, 41%)
CMYKcmyk(61%, 74.3%, 0%, 58.8%)
CIE-LABlab(16.87, 30.12, -43.30)
CIE-LCHlch(16.87, 52.74, 304.82°)
OKLaboklab(29.64% 0.03 -0.1247)
OKLCHoklch(29.64% 0.128 283.5)
XYZxyz(3.8554, 2.2750, 13.5978)
Luminance0.0227 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291B69 #5B691B
analogous
#1B3469 #291B69 #501B69
triadic
#291B69 #69291B #1B6929
tetradic
#291B69 #691B34 #5B691B #1B6950
square
#291B69 #691B34 #5B691B #1B6950
split-complementary
#291B69 #69501B #34691B
monochromatic
#0A0618 #160E38 #291B69 #3C289A #4F34CA

Accessibility & contrast

On white

14.43
#291B69 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #291B69
14.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291B69#FFFFFF#000000##FFFFFF
##291B691.0014.431.4614.43
#FFFFFF14.431.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C6B
Deuteranopia (green-blind)
#002768
Tritanopia (blue-blind)
#063040
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #291b69;
/* rgb */ color: rgb(41, 27, 105);
/* oklch */ color: oklch(29.6% 0.128 283.5);
Tailwind
colors: {
  custom: {
    50: '#6b5995',
    500: '#291b69',
    950: '#000000',
  },
}
SCSS
$custom: #291b69;
$custom-light: #6b5995;
$custom-dark: #000000;
JSON
{
  "hex": "#291b69",
  "rgb": {
    "r": 41,
    "g": 27,
    "b": 105
  },
  "hsl": {
    "h": 250.769,
    "s": 59.091,
    "l": 25.882
  },
  "oklch": {
    "l": 0.29643,
    "c": 0.12823,
    "h": 283.5
  },
  "luminance": 0.02275
}

Semantic roles & 50–950 ramp

primary
#291B69
secondary
#8E9E42
accent
#E246C6
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030D
muted
#7A787E

Preview Lab

Preview with #291B69

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

Preview Lab → · Contrast checker → · Palette generator →

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