#291058#291058

#291058 is a dark, moderate violet. Relative luminance 0.015; OKLCH L 26.3% C 0.119 H 291.9°. Best body text is #FFFFFF at 16.04:1 contrast (WCAG AA passes).

Color values

HEX#291058
RGBrgb(41, 16, 88)
HSLhsl(261, 69%, 20%)
HSVhsv(261, 82%, 35%)
CMYKcmyk(53.4%, 81.8%, 0%, 65.5%)
CIE-LABlab(12.90, 30.96, -38.50)
CIE-LCHlch(12.90, 49.40, 308.81°)
OKLaboklab(26.31% 0.0444 -0.1105)
OKLCHoklch(26.31% 0.119 291.9)
XYZxyz(2.8607, 1.5465, 9.3784)
Luminance0.0155 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291058 #3F5810
analogous
#101B58 #291058 #4D1058
triadic
#291058 #582910 #105829
tetradic
#291058 #58101B #3F5810 #10584D
square
#291058 #58101B #3F5810 #10584D
split-complementary
#291058 #584D10 #1B5810
monochromatic
#0C051A #110724 #291058 #41198C #5923C0

Accessibility & contrast

On white

16.04
#291058 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #291058
16.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291058#FFFFFF#000000##FFFFFF
##2910581.0016.041.3116.04
#FFFFFF16.041.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00225A
Deuteranopia (green-blind)
#002057
Tritanopia (blue-blind)
#192433
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #291058;
/* rgb */ color: rgb(41, 16, 88);
/* oklch */ color: oklch(26.3% 0.119 291.9);
Tailwind
colors: {
  custom: {
    50: '#695188',
    500: '#291058',
    950: '#000000',
  },
}
SCSS
$custom: #291058;
$custom-light: #695188;
$custom-dark: #000000;
JSON
{
  "hex": "#291058",
  "rgb": {
    "r": 41,
    "g": 16,
    "b": 88
  },
  "hsl": {
    "h": 260.833,
    "s": 69.231,
    "l": 20.392
  },
  "oklch": {
    "l": 0.26309,
    "c": 0.11911,
    "h": 291.9
  },
  "luminance": 0.01547
}

Semantic roles & 50–950 ramp

primary
#291058
secondary
#709132
accent
#EC3CAF
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#07020B
muted
#7A787C

Preview Lab

Preview with #291058

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

Preview Lab → · Contrast checker → · Palette generator →

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