#291759#291759

#291759 is a dark, moderate violet. Relative luminance 0.018; OKLCH L 27.4% C 0.112 H 289.5°. Best body text is #FFFFFF at 15.43:1 contrast (WCAG AA passes).

Color values

HEX#291759
RGBrgb(41, 23, 89)
HSLhsl(256, 59%, 22%)
HSVhsv(256, 74%, 35%)
CMYKcmyk(53.9%, 74.2%, 0%, 65.1%)
CIE-LABlab(14.43, 27.26, -36.67)
CIE-LCHlch(14.43, 45.69, 306.63°)
OKLaboklab(27.42% 0.0372 -0.1052)
OKLCHoklch(27.42% 0.112 289.5)
XYZxyz(3.0235, 1.8053, 9.6384)
Luminance0.0181 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291759 #475917
analogous
#172659 #291759 #4A1759
triadic
#291759 #592917 #175929
tetradic
#291759 #591726 #475917 #17594A
square
#291759 #591726 #475917 #17594A
split-complementary
#291759 #594A17 #265917
monochromatic
#0B0618 #130A28 #291759 #3F248A #5630BA

Accessibility & contrast

On white

15.43
#291759 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#291759 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291759
15.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291759#FFFFFF#000000##FFFFFF
##2917591.0015.431.3615.43
#FFFFFF15.431.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00265B
Deuteranopia (green-blind)
#002358
Tritanopia (blue-blind)
#182836
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #291759;
/* rgb */ color: rgb(41, 23, 89);
/* oklch */ color: oklch(27.4% 0.112 289.5);
Tailwind
colors: {
  custom: {
    50: '#685589',
    500: '#291759',
    950: '#000000',
  },
}
SCSS
$custom: #291759;
$custom-light: #685589;
$custom-dark: #000000;
JSON
{
  "hex": "#291759",
  "rgb": {
    "r": 41,
    "g": 23,
    "b": 89
  },
  "hsl": {
    "h": 256.364,
    "s": 58.929,
    "l": 21.961
  },
  "oklch": {
    "l": 0.27423,
    "c": 0.11157,
    "h": 289.5
  },
  "luminance": 0.01805
}

Semantic roles & 50–950 ramp

primary
#291759
secondary
#79903C
accent
#E246B7
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#07030B
muted
#7A787C

Preview Lab

Preview with #291759

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

Preview Lab → · Contrast checker → · Palette generator →

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