#291A50#291A50

#291A50 is a dark, moderate violet. Relative luminance 0.018; OKLCH L 27.1% C 0.094 H 291.6°. Best body text is #FFFFFF at 15.47:1 contrast (WCAG AA passes).

Color values

HEX#291A50
RGBrgb(41, 26, 80)
HSLhsl(257, 51%, 21%)
HSVhsv(257, 68%, 31%)
CMYKcmyk(48.8%, 67.5%, 0%, 68.6%)
CIE-LABlab(14.34, 22.37, -30.71)
CIE-LCHlch(14.34, 38.00, 306.07°)
OKLaboklab(27.11% 0.0348 -0.0877)
OKLCHoklch(27.11% 0.094 291.6)
XYZxyz(2.7314, 1.7893, 7.7893)
Luminance0.0179 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291A50 #41501A
analogous
#1A2650 #291A50 #441A50
triadic
#291A50 #50291A #1A5029
tetradic
#291A50 #501A26 #41501A #1A5044
square
#291A50 #501A26 #41501A #1A5044
split-complementary
#291A50 #50441A #26501A
monochromatic
#0C0817 #110B22 #291A50 #41297E #5838AC

Accessibility & contrast

On white

15.47
#291A50 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#291A50 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291A50
15.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291A50#FFFFFF#000000##FFFFFF
##291A501.0015.471.3615.47
#FFFFFF15.471.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002552
Deuteranopia (green-blind)
#00234F
Tritanopia (blue-blind)
#1E2632
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #291a50;
/* rgb */ color: rgb(41, 26, 80);
/* oklch */ color: oklch(27.1% 0.094 291.6);
Tailwind
colors: {
  custom: {
    50: '#665781',
    500: '#291a50',
    950: '#000000',
  },
}
SCSS
$custom: #291a50;
$custom-light: #665781;
$custom-dark: #000000;
JSON
{
  "hex": "#291a50",
  "rgb": {
    "r": 41,
    "g": 26,
    "b": 80
  },
  "hsl": {
    "h": 256.667,
    "s": 50.943,
    "l": 20.784
  },
  "oklch": {
    "l": 0.27107,
    "c": 0.09436,
    "h": 291.6
  },
  "luminance": 0.01789
}

Semantic roles & 50–950 ramp

primary
#291A50
secondary
#738640
accent
#DA4DB3
background
#F6F5F7
surface
#EBE9EE
border
#C6C5C9
text
#06030A
muted
#7A787C

Preview Lab

Preview with #291A50

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

Preview Lab → · Contrast checker → · Palette generator →

#291A50 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva