#291150#291150

#291150 is a dark, moderate violet. Relative luminance 0.015; OKLCH L 25.6% C 0.108 H 295.1°. Best body text is #FFFFFF at 16.27:1 contrast (WCAG AA passes).

Color values

HEX#291150
RGBrgb(41, 17, 80)
HSLhsl(263, 65%, 19%)
HSVhsv(263, 79%, 31%)
CMYKcmyk(48.8%, 78.8%, 0%, 68.6%)
CIE-LABlab(12.30, 27.96, -34.04)
CIE-LCHlch(12.30, 44.05, 309.40°)
OKLaboklab(25.64% 0.0456 -0.0974)
OKLCHoklch(25.64% 0.108 295.1)
XYZxyz(2.5625, 1.4514, 7.7330)
Luminance0.0145 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291150 #385011
analogous
#111950 #291150 #491150
triadic
#291150 #502911 #115029
tetradic
#291150 #501119 #385011 #115049
square
#291150 #501119 #385011 #115049
split-complementary
#291150 #504911 #195011
monochromatic
#0D0519 #0F061E #291150 #431C82 #5D26B5

Accessibility & contrast

On white

16.27
#291150 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#291150 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291150
16.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291150#FFFFFF#000000##FFFFFF
##2911501.0016.271.2916.27
#FFFFFF16.271.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002152
Deuteranopia (green-blind)
#001F4F
Tritanopia (blue-blind)
#1E212F
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #291150;
/* rgb */ color: rgb(41, 17, 80);
/* oklch */ color: oklch(25.6% 0.108 295.1);
Tailwind
colors: {
  custom: {
    50: '#675182',
    500: '#291150',
    950: '#000000',
  },
}
SCSS
$custom: #291150;
$custom-light: #675182;
$custom-dark: #000000;
JSON
{
  "hex": "#291150",
  "rgb": {
    "r": 41,
    "g": 17,
    "b": 80
  },
  "hsl": {
    "h": 262.857,
    "s": 64.948,
    "l": 19.02
  },
  "oklch": {
    "l": 0.25637,
    "c": 0.10759,
    "h": 295.1
  },
  "luminance": 0.01452
}

Semantic roles & 50–950 ramp

primary
#291150
secondary
#698933
accent
#E840A8
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020A
muted
#7A787C

Preview Lab

Preview with #291150

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

Preview Lab → · Contrast checker → · Palette generator →

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