#291C67#291C67

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

Color values

HEX#291C67
RGBrgb(41, 28, 103)
HSLhsl(250, 57%, 26%)
HSVhsv(250, 73%, 40%)
CMYKcmyk(60.2%, 72.8%, 0%, 59.6%)
CIE-LABlab(16.90, 28.82, -41.94)
CIE-LCHlch(16.90, 50.89, 304.50°)
OKLaboklab(29.6% 0.0295 -0.1207)
OKLCHoklch(29.6% 0.124 283.7)
XYZxyz(3.7771, 2.2810, 13.0706)
Luminance0.0228 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291C67 #5A671C
analogous
#1C3467 #291C67 #4E1C67
triadic
#291C67 #67291C #1C6729
tetradic
#291C67 #671C34 #5A671C #1C674E
square
#291C67 #671C34 #5A671C #1C674E
split-complementary
#291C67 #674E1C #34671C
monochromatic
#0A0718 #160F37 #291C67 #3C2997 #4F36C7

Accessibility & contrast

On white

14.42
#291C67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #291C67
14.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291C67#FFFFFF#000000##FFFFFF
##291C671.0014.421.4614.42
#FFFFFF14.421.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C69
Deuteranopia (green-blind)
#002766
Tritanopia (blue-blind)
#09303F
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #291c67;
/* rgb */ color: rgb(41, 28, 103);
/* oklch */ color: oklch(29.6% 0.124 283.7);
Tailwind
colors: {
  custom: {
    50: '#6b5993',
    500: '#291c67',
    950: '#000000',
  },
}
SCSS
$custom: #291c67;
$custom-light: #6b5993;
$custom-dark: #000000;
JSON
{
  "hex": "#291c67",
  "rgb": {
    "r": 41,
    "g": 28,
    "b": 103
  },
  "hsl": {
    "h": 250.4,
    "s": 57.252,
    "l": 25.686
  },
  "oklch": {
    "l": 0.29603,
    "c": 0.12424,
    "h": 283.7
  },
  "luminance": 0.02281
}

Semantic roles & 50–950 ramp

primary
#291C67
secondary
#8D9C43
accent
#E147C6
background
#F6F5F9
surface
#ECE9F1
border
#C7C5CB
text
#07030D
muted
#7A787E

Preview Lab

Preview with #291C67

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

Preview Lab → · Contrast checker → · Palette generator →

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