#291363#291363

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

Color values

HEX#291363
RGBrgb(41, 19, 99)
HSLhsl(257, 68%, 23%)
HSVhsv(257, 81%, 39%)
CMYKcmyk(58.6%, 80.8%, 0%, 61.2%)
CIE-LABlab(14.61, 32.78, -43.05)
CIE-LCHlch(14.61, 54.11, 307.29°)
OKLaboklab(27.86% 0.0384 -0.1239)
OKLCHoklch(27.86% 0.13 287.2)
XYZxyz(3.3988, 1.8378, 11.9776)
Luminance0.0184 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291363 #4D6313
analogous
#132563 #291363 #511363
triadic
#291363 #632913 #136329
tetradic
#291363 #631325 #4D6313 #136351
square
#291363 #631325 #4D6313 #136351
split-complementary
#291363 #635113 #256313
monochromatic
#0B051A #140930 #291363 #3E1D96 #5427CA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##291363#FFFFFF#000000##FFFFFF
##2913631.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)
#002765
Deuteranopia (green-blind)
#002362
Tritanopia (blue-blind)
#102A3A
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #291363;
/* rgb */ color: rgb(41, 19, 99);
/* oklch */ color: oklch(27.9% 0.130 287.2);
Tailwind
colors: {
  custom: {
    50: '#6b5490',
    500: '#291363',
    950: '#000000',
  },
}
SCSS
$custom: #291363;
$custom-light: #6b5490;
$custom-dark: #000000;
JSON
{
  "hex": "#291363",
  "rgb": {
    "r": 41,
    "g": 19,
    "b": 99
  },
  "hsl": {
    "h": 256.5,
    "s": 67.797,
    "l": 23.137
  },
  "oklch": {
    "l": 0.27859,
    "c": 0.12971,
    "h": 287.2
  },
  "luminance": 0.01838
}

Semantic roles & 50–950 ramp

primary
#291363
secondary
#7F9B37
accent
#EB3DBB
background
#F6F4F8
surface
#ECE7F0
border
#C7C3CB
text
#07030D
muted
#7A787D

Preview Lab

Preview with #291363

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

Preview Lab → · Contrast checker → · Palette generator →

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