#291352#291352

#291352 is a dark, moderate violet. Relative luminance 0.015; OKLCH L 26.1% C 0.108 H 293.5°. Best body text is #FFFFFF at 16.04:1 contrast (WCAG AA passes).

Color values

HEX#291352
RGBrgb(41, 19, 82)
HSLhsl(261, 62%, 20%)
HSVhsv(261, 77%, 32%)
CMYKcmyk(50%, 76.8%, 0%, 67.8%)
CIE-LABlab(12.90, 27.43, -34.42)
CIE-LCHlch(12.90, 44.01, 308.55°)
OKLaboklab(26.13% 0.043 -0.0986)
OKLCHoklch(26.13% 0.108 293.5)
XYZxyz(2.6699, 1.5463, 8.1388)
Luminance0.0155 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291352 #3C5213
analogous
#131D52 #291352 #481352
triadic
#291352 #522913 #135229
tetradic
#291352 #52131D #3C5213 #135248
square
#291352 #52131D #3C5213 #135248
split-complementary
#291352 #524813 #1D5213
monochromatic
#0C0619 #100720 #291352 #421F84 #5B2AB5

Accessibility & contrast

On white

16.04
#291352 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #291352
16.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291352#FFFFFF#000000##FFFFFF
##2913521.0016.041.3116.04
#FFFFFF16.041.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002254
Deuteranopia (green-blind)
#002051
Tritanopia (blue-blind)
#1D2331
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #291352;
/* rgb */ color: rgb(41, 19, 82);
/* oklch */ color: oklch(26.1% 0.108 293.5);
Tailwind
colors: {
  custom: {
    50: '#675383',
    500: '#291352',
    950: '#000000',
  },
}
SCSS
$custom: #291352;
$custom-light: #675383;
$custom-dark: #000000;
JSON
{
  "hex": "#291352",
  "rgb": {
    "r": 41,
    "g": 19,
    "b": 82
  },
  "hsl": {
    "h": 260.952,
    "s": 62.376,
    "l": 19.804
  },
  "oklch": {
    "l": 0.26125,
    "c": 0.10754,
    "h": 293.5
  },
  "luminance": 0.01546
}

Semantic roles & 50–950 ramp

primary
#291352
secondary
#6D8A36
accent
#E542AC
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020B
muted
#7A787C

Preview Lab

Preview with #291352

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

Preview Lab → · Contrast checker → · Palette generator →

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