#291051#291051

#291051 is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.6% C 0.110 H 294.9°. Best body text is #FFFFFF at 16.31:1 contrast (WCAG AA passes).

Color values

HEX#291051
RGBrgb(41, 16, 81)
HSLhsl(263, 67%, 19%)
HSVhsv(263, 80%, 32%)
CMYKcmyk(49.4%, 80.2%, 0%, 68.2%)
CIE-LABlab(12.20, 28.82, -34.89)
CIE-LCHlch(12.20, 45.25, 309.56°)
OKLaboklab(25.6% 0.0464 -0.0999)
OKLCHoklch(25.6% 0.11 294.9)
XYZxyz(2.5845, 1.4360, 7.9240)
Luminance0.0144 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291051 #385110
analogous
#101851 #291051 #4A1051
triadic
#291051 #512910 #105129
tetradic
#291051 #511018 #385110 #10514A
square
#291051 #511018 #385110 #10514A
split-complementary
#291051 #514A10 #185110
monochromatic
#0D051A #0F061E #291051 #431A84 #5D24B7

Accessibility & contrast

On white

16.31
#291051 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#291051 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291051
16.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291051#FFFFFF#000000##FFFFFF
##2910511.0016.311.2916.31
#FFFFFF16.311.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002053
Deuteranopia (green-blind)
#001F50
Tritanopia (blue-blind)
#1E212F
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #291051;
/* rgb */ color: rgb(41, 16, 81);
/* oklch */ color: oklch(25.6% 0.110 294.9);
Tailwind
colors: {
  custom: {
    50: '#685182',
    500: '#291051',
    950: '#000000',
  },
}
SCSS
$custom: #291051;
$custom-light: #685182;
$custom-dark: #000000;
JSON
{
  "hex": "#291051",
  "rgb": {
    "r": 41,
    "g": 16,
    "b": 81
  },
  "hsl": {
    "h": 263.077,
    "s": 67.01,
    "l": 19.02
  },
  "oklch": {
    "l": 0.25596,
    "c": 0.11019,
    "h": 294.9
  },
  "luminance": 0.01436
}

Semantic roles & 50–950 ramp

primary
#291051
secondary
#698B32
accent
#EA3EA8
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020A
muted
#7A787C

Preview Lab

Preview with #291051

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

Preview Lab → · Contrast checker → · Palette generator →

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