#291A66#291A66

#291A66 is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.2% C 0.125 H 284.6°. Best body text is #FFFFFF at 14.64:1 contrast (WCAG AA passes).

Color values

HEX#291A66
RGBrgb(41, 26, 102)
HSLhsl(252, 59%, 25%)
HSVhsv(252, 75%, 40%)
CMYKcmyk(59.8%, 74.5%, 0%, 60%)
CIE-LABlab(16.35, 29.72, -42.18)
CIE-LCHlch(16.35, 51.60, 305.18°)
OKLaboklab(29.18% 0.0315 -0.1214)
OKLCHoklch(29.18% 0.125 284.6)
XYZxyz(3.6814, 2.1693, 12.7925)
Luminance0.0217 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291A66 #57661A
analogous
#1A3166 #291A66 #4F1A66
triadic
#291A66 #66291A #1A6629
tetradic
#291A66 #661A31 #57661A #1A664F
square
#291A66 #661A31 #57661A #1A664F
split-complementary
#291A66 #664F1A #31661A
monochromatic
#0A0618 #150E35 #291A66 #3D2697 #5033C8

Accessibility & contrast

On white

14.64
#291A66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#291A66 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291A66
14.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291A66#FFFFFF#000000##FFFFFF
##291A661.0014.641.4314.64
#FFFFFF14.641.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.641.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #291a66;
/* rgb */ color: rgb(41, 26, 102);
/* oklch */ color: oklch(29.2% 0.125 284.6);
Tailwind
colors: {
  custom: {
    50: '#6b5892',
    500: '#291a66',
    950: '#000000',
  },
}
SCSS
$custom: #291a66;
$custom-light: #6b5892;
$custom-dark: #000000;
JSON
{
  "hex": "#291a66",
  "rgb": {
    "r": 41,
    "g": 26,
    "b": 102
  },
  "hsl": {
    "h": 251.842,
    "s": 59.375,
    "l": 25.098
  },
  "oklch": {
    "l": 0.29183,
    "c": 0.1254,
    "h": 284.6
  },
  "luminance": 0.0217
}

Semantic roles & 50–950 ramp

primary
#291A66
secondary
#8A9C40
accent
#E345C4
background
#F6F5F9
surface
#ECE9F1
border
#C7C5CB
text
#07030D
muted
#7A787E

Preview Lab

Preview with #291A66

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

Preview Lab → · Contrast checker → · Palette generator →

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