#291652#291652

#291652 is a dark, moderate violet. Relative luminance 0.017; OKLCH L 26.6% C 0.103 H 292.5°. Best body text is #FFFFFF at 15.78:1 contrast (WCAG AA passes).

Color values

HEX#291652
RGBrgb(41, 22, 82)
HSLhsl(259, 58%, 20%)
HSVhsv(259, 73%, 32%)
CMYKcmyk(50%, 73.2%, 0%, 67.8%)
CIE-LABlab(13.56, 25.61, -33.35)
CIE-LCHlch(13.56, 42.05, 307.52°)
OKLaboklab(26.6% 0.0395 -0.0954)
OKLCHoklch(26.6% 0.103 292.5)
XYZxyz(2.7239, 1.6543, 8.1568)
Luminance0.0165 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291652 #3F5216
analogous
#162152 #291652 #471652
triadic
#291652 #522916 #165229
tetradic
#291652 #521621 #3F5216 #165247
square
#291652 #521621 #3F5216 #165247
split-complementary
#291652 #524716 #215216
monochromatic
#0C0618 #110922 #291652 #412382 #5930B3

Accessibility & contrast

On white

15.78
#291652 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #291652
15.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291652#FFFFFF#000000##FFFFFF
##2916521.0015.781.3315.78
#FFFFFF15.781.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002354
Deuteranopia (green-blind)
#002251
Tritanopia (blue-blind)
#1D2531
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #291652;
/* rgb */ color: rgb(41, 22, 82);
/* oklch */ color: oklch(26.6% 0.103 292.5);
Tailwind
colors: {
  custom: {
    50: '#675483',
    500: '#291652',
    950: '#000000',
  },
}
SCSS
$custom: #291652;
$custom-light: #675483;
$custom-dark: #000000;
JSON
{
  "hex": "#291652",
  "rgb": {
    "r": 41,
    "g": 22,
    "b": 82
  },
  "hsl": {
    "h": 259,
    "s": 57.692,
    "l": 20.392
  },
  "oklch": {
    "l": 0.26595,
    "c": 0.10332,
    "h": 292.5
  },
  "luminance": 0.01654
}

Semantic roles & 50–950 ramp

primary
#291652
secondary
#70893A
accent
#E147B0
background
#F6F4F8
surface
#EBE8EF
border
#C6C4CA
text
#06030B
muted
#7A787C

Preview Lab

Preview with #291652

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

Preview Lab → · Contrast checker → · Palette generator →

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