#291351#291351

#291351 is a dark, moderate violet. Relative luminance 0.015; OKLCH L 26.0% C 0.106 H 294.0°. Best body text is #FFFFFF at 16.08:1 contrast (WCAG AA passes).

Color values

HEX#291351
RGBrgb(41, 19, 81)
HSLhsl(261, 62%, 20%)
HSVhsv(261, 77%, 32%)
CMYKcmyk(49.4%, 76.5%, 0%, 68.2%)
CIE-LABlab(12.80, 27.11, -33.89)
CIE-LCHlch(12.80, 43.40, 308.66°)
OKLaboklab(26.03% 0.0432 -0.097)
OKLCHoklch(26.03% 0.106 294)
XYZxyz(2.6321, 1.5312, 7.9398)
Luminance0.0153 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291351 #3B5113
analogous
#131C51 #291351 #481351
triadic
#291351 #512913 #135129
tetradic
#291351 #51131C #3B5113 #135148
square
#291351 #51131C #3B5113 #135148
split-complementary
#291351 #514813 #1C5113
monochromatic
#0D0619 #10071F #291351 #421F83 #5B2AB4

Accessibility & contrast

On white

16.08
#291351 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#291351 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291351
16.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291351#FFFFFF#000000##FFFFFF
##2913511.0016.081.3116.08
#FFFFFF16.081.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002253
Deuteranopia (green-blind)
#002050
Tritanopia (blue-blind)
#1D2330
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #291351;
/* rgb */ color: rgb(41, 19, 81);
/* oklch */ color: oklch(26.0% 0.106 294.0);
Tailwind
colors: {
  custom: {
    50: '#675382',
    500: '#291351',
    950: '#000000',
  },
}
SCSS
$custom: #291351;
$custom-light: #675382;
$custom-dark: #000000;
JSON
{
  "hex": "#291351",
  "rgb": {
    "r": 41,
    "g": 19,
    "b": 81
  },
  "hsl": {
    "h": 261.29,
    "s": 62,
    "l": 19.608
  },
  "oklch": {
    "l": 0.26028,
    "c": 0.10621,
    "h": 294
  },
  "luminance": 0.01531
}

Semantic roles & 50–950 ramp

primary
#291351
secondary
#6C8A36
accent
#E543AB
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020A
muted
#7A787C

Preview Lab

Preview with #291351

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

Preview Lab → · Contrast checker → · Palette generator →

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