#291553#291553

#291553 is a dark, moderate violet. Relative luminance 0.016; OKLCH L 26.5% C 0.106 H 292.4°. Best body text is #FFFFFF at 15.83:1 contrast (WCAG AA passes).

Color values

HEX#291553
RGBrgb(41, 21, 83)
HSLhsl(259, 60%, 20%)
HSVhsv(259, 75%, 33%)
CMYKcmyk(50.6%, 74.7%, 0%, 67.5%)
CIE-LABlab(13.43, 26.54, -34.25)
CIE-LCHlch(13.43, 43.33, 307.78°)
OKLaboklab(26.53% 0.0405 -0.0981)
OKLCHoklch(26.53% 0.106 292.4)
XYZxyz(2.7435, 1.6322, 8.3524)
Luminance0.0163 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291553 #3F5315
analogous
#152053 #291553 #481553
triadic
#291553 #532915 #155329
tetradic
#291553 #531520 #3F5315 #155348
square
#291553 #531520 #3F5315 #155348
split-complementary
#291553 #534815 #205315
monochromatic
#0C0618 #110922 #291553 #412184 #592EB5

Accessibility & contrast

On white

15.83
#291553 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#291553 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291553
15.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291553#FFFFFF#000000##FFFFFF
##2915531.0015.831.3315.83
#FFFFFF15.831.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002355
Deuteranopia (green-blind)
#002152
Tritanopia (blue-blind)
#1C2432
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #291553;
/* rgb */ color: rgb(41, 21, 83);
/* oklch */ color: oklch(26.5% 0.106 292.4);
Tailwind
colors: {
  custom: {
    50: '#675484',
    500: '#291553',
    950: '#000000',
  },
}
SCSS
$custom: #291553;
$custom-light: #675484;
$custom-dark: #000000;
JSON
{
  "hex": "#291553",
  "rgb": {
    "r": 41,
    "g": 21,
    "b": 83
  },
  "hsl": {
    "h": 259.355,
    "s": 59.615,
    "l": 20.392
  },
  "oklch": {
    "l": 0.26529,
    "c": 0.10612,
    "h": 292.4
  },
  "luminance": 0.01632
}

Semantic roles & 50–950 ramp

primary
#291553
secondary
#708B39
accent
#E345B0
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06030B
muted
#7A787C

Preview Lab

Preview with #291553

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

Preview Lab → · Contrast checker → · Palette generator →

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