#291D60#291D60

#291D60 is a dark, moderate violet. Relative luminance 0.022; OKLCH L 29.1% C 0.113 H 285.2°. Best body text is #FFFFFF at 14.59:1 contrast (WCAG AA passes).

Color values

HEX#291D60
RGBrgb(41, 29, 96)
HSLhsl(251, 54%, 25%)
HSVhsv(251, 70%, 38%)
CMYKcmyk(57.3%, 69.8%, 0%, 62.4%)
CIE-LABlab(16.48, 25.80, -38.01)
CIE-LCHlch(16.48, 45.94, 304.17°)
OKLaboklab(29.1% 0.0296 -0.1091)
OKLCHoklch(29.1% 0.113 285.2)
XYZxyz(3.4645, 2.1945, 11.3051)
Luminance0.0220 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291D60 #54601D
analogous
#1D3360 #291D60 #4B1D60
triadic
#291D60 #60291D #1D6029
tetradic
#291D60 #601D33 #54601D #1D604B
square
#291D60 #601D33 #54601D #1D604B
split-complementary
#291D60 #604B1D #33601D
monochromatic
#0A0718 #150F31 #291D60 #3D2B8F #5139BE

Accessibility & contrast

On white

14.59
#291D60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#291D60 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291D60
14.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291D60#FFFFFF#000000##FFFFFF
##291D601.0014.591.4414.59
#FFFFFF14.591.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B62
Deuteranopia (green-blind)
#00275F
Tritanopia (blue-blind)
#122E3B
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #291d60;
/* rgb */ color: rgb(41, 29, 96);
/* oklch */ color: oklch(29.1% 0.113 285.2);
Tailwind
colors: {
  custom: {
    50: '#695a8e',
    500: '#291d60',
    950: '#000000',
  },
}
SCSS
$custom: #291d60;
$custom-light: #695a8e;
$custom-dark: #000000;
JSON
{
  "hex": "#291d60",
  "rgb": {
    "r": 41,
    "g": 29,
    "b": 96
  },
  "hsl": {
    "h": 250.746,
    "s": 53.6,
    "l": 24.51
  },
  "oklch": {
    "l": 0.29097,
    "c": 0.11307,
    "h": 285.2
  },
  "luminance": 0.02195
}

Semantic roles & 50–950 ramp

primary
#291D60
secondary
#879544
accent
#DD4BC3
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#07030C
muted
#7A787D

Preview Lab

Preview with #291D60

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

Preview Lab → · Contrast checker → · Palette generator →

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