#291364#291364

#291364 is a dark, vivid violet. Relative luminance 0.019; OKLCH L 28.0% C 0.131 H 286.9°. Best body text is #FFFFFF at 15.31:1 contrast (WCAG AA passes).

Color values

HEX#291364
RGBrgb(41, 19, 100)
HSLhsl(256, 68%, 23%)
HSVhsv(256, 81%, 39%)
CMYKcmyk(59%, 81%, 0%, 60.8%)
CIE-LABlab(14.72, 33.09, -43.54)
CIE-LCHlch(14.72, 54.69, 307.24°)
OKLaboklab(27.97% 0.0381 -0.1253)
OKLCHoklch(27.97% 0.131 286.9)
XYZxyz(3.4469, 1.8571, 12.2309)
Luminance0.0186 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291364 #4E6413
analogous
#132564 #291364 #511364
triadic
#291364 #642913 #136429
tetradic
#291364 #641325 #4E6413 #136451
square
#291364 #641325 #4E6413 #136451
split-complementary
#291364 #645113 #256413
monochromatic
#0B051A #140931 #291364 #3E1D97 #5327CB

Accessibility & contrast

On white

15.31
#291364 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #291364
15.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291364#FFFFFF#000000##FFFFFF
##2913641.0015.311.3715.31
#FFFFFF15.311.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002766
Deuteranopia (green-blind)
#002363
Tritanopia (blue-blind)
#0E2A3B
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #291364;
/* rgb */ color: rgb(41, 19, 100);
/* oklch */ color: oklch(28.0% 0.131 286.9);
Tailwind
colors: {
  custom: {
    50: '#6b5491',
    500: '#291364',
    950: '#000000',
  },
}
SCSS
$custom: #291364;
$custom-light: #6b5491;
$custom-dark: #000000;
JSON
{
  "hex": "#291364",
  "rgb": {
    "r": 41,
    "g": 19,
    "b": 100
  },
  "hsl": {
    "h": 256.296,
    "s": 68.067,
    "l": 23.333
  },
  "oklch": {
    "l": 0.27966,
    "c": 0.13098,
    "h": 286.9
  },
  "luminance": 0.01857
}

Semantic roles & 50–950 ramp

primary
#291364
secondary
#809C37
accent
#EB3DBC
background
#F6F4F9
surface
#ECE7F1
border
#C7C3CB
text
#07030D
muted
#7A787E

Preview Lab

Preview with #291364

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

Preview Lab → · Contrast checker → · Palette generator →

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