#291361#291361

#291361 is a dark, vivid violet. Relative luminance 0.018; OKLCH L 27.6% C 0.127 H 287.9°. Best body text is #FFFFFF at 15.44:1 contrast (WCAG AA passes).

Color values

HEX#291361
RGBrgb(41, 19, 97)
HSLhsl(257, 67%, 23%)
HSVhsv(257, 80%, 38%)
CMYKcmyk(57.7%, 80.4%, 0%, 62%)
CIE-LABlab(14.40, 32.15, -42.07)
CIE-LCHlch(14.40, 52.95, 307.39°)
OKLaboklab(27.65% 0.039 -0.121)
OKLCHoklch(27.65% 0.127 287.9)
XYZxyz(3.3044, 1.8001, 11.4803)
Luminance0.0180 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291361 #4B6113
analogous
#132461 #291361 #501361
triadic
#291361 #612913 #136129
tetradic
#291361 #611324 #4B6113 #136150
square
#291361 #611324 #4B6113 #136150
split-complementary
#291361 #615013 #246113
monochromatic
#0B051A #13092E #291361 #3F1D94 #5427C7

Accessibility & contrast

On white

15.44
#291361 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #291361
15.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291361#FFFFFF#000000##FFFFFF
##2913611.0015.441.3615.44
#FFFFFF15.441.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002663
Deuteranopia (green-blind)
#002260
Tritanopia (blue-blind)
#122939
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #291361;
/* rgb */ color: rgb(41, 19, 97);
/* oklch */ color: oklch(27.6% 0.127 287.9);
Tailwind
colors: {
  custom: {
    50: '#6a538f',
    500: '#291361',
    950: '#000000',
  },
}
SCSS
$custom: #291361;
$custom-light: #6a538f;
$custom-dark: #000000;
JSON
{
  "hex": "#291361",
  "rgb": {
    "r": 41,
    "g": 19,
    "b": 97
  },
  "hsl": {
    "h": 256.923,
    "s": 67.241,
    "l": 22.745
  },
  "oklch": {
    "l": 0.27647,
    "c": 0.12715,
    "h": 287.9
  },
  "luminance": 0.018
}

Semantic roles & 50–950 ramp

primary
#291361
secondary
#7D9937
accent
#EA3EB9
background
#F6F4F8
surface
#ECE7F0
border
#C7C3CB
text
#07030C
muted
#7A787D

Preview Lab

Preview with #291361

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

Preview Lab → · Contrast checker → · Palette generator →

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