#291567#291567

#291567 is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.6% C 0.133 H 285.6°. Best body text is #FFFFFF at 15.03:1 contrast (WCAG AA passes).

Color values

HEX#291567
RGBrgb(41, 21, 103)
HSLhsl(255, 66%, 24%)
HSVhsv(255, 80%, 40%)
CMYKcmyk(60.2%, 79.6%, 0%, 59.6%)
CIE-LABlab(15.42, 32.96, -44.37)
CIE-LCHlch(15.42, 55.27, 306.61°)
OKLaboklab(28.55% 0.0356 -0.1278)
OKLCHoklch(28.55% 0.133 285.6)
XYZxyz(3.6301, 1.9868, 13.0215)
Luminance0.0199 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291567 #536715
analogous
#152A67 #291567 #521567
triadic
#291567 #672915 #156729
tetradic
#291567 #67152A #536715 #156752
square
#291567 #67152A #536715 #156752
split-complementary
#291567 #675215 #2A6715
monochromatic
#0A0519 #150B34 #291567 #3D1F9A #512ACD

Accessibility & contrast

On white

15.03
#291567 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#291567 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291567
15.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291567#FFFFFF#000000##FFFFFF
##2915671.0015.031.4015.03
#FFFFFF15.031.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002969
Deuteranopia (green-blind)
#002465
Tritanopia (blue-blind)
#0A2C3D
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #291567;
/* rgb */ color: rgb(41, 21, 103);
/* oklch */ color: oklch(28.6% 0.133 285.6);
Tailwind
colors: {
  custom: {
    50: '#6b5593',
    500: '#291567',
    950: '#000000',
  },
}
SCSS
$custom: #291567;
$custom-light: #6b5593;
$custom-dark: #000000;
JSON
{
  "hex": "#291567",
  "rgb": {
    "r": 41,
    "g": 21,
    "b": 103
  },
  "hsl": {
    "h": 254.634,
    "s": 66.129,
    "l": 24.314
  },
  "oklch": {
    "l": 0.28553,
    "c": 0.13263,
    "h": 285.6
  },
  "luminance": 0.01987
}

Semantic roles & 50–950 ramp

primary
#291567
secondary
#859E3A
accent
#E93FC0
background
#F6F5F9
surface
#ECE9F1
border
#C7C5CB
text
#07030D
muted
#7A787E

Preview Lab

Preview with #291567

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

Preview Lab → · Contrast checker → · Palette generator →

#291567 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva