#291064#291064

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

Color values

HEX#291064
RGBrgb(41, 16, 100)
HSLhsl(258, 72%, 23%)
HSVhsv(258, 84%, 39%)
CMYKcmyk(59%, 84%, 0%, 60.8%)
CIE-LABlab(14.18, 34.63, -44.42)
CIE-LCHlch(14.18, 56.32, 307.94°)
OKLaboklab(27.59% 0.0404 -0.1278)
OKLCHoklch(27.59% 0.134 287.5)
XYZxyz(3.3993, 1.7619, 12.2151)
Luminance0.0176 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291064 #4B6410
analogous
#102164 #291064 #531064
triadic
#291064 #642910 #106429
tetradic
#291064 #641021 #4B6410 #106453
square
#291064 #641021 #4B6410 #106453
split-complementary
#291064 #645310 #216410
monochromatic
#0B041A #13082F #291064 #3F1899 #5421CE

Accessibility & contrast

On white

15.53
#291064 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#291064 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291064
15.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291064#FFFFFF#000000##FFFFFF
##2910641.0015.531.3515.53
#FFFFFF15.531.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002666
Deuteranopia (green-blind)
#002262
Tritanopia (blue-blind)
#0F293A
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #291064;
/* rgb */ color: rgb(41, 16, 100);
/* oklch */ color: oklch(27.6% 0.134 287.5);
Tailwind
colors: {
  custom: {
    50: '#6b5291',
    500: '#291064',
    950: '#000000',
  },
}
SCSS
$custom: #291064;
$custom-light: #6b5291;
$custom-dark: #000000;
JSON
{
  "hex": "#291064",
  "rgb": {
    "r": 41,
    "g": 16,
    "b": 100
  },
  "hsl": {
    "h": 257.857,
    "s": 72.414,
    "l": 22.745
  },
  "oklch": {
    "l": 0.27593,
    "c": 0.13409,
    "h": 287.5
  },
  "luminance": 0.01762
}

Semantic roles & 50–950 ramp

primary
#291064
secondary
#7D9D33
accent
#EF39B9
background
#F6F4F9
surface
#ECE7F1
border
#C7C3CB
text
#07020D
muted
#7A787E

Preview Lab

Preview with #291064

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

Preview Lab → · Contrast checker → · Palette generator →

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