#291367#291367

#291367 is a dark, vivid violet. Relative luminance 0.019; OKLCH L 28.3% C 0.135 H 286.0°. Best body text is #FFFFFF at 15.18:1 contrast (WCAG AA passes).

Color values

HEX#291367
RGBrgb(41, 19, 103)
HSLhsl(256, 69%, 24%)
HSVhsv(256, 82%, 40%)
CMYKcmyk(60.2%, 81.6%, 0%, 59.6%)
CIE-LABlab(15.04, 34.04, -44.99)
CIE-LCHlch(15.04, 56.41, 307.11°)
OKLaboklab(28.29% 0.0372 -0.1295)
OKLCHoklch(28.29% 0.135 286)
XYZxyz(3.5948, 1.9162, 13.0098)
Luminance0.0192 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291367 #516713
analogous
#132767 #291367 #531367
triadic
#291367 #672913 #136729
tetradic
#291367 #671327 #516713 #136753
square
#291367 #671327 #516713 #136753
split-complementary
#291367 #675313 #276713
monochromatic
#0A051A #140933 #291367 #3E1D9B #5226CE

Accessibility & contrast

On white

15.18
#291367 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#291367 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291367
15.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291367#FFFFFF#000000##FFFFFF
##2913671.0015.181.3815.18
#FFFFFF15.181.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002869
Deuteranopia (green-blind)
#002365
Tritanopia (blue-blind)
#0A2B3C
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #291367;
/* rgb */ color: rgb(41, 19, 103);
/* oklch */ color: oklch(28.3% 0.135 286.0);
Tailwind
colors: {
  custom: {
    50: '#6b5493',
    500: '#291367',
    950: '#000000',
  },
}
SCSS
$custom: #291367;
$custom-light: #6b5493;
$custom-dark: #000000;
JSON
{
  "hex": "#291367",
  "rgb": {
    "r": 41,
    "g": 19,
    "b": 103
  },
  "hsl": {
    "h": 255.714,
    "s": 68.852,
    "l": 23.922
  },
  "oklch": {
    "l": 0.28289,
    "c": 0.13478,
    "h": 286
  },
  "luminance": 0.01916
}

Semantic roles & 50–950 ramp

primary
#291367
secondary
#839E37
accent
#EC3CBE
background
#F6F4F9
surface
#ECE8F1
border
#C7C4CB
text
#07030D
muted
#7A787E

Preview Lab

Preview with #291367

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

Preview Lab → · Contrast checker → · Palette generator →

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