#291A5F#291A5F

#291A5F is a dark, moderate violet. Relative luminance 0.020; OKLCH L 28.5% C 0.116 H 286.5°. Best body text is #FFFFFF at 14.92:1 contrast (WCAG AA passes).

Color values

HEX#291A5F
RGBrgb(41, 26, 95)
HSLhsl(253, 57%, 24%)
HSVhsv(253, 73%, 37%)
CMYKcmyk(56.8%, 72.6%, 0%, 62.7%)
CIE-LABlab(15.68, 27.38, -38.65)
CIE-LCHlch(15.68, 47.36, 305.31°)
OKLaboklab(28.49% 0.0329 -0.111)
OKLCHoklch(28.49% 0.116 286.5)
XYZxyz(3.3488, 2.0363, 11.0408)
Luminance0.0204 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291A5F #505F1A
analogous
#1A2D5F #291A5F #4B1A5F
triadic
#291A5F #5F291A #1A5F29
tetradic
#291A5F #5F1A2D #505F1A #1A5F4B
square
#291A5F #5F1A2D #505F1A #1A5F4B
split-complementary
#291A5F #5F4B1A #2D5F1A
monochromatic
#0A0718 #140D2F #291A5F #3E278F #5234BF

Accessibility & contrast

On white

14.92
#291A5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#291A5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291A5F
14.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291A5F#FFFFFF#000000##FFFFFF
##291A5F1.0014.921.4114.92
#FFFFFF14.921.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002961
Deuteranopia (green-blind)
#00255E
Tritanopia (blue-blind)
#132C3A
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #291a5f;
/* rgb */ color: rgb(41, 26, 95);
/* oklch */ color: oklch(28.5% 0.116 286.5);
Tailwind
colors: {
  custom: {
    50: '#69588d',
    500: '#291a5f',
    950: '#000000',
  },
}
SCSS
$custom: #291a5f;
$custom-light: #69588d;
$custom-dark: #000000;
JSON
{
  "hex": "#291a5f",
  "rgb": {
    "r": 41,
    "g": 26,
    "b": 95
  },
  "hsl": {
    "h": 253.043,
    "s": 57.025,
    "l": 23.725
  },
  "oklch": {
    "l": 0.28491,
    "c": 0.1158,
    "h": 286.5
  },
  "luminance": 0.02036
}

Semantic roles & 50–950 ramp

primary
#291A5F
secondary
#829540
accent
#E048BF
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#07030C
muted
#7A787D

Preview Lab

Preview with #291A5F

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

Preview Lab → · Contrast checker → · Palette generator →

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