#291353#291353

#291353 is a dark, moderate violet. Relative luminance 0.016; OKLCH L 26.2% C 0.109 H 293.1°. Best body text is #FFFFFF at 16.00:1 contrast (WCAG AA passes).

Color values

HEX#291353
RGBrgb(41, 19, 83)
HSLhsl(261, 63%, 20%)
HSVhsv(261, 77%, 33%)
CMYKcmyk(50.6%, 77.1%, 0%, 67.5%)
CIE-LABlab(12.99, 27.74, -34.95)
CIE-LCHlch(12.99, 44.62, 308.44°)
OKLaboklab(26.22% 0.0427 -0.1001)
OKLCHoklch(26.22% 0.109 293.1)
XYZxyz(2.7082, 1.5616, 8.3407)
Luminance0.0156 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291353 #3D5313
analogous
#131D53 #291353 #491353
triadic
#291353 #532913 #135329
tetradic
#291353 #53131D #3D5313 #135349
square
#291353 #53131D #3D5313 #135349
split-complementary
#291353 #534913 #1D5313
monochromatic
#0C0619 #100821 #291353 #421E85 #5A2AB7

Accessibility & contrast

On white

16.00
#291353 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #291353
16.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291353#FFFFFF#000000##FFFFFF
##2913531.0016.001.3116.00
#FFFFFF16.001.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002255
Deuteranopia (green-blind)
#002052
Tritanopia (blue-blind)
#1C2331
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #291353;
/* rgb */ color: rgb(41, 19, 83);
/* oklch */ color: oklch(26.2% 0.109 293.1);
Tailwind
colors: {
  custom: {
    50: '#685384',
    500: '#291353',
    950: '#000000',
  },
}
SCSS
$custom: #291353;
$custom-light: #685384;
$custom-dark: #000000;
JSON
{
  "hex": "#291353",
  "rgb": {
    "r": 41,
    "g": 19,
    "b": 83
  },
  "hsl": {
    "h": 260.625,
    "s": 62.745,
    "l": 20
  },
  "oklch": {
    "l": 0.26222,
    "c": 0.10888,
    "h": 293.1
  },
  "luminance": 0.01562
}

Semantic roles & 50–950 ramp

primary
#291353
secondary
#6E8B36
accent
#E642AD
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020B
muted
#7A787C

Preview Lab

Preview with #291353

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

Preview Lab → · Contrast checker → · Palette generator →

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