#291C60#291C60

#291C60 is a dark, moderate violet. Relative luminance 0.021; OKLCH L 28.9% C 0.114 H 285.5°. Best body text is #FFFFFF at 14.69:1 contrast (WCAG AA passes).

Color values

HEX#291C60
RGBrgb(41, 28, 96)
HSLhsl(251, 55%, 24%)
HSVhsv(251, 71%, 38%)
CMYKcmyk(57.3%, 70.8%, 0%, 62.4%)
CIE-LABlab(16.24, 26.44, -38.40)
CIE-LCHlch(16.24, 46.62, 304.55°)
OKLaboklab(28.92% 0.0306 -0.1103)
OKLCHoklch(28.92% 0.114 285.5)
XYZxyz(3.4404, 2.1463, 11.2970)
Luminance0.0215 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291C60 #53601C
analogous
#1C3160 #291C60 #4B1C60
triadic
#291C60 #60291C #1C6029
tetradic
#291C60 #601C31 #53601C #1C604B
square
#291C60 #601C31 #53601C #1C604B
split-complementary
#291C60 #604B1C #31601C
monochromatic
#0A0718 #150E31 #291C60 #3D2A8F #5138BF

Accessibility & contrast

On white

14.69
#291C60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #291C60
14.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291C60#FFFFFF#000000##FFFFFF
##291C601.0014.691.4314.69
#FFFFFF14.691.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A62
Deuteranopia (green-blind)
#00265F
Tritanopia (blue-blind)
#122D3B
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #291c60;
/* rgb */ color: rgb(41, 28, 96);
/* oklch */ color: oklch(28.9% 0.114 285.5);
Tailwind
colors: {
  custom: {
    50: '#69598e',
    500: '#291c60',
    950: '#000000',
  },
}
SCSS
$custom: #291c60;
$custom-light: #69598e;
$custom-dark: #000000;
JSON
{
  "hex": "#291c60",
  "rgb": {
    "r": 41,
    "g": 28,
    "b": 96
  },
  "hsl": {
    "h": 251.471,
    "s": 54.839,
    "l": 24.314
  },
  "oklch": {
    "l": 0.28924,
    "c": 0.11446,
    "h": 285.5
  },
  "luminance": 0.02146
}

Semantic roles & 50–950 ramp

primary
#291C60
secondary
#859542
accent
#DE4AC2
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#07030C
muted
#7A787D

Preview Lab

Preview with #291C60

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

Preview Lab → · Contrast checker → · Palette generator →

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