#291460#291460

#291460 is a dark, vivid violet. Relative luminance 0.018; OKLCH L 27.7% C 0.125 H 288.0°. Best body text is #FFFFFF at 15.40:1 contrast (WCAG AA passes).

Color values

HEX#291460
RGBrgb(41, 20, 96)
HSLhsl(257, 66%, 23%)
HSVhsv(257, 79%, 38%)
CMYKcmyk(57.3%, 79.2%, 0%, 62.4%)
CIE-LABlab(14.49, 31.28, -41.26)
CIE-LCHlch(14.49, 51.77, 307.17°)
OKLaboklab(27.68% 0.0385 -0.1186)
OKLCHoklch(27.68% 0.125 288)
XYZxyz(3.2753, 1.8161, 11.2420)
Luminance0.0182 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291460 #4B6014
analogous
#142560 #291460 #4F1460
triadic
#291460 #602914 #146029
tetradic
#291460 #601425 #4B6014 #14604F
square
#291460 #601425 #4B6014 #14604F
split-complementary
#291460 #604F14 #256014
monochromatic
#0B0519 #13092D #291460 #3F1F93 #5429C5

Accessibility & contrast

On white

15.40
#291460 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #291460
15.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291460#FFFFFF#000000##FFFFFF
##2914601.0015.401.3615.40
#FFFFFF15.401.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002662
Deuteranopia (green-blind)
#00235F
Tritanopia (blue-blind)
#132939
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #291460;
/* rgb */ color: rgb(41, 20, 96);
/* oklch */ color: oklch(27.7% 0.125 288.0);
Tailwind
colors: {
  custom: {
    50: '#6a548e',
    500: '#291460',
    950: '#000000',
  },
}
SCSS
$custom: #291460;
$custom-light: #6a548e;
$custom-dark: #000000;
JSON
{
  "hex": "#291460",
  "rgb": {
    "r": 41,
    "g": 20,
    "b": 96
  },
  "hsl": {
    "h": 256.579,
    "s": 65.517,
    "l": 22.745
  },
  "oklch": {
    "l": 0.27678,
    "c": 0.12472,
    "h": 288
  },
  "luminance": 0.01816
}

Semantic roles & 50–950 ramp

primary
#291460
secondary
#7D9838
accent
#E83FBA
background
#F6F4F8
surface
#EBE8F0
border
#C6C4CB
text
#07030C
muted
#7A787D

Preview Lab

Preview with #291460

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

Preview Lab → · Contrast checker → · Palette generator →

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