#291450#291450

#291450 is a dark, moderate violet. Relative luminance 0.016; OKLCH L 26.1% C 0.103 H 294.1°. Best body text is #FFFFFF at 16.03:1 contrast (WCAG AA passes).

Color values

HEX#291450
RGBrgb(41, 20, 80)
HSLhsl(261, 60%, 20%)
HSVhsv(261, 75%, 31%)
CMYKcmyk(48.8%, 75%, 0%, 68.6%)
CIE-LABlab(12.93, 26.20, -33.01)
CIE-LCHlch(12.93, 42.14, 308.44°)
OKLaboklab(26.09% 0.0422 -0.0944)
OKLCHoklch(26.09% 0.103 294.1)
XYZxyz(2.6122, 1.5508, 7.7496)
Luminance0.0155 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291450 #3B5014
analogous
#141D50 #291450 #471450
triadic
#291450 #502914 #145029
tetradic
#291450 #50141D #3B5014 #145047
square
#291450 #50141D #3B5014 #145047
split-complementary
#291450 #504714 #1D5014
monochromatic
#0D0618 #10081F #291450 #422081 #5B2CB2

Accessibility & contrast

On white

16.03
#291450 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #291450
16.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291450#FFFFFF#000000##FFFFFF
##2914501.0016.031.3116.03
#FFFFFF16.031.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002252
Deuteranopia (green-blind)
#00204F
Tritanopia (blue-blind)
#1E2330
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #291450;
/* rgb */ color: rgb(41, 20, 80);
/* oklch */ color: oklch(26.1% 0.103 294.1);
Tailwind
colors: {
  custom: {
    50: '#675382',
    500: '#291450',
    950: '#000000',
  },
}
SCSS
$custom: #291450;
$custom-light: #675382;
$custom-dark: #000000;
JSON
{
  "hex": "#291450",
  "rgb": {
    "r": 41,
    "g": 20,
    "b": 80
  },
  "hsl": {
    "h": 261,
    "s": 60,
    "l": 19.608
  },
  "oklch": {
    "l": 0.26087,
    "c": 0.10345,
    "h": 294.1
  },
  "luminance": 0.01551
}

Semantic roles & 50–950 ramp

primary
#291450
secondary
#6C8838
accent
#E345AC
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020A
muted
#7A787C

Preview Lab

Preview with #291450

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

Preview Lab → · Contrast checker → · Palette generator →

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