#291246#291246

#291246 is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.9% C 0.093 H 299.9°. Best body text is #FFFFFF at 16.55:1 contrast (WCAG AA passes).

Color values

HEX#291246
RGBrgb(41, 18, 70)
HSLhsl(267, 59%, 17%)
HSVhsv(267, 74%, 27%)
CMYKcmyk(41.4%, 74.3%, 0%, 72.5%)
CIE-LABlab(11.59, 24.32, -28.26)
CIE-LCHlch(11.59, 37.28, 310.72°)
OKLaboklab(24.85% 0.0464 -0.0805)
OKLCHoklch(24.85% 0.093 299.9)
XYZxyz(2.2360, 1.3462, 5.9352)
Luminance0.0135 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291246 #2F4612
analogous
#121546 #291246 #431246
triadic
#291246 #462912 #124629
tetradic
#291246 #461215 #2F4612 #124643
square
#291246 #461215 #2F4612 #124643
split-complementary
#291246 #464312 #154612
monochromatic
#0E0618 #0E0618 #291246 #461F77 #622BA7

Accessibility & contrast

On white

16.55
#291246 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#291246 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291246
16.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291246#FFFFFF#000000##FFFFFF
##2912461.0016.551.2716.55
#FFFFFF16.551.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F48
Deuteranopia (green-blind)
#001E45
Tritanopia (blue-blind)
#231E2A
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #291246;
/* rgb */ color: rgb(41, 18, 70);
/* oklch */ color: oklch(24.9% 0.093 299.9);
Tailwind
colors: {
  custom: {
    50: '#66517a',
    500: '#291246',
    950: '#000000',
  },
}
SCSS
$custom: #291246;
$custom-light: #66517a;
$custom-dark: #000000;
JSON
{
  "hex": "#291246",
  "rgb": {
    "r": 41,
    "g": 18,
    "b": 70
  },
  "hsl": {
    "h": 266.538,
    "s": 59.091,
    "l": 17.255
  },
  "oklch": {
    "l": 0.24852,
    "c": 0.09286,
    "h": 299.9
  },
  "luminance": 0.01346
}

Semantic roles & 50–950 ramp

primary
#291246
secondary
#5E7F35
accent
#E2469D
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060209
muted
#7A787B

Preview Lab

Preview with #291246

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

Preview Lab → · Contrast checker → · Palette generator →

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