#291B60#291B60

#291B60 is a dark, moderate violet. Relative luminance 0.021; OKLCH L 28.8% C 0.116 H 285.9°. Best body text is #FFFFFF at 14.79:1 contrast (WCAG AA passes).

Color values

HEX#291B60
RGBrgb(41, 27, 96)
HSLhsl(252, 56%, 24%)
HSVhsv(252, 72%, 38%)
CMYKcmyk(57.3%, 71.9%, 0%, 62.4%)
CIE-LABlab(16.00, 27.09, -38.78)
CIE-LCHlch(16.00, 47.30, 304.93°)
OKLaboklab(28.75% 0.0317 -0.1114)
OKLCHoklch(28.75% 0.116 285.9)
XYZxyz(3.4171, 2.0996, 11.2893)
Luminance0.0210 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291B60 #52601B
analogous
#1B3060 #291B60 #4C1B60
triadic
#291B60 #60291B #1B6029
tetradic
#291B60 #601B30 #52601B #1B604C
square
#291B60 #601B30 #52601B #1B604C
split-complementary
#291B60 #604C1B #30601B
monochromatic
#0A0718 #150E30 #291B60 #3D2890 #5236C0

Accessibility & contrast

On white

14.79
#291B60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#291B60 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291B60
14.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291B60#FFFFFF#000000##FFFFFF
##291B601.0014.791.4214.79
#FFFFFF14.791.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A62
Deuteranopia (green-blind)
#00265F
Tritanopia (blue-blind)
#122D3B
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #291b60;
/* rgb */ color: rgb(41, 27, 96);
/* oklch */ color: oklch(28.8% 0.116 285.9);
Tailwind
colors: {
  custom: {
    50: '#69588e',
    500: '#291b60',
    950: '#000000',
  },
}
SCSS
$custom: #291b60;
$custom-light: #69588e;
$custom-dark: #000000;
JSON
{
  "hex": "#291b60",
  "rgb": {
    "r": 41,
    "g": 27,
    "b": 96
  },
  "hsl": {
    "h": 252.174,
    "s": 56.098,
    "l": 24.118
  },
  "oklch": {
    "l": 0.28754,
    "c": 0.11584,
    "h": 285.9
  },
  "luminance": 0.021
}

Semantic roles & 50–950 ramp

primary
#291B60
secondary
#849641
accent
#DF48C1
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#07030C
muted
#7A787D

Preview Lab

Preview with #291B60

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

Preview Lab → · Contrast checker → · Palette generator →

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