#291076#291076

#291076 is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.6% C 0.156 H 282.5°. Best body text is #FFFFFF at 14.69:1 contrast (WCAG AA passes).

Color values

HEX#291076
RGBrgb(41, 16, 118)
HSLhsl(255, 76%, 26%)
HSVhsv(255, 86%, 46%)
CMYKcmyk(65.3%, 86.4%, 0%, 53.7%)
CIE-LABlab(16.25, 40.08, -52.76)
CIE-LCHlch(16.25, 66.25, 307.22°)
OKLaboklab(29.64% 0.0339 -0.1522)
OKLCHoklch(29.64% 0.156 282.5)
XYZxyz(4.3687, 2.1497, 17.3207)
Luminance0.0215 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291076 #5D7610
analogous
#102A76 #291076 #5C1076
triadic
#291076 #762910 #107629
tetradic
#291076 #76102A #5D7610 #10765C
square
#291076 #76102A #5D7610 #10765C
split-complementary
#291076 #765C10 #2A7610
monochromatic
#09041B #160940 #291076 #3C17AC #4F20E1

Accessibility & contrast

On white

14.69
#291076 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#291076 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291076
14.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291076#FFFFFF#000000##FFFFFF
##2910761.0014.691.4314.69
#FFFFFF14.691.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B79
Deuteranopia (green-blind)
#002574
Tritanopia (blue-blind)
#003045
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #291076;
/* rgb */ color: rgb(41, 16, 118);
/* oklch */ color: oklch(29.6% 0.156 282.5);
Tailwind
colors: {
  custom: {
    50: '#6f539f',
    500: '#291076',
    950: '#000000',
  },
}
SCSS
$custom: #291076;
$custom-light: #6f539f;
$custom-dark: #000000;
JSON
{
  "hex": "#291076",
  "rgb": {
    "r": 41,
    "g": 16,
    "b": 118
  },
  "hsl": {
    "h": 254.706,
    "s": 76.119,
    "l": 26.275
  },
  "oklch": {
    "l": 0.29636,
    "c": 0.15589,
    "h": 282.5
  },
  "luminance": 0.0215
}

Semantic roles & 50–950 ramp

primary
#291076
secondary
#90AD35
accent
#F335C4
background
#F7F4F9
surface
#EDE8F2
border
#C8C4CC
text
#08030F
muted
#7B787E

Preview Lab

Preview with #291076

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

Preview Lab → · Contrast checker → · Palette generator →

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