#291A45#291A45

#291A45 is a dark, moderate violet. Relative luminance 0.016; OKLCH L 26.2% C 0.078 H 296.8°. Best body text is #FFFFFF at 15.81:1 contrast (WCAG AA passes).

Color values

HEX#291A45
RGBrgb(41, 26, 69)
HSLhsl(261, 45%, 19%)
HSVhsv(261, 62%, 27%)
CMYKcmyk(40.6%, 62.3%, 0%, 72.9%)
CIE-LABlab(13.47, 18.79, -24.53)
CIE-LCHlch(13.47, 30.91, 307.46°)
OKLaboklab(26.19% 0.0351 -0.0695)
OKLCHoklch(26.19% 0.078 296.8)
XYZxyz(2.3578, 1.6398, 5.8214)
Luminance0.0164 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291A45 #36451A
analogous
#1A2045 #291A45 #3E1A45
triadic
#291A45 #45291A #1A4529
tetradic
#291A45 #451A20 #36451A #1A453E
square
#291A45 #451A20 #36451A #1A453E
split-complementary
#291A45 #453E1A #20451A
monochromatic
#0D0816 #0F0919 #291A45 #432B71 #5E3B9E

Accessibility & contrast

On white

15.81
#291A45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#291A45 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291A45
15.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291A45#FFFFFF#000000##FFFFFF
##291A451.0015.811.3315.81
#FFFFFF15.811.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#072346
Deuteranopia (green-blind)
#0B2244
Tritanopia (blue-blind)
#23232C
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #291a45;
/* rgb */ color: rgb(41, 26, 69);
/* oklch */ color: oklch(26.2% 0.078 296.8);
Tailwind
colors: {
  custom: {
    50: '#655779',
    500: '#291a45',
    950: '#000000',
  },
}
SCSS
$custom: #291a45;
$custom-light: #655779;
$custom-dark: #000000;
JSON
{
  "hex": "#291a45",
  "rgb": {
    "r": 41,
    "g": 26,
    "b": 69
  },
  "hsl": {
    "h": 260.93,
    "s": 45.263,
    "l": 18.627
  },
  "oklch": {
    "l": 0.26192,
    "c": 0.07788,
    "h": 296.8
  },
  "luminance": 0.0164
}

Semantic roles & 50–950 ramp

primary
#291A45
secondary
#667B40
accent
#D553A8
background
#F6F5F7
surface
#EBE9ED
border
#C6C5C8
text
#060309
muted
#7A787B

Preview Lab

Preview with #291A45

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

Preview Lab → · Contrast checker → · Palette generator →

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