#291461#291461

#291461 is a dark, vivid violet. Relative luminance 0.018; OKLCH L 27.8% C 0.126 H 287.6°. Best body text is #FFFFFF at 15.36:1 contrast (WCAG AA passes).

Color values

HEX#291461
RGBrgb(41, 20, 97)
HSLhsl(256, 66%, 23%)
HSVhsv(256, 79%, 38%)
CMYKcmyk(57.7%, 79.4%, 0%, 62%)
CIE-LABlab(14.59, 31.60, -41.75)
CIE-LCHlch(14.59, 52.36, 307.12°)
OKLaboklab(27.78% 0.0382 -0.1201)
OKLCHoklch(27.78% 0.126 287.6)
XYZxyz(3.3216, 1.8346, 11.4860)
Luminance0.0184 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291461 #4C6114
analogous
#142561 #291461 #4F1461
triadic
#291461 #612914 #146129
tetradic
#291461 #611425 #4C6114 #14614F
square
#291461 #611425 #4C6114 #14614F
split-complementary
#291461 #614F14 #256114
monochromatic
#0B0519 #140A2E #291461 #3E1E94 #5429C6

Accessibility & contrast

On white

15.36
#291461 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#291461 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291461
15.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291461#FFFFFF#000000##FFFFFF
##2914611.0015.361.3715.36
#FFFFFF15.361.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002763
Deuteranopia (green-blind)
#002360
Tritanopia (blue-blind)
#122939
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #291461;
/* rgb */ color: rgb(41, 20, 97);
/* oklch */ color: oklch(27.8% 0.126 287.6);
Tailwind
colors: {
  custom: {
    50: '#6a548f',
    500: '#291461',
    950: '#000000',
  },
}
SCSS
$custom: #291461;
$custom-light: #6a548f;
$custom-dark: #000000;
JSON
{
  "hex": "#291461",
  "rgb": {
    "r": 41,
    "g": 20,
    "b": 97
  },
  "hsl": {
    "h": 256.364,
    "s": 65.812,
    "l": 22.941
  },
  "oklch": {
    "l": 0.27783,
    "c": 0.12601,
    "h": 287.6
  },
  "luminance": 0.01835
}

Semantic roles & 50–950 ramp

primary
#291461
secondary
#7E9838
accent
#E93FBA
background
#F6F4F8
surface
#ECE8F0
border
#C7C4CB
text
#07030C
muted
#7A787D

Preview Lab

Preview with #291461

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

Preview Lab → · Contrast checker → · Palette generator →

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