#291A74#291A74

#291A74 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 30.6% C 0.144 H 281.3°. Best body text is #FFFFFF at 14.05:1 contrast (WCAG AA passes).

Color values

HEX#291A74
RGBrgb(41, 26, 116)
HSLhsl(250, 63%, 28%)
HSVhsv(250, 78%, 45%)
CMYKcmyk(64.7%, 77.6%, 0%, 54.5%)
CIE-LABlab(17.79, 34.38, -48.94)
CIE-LCHlch(17.79, 59.81, 305.09°)
OKLaboklab(30.64% 0.0283 -0.1412)
OKLCHoklch(30.64% 0.144 281.3)
XYZxyz(4.4352, 2.4708, 16.7628)
Luminance0.0247 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291A74 #65741A
analogous
#1A3874 #291A74 #561A74
triadic
#291A74 #74291A #1A7429
tetradic
#291A74 #741A38 #65741A #1A7456
square
#291A74 #741A38 #65741A #1A7456
split-complementary
#291A74 #74561A #38741A
monochromatic
#090619 #170F42 #291A74 #3B25A6 #5036D2

Accessibility & contrast

On white

14.05
#291A74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #291A74
14.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291A74#FFFFFF#000000##FFFFFF
##291A741.0014.051.4914.05
#FFFFFF14.051.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F77
Deuteranopia (green-blind)
#002872
Tritanopia (blue-blind)
#003345
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #291a74;
/* rgb */ color: rgb(41, 26, 116);
/* oklch */ color: oklch(30.6% 0.144 281.3);
Tailwind
colors: {
  custom: {
    50: '#6d599d',
    500: '#291a74',
    950: '#000000',
  },
}
SCSS
$custom: #291a74;
$custom-light: #6d599d;
$custom-dark: #000000;
JSON
{
  "hex": "#291a74",
  "rgb": {
    "r": 41,
    "g": 26,
    "b": 116
  },
  "hsl": {
    "h": 250,
    "s": 63.38,
    "l": 27.843
  },
  "oklch": {
    "l": 0.30636,
    "c": 0.14396,
    "h": 281.3
  },
  "luminance": 0.02471
}

Semantic roles & 50–950 ramp

primary
#291A74
secondary
#97A941
accent
#E641CB
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08030E
muted
#7B787E

Preview Lab

Preview with #291A74

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

Preview Lab → · Contrast checker → · Palette generator →

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