#291350#291350

#291350 is a dark, moderate violet. Relative luminance 0.015; OKLCH L 25.9% C 0.105 H 294.4°. Best body text is #FFFFFF at 16.11:1 contrast (WCAG AA passes).

Color values

HEX#291350
RGBrgb(41, 19, 80)
HSLhsl(262, 62%, 19%)
HSVhsv(262, 76%, 31%)
CMYKcmyk(48.8%, 76.3%, 0%, 68.6%)
CIE-LABlab(12.71, 26.80, -33.36)
CIE-LCHlch(12.71, 42.79, 308.78°)
OKLaboklab(25.93% 0.0434 -0.0955)
OKLCHoklch(25.93% 0.105 294.4)
XYZxyz(2.5949, 1.5163, 7.7438)
Luminance0.0152 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291350 #3A5013
analogous
#131C50 #291350 #481350
triadic
#291350 #502913 #135029
tetradic
#291350 #50131C #3A5013 #135048
square
#291350 #50131C #3A5013 #135048
split-complementary
#291350 #504813 #1C5013
monochromatic
#0D0619 #10071F #291350 #421F81 #5C2AB3

Accessibility & contrast

On white

16.11
#291350 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#291350 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291350
16.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291350#FFFFFF#000000##FFFFFF
##2913501.0016.111.3016.11
#FFFFFF16.111.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002252
Deuteranopia (green-blind)
#00204F
Tritanopia (blue-blind)
#1E222F
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #291350;
/* rgb */ color: rgb(41, 19, 80);
/* oklch */ color: oklch(25.9% 0.105 294.4);
Tailwind
colors: {
  custom: {
    50: '#675282',
    500: '#291350',
    950: '#000000',
  },
}
SCSS
$custom: #291350;
$custom-light: #675282;
$custom-dark: #000000;
JSON
{
  "hex": "#291350",
  "rgb": {
    "r": 41,
    "g": 19,
    "b": 80
  },
  "hsl": {
    "h": 261.639,
    "s": 61.616,
    "l": 19.412
  },
  "oklch": {
    "l": 0.25932,
    "c": 0.10486,
    "h": 294.4
  },
  "luminance": 0.01516
}

Semantic roles & 50–950 ramp

primary
#291350
secondary
#6B8936
accent
#E543AA
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020A
muted
#7A787C

Preview Lab

Preview with #291350

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

Preview Lab → · Contrast checker → · Palette generator →

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