#291A73#291A73

#291A73 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.5% C 0.143 H 281.5°. Best body text is #FFFFFF at 14.10:1 contrast (WCAG AA passes).

Color values

HEX#291A73
RGBrgb(41, 26, 115)
HSLhsl(250, 63%, 28%)
HSVhsv(250, 77%, 45%)
CMYKcmyk(64.3%, 77.4%, 0%, 54.9%)
CIE-LABlab(17.68, 34.05, -48.47)
CIE-LCHlch(17.68, 59.23, 305.09°)
OKLaboklab(30.53% 0.0285 -0.1398)
OKLCHoklch(30.53% 0.143 281.5)
XYZxyz(4.3774, 2.4477, 16.4581)
Luminance0.0245 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291A73 #64731A
analogous
#1A3873 #291A73 #551A73
triadic
#291A73 #73291A #1A7329
tetradic
#291A73 #731A38 #64731A #1A7355
square
#291A73 #731A38 #64731A #1A7355
split-complementary
#291A73 #73551A #38731A
monochromatic
#090619 #170F41 #291A73 #3B25A5 #5036D2

Accessibility & contrast

On white

14.10
#291A73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#291A73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291A73
14.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291A73#FFFFFF#000000##FFFFFF
##291A731.0014.101.4914.10
#FFFFFF14.101.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E76
Deuteranopia (green-blind)
#002871
Tritanopia (blue-blind)
#003345
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #291a73;
/* rgb */ color: rgb(41, 26, 115);
/* oklch */ color: oklch(30.5% 0.143 281.5);
Tailwind
colors: {
  custom: {
    50: '#6d599c',
    500: '#291a73',
    950: '#000000',
  },
}
SCSS
$custom: #291a73;
$custom-light: #6d599c;
$custom-dark: #000000;
JSON
{
  "hex": "#291a73",
  "rgb": {
    "r": 41,
    "g": 26,
    "b": 115
  },
  "hsl": {
    "h": 250.112,
    "s": 63.121,
    "l": 27.647
  },
  "oklch": {
    "l": 0.3053,
    "c": 0.14266,
    "h": 281.5
  },
  "luminance": 0.02448
}

Semantic roles & 50–950 ramp

primary
#291A73
secondary
#96A841
accent
#E642CA
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08030E
muted
#7B787E

Preview Lab

Preview with #291A73

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

Preview Lab → · Contrast checker → · Palette generator →

#291A73 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva