#291057#291057

#291057 is a dark, moderate violet. Relative luminance 0.015; OKLCH L 26.2% C 0.118 H 292.3°. Best body text is #FFFFFF at 16.08:1 contrast (WCAG AA passes).

Color values

HEX#291057
RGBrgb(41, 16, 87)
HSLhsl(261, 69%, 20%)
HSVhsv(261, 82%, 34%)
CMYKcmyk(52.9%, 81.6%, 0%, 65.9%)
CIE-LABlab(12.80, 30.65, -37.99)
CIE-LCHlch(12.80, 48.81, 308.90°)
OKLaboklab(26.21% 0.0447 -0.109)
OKLCHoklch(26.21% 0.118 292.3)
XYZxyz(2.8196, 1.5300, 9.1617)
Luminance0.0153 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291057 #3E5710
analogous
#101A57 #291057 #4C1057
triadic
#291057 #572910 #105729
tetradic
#291057 #57101A #3E5710 #10574C
square
#291057 #57101A #3E5710 #10574C
split-complementary
#291057 #574C10 #1A5710
monochromatic
#0C051A #110623 #291057 #411A8B #5A23BE

Accessibility & contrast

On white

16.08
#291057 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#291057 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291057
16.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291057#FFFFFF#000000##FFFFFF
##2910571.0016.081.3116.08
#FFFFFF16.081.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002259
Deuteranopia (green-blind)
#002056
Tritanopia (blue-blind)
#1A2333
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #291057;
/* rgb */ color: rgb(41, 16, 87);
/* oklch */ color: oklch(26.2% 0.118 292.3);
Tailwind
colors: {
  custom: {
    50: '#695187',
    500: '#291057',
    950: '#000000',
  },
}
SCSS
$custom: #291057;
$custom-light: #695187;
$custom-dark: #000000;
JSON
{
  "hex": "#291057",
  "rgb": {
    "r": 41,
    "g": 16,
    "b": 87
  },
  "hsl": {
    "h": 261.127,
    "s": 68.932,
    "l": 20.196
  },
  "oklch": {
    "l": 0.26205,
    "c": 0.11784,
    "h": 292.3
  },
  "luminance": 0.0153
}

Semantic roles & 50–950 ramp

primary
#291057
secondary
#6F9032
accent
#EC3CAE
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#07020B
muted
#7A787C

Preview Lab

Preview with #291057

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

Preview Lab → · Contrast checker → · Palette generator →

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