#291A60#291A60

#291A60 is a dark, moderate violet. Relative luminance 0.021; OKLCH L 28.6% C 0.117 H 286.2°. Best body text is #FFFFFF at 14.88:1 contrast (WCAG AA passes).

Color values

HEX#291A60
RGBrgb(41, 26, 96)
HSLhsl(253, 57%, 24%)
HSVhsv(253, 73%, 38%)
CMYKcmyk(57.3%, 72.9%, 0%, 62.4%)
CIE-LABlab(15.77, 27.71, -39.16)
CIE-LCHlch(15.77, 47.97, 305.29°)
OKLaboklab(28.59% 0.0327 -0.1125)
OKLCHoklch(28.59% 0.117 286.2)
XYZxyz(3.3945, 2.0546, 11.2818)
Luminance0.0205 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291A60 #51601A
analogous
#1A2E60 #291A60 #4C1A60
triadic
#291A60 #60291A #1A6029
tetradic
#291A60 #601A2E #51601A #1A604C
square
#291A60 #601A2E #51601A #1A604C
split-complementary
#291A60 #604C1A #2E601A
monochromatic
#0A0718 #140D30 #291A60 #3E2790 #5234C0

Accessibility & contrast

On white

14.88
#291A60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#291A60 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291A60
14.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291A60#FFFFFF#000000##FFFFFF
##291A601.0014.881.4114.88
#FFFFFF14.881.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002962
Deuteranopia (green-blind)
#00255F
Tritanopia (blue-blind)
#122C3A
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #291a60;
/* rgb */ color: rgb(41, 26, 96);
/* oklch */ color: oklch(28.6% 0.117 286.2);
Tailwind
colors: {
  custom: {
    50: '#69588e',
    500: '#291a60',
    950: '#000000',
  },
}
SCSS
$custom: #291a60;
$custom-light: #69588e;
$custom-dark: #000000;
JSON
{
  "hex": "#291a60",
  "rgb": {
    "r": 41,
    "g": 26,
    "b": 96
  },
  "hsl": {
    "h": 252.857,
    "s": 57.377,
    "l": 23.922
  },
  "oklch": {
    "l": 0.28588,
    "c": 0.11718,
    "h": 286.2
  },
  "luminance": 0.02055
}

Semantic roles & 50–950 ramp

primary
#291A60
secondary
#839640
accent
#E147C0
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#07030C
muted
#7A787D

Preview Lab

Preview with #291A60

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

Preview Lab → · Contrast checker → · Palette generator →

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