#291B65#291B65

#291B65 is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.2% C 0.123 H 284.5°. Best body text is #FFFFFF at 14.59:1 contrast (WCAG AA passes).

Color values

HEX#291B65
RGBrgb(41, 27, 101)
HSLhsl(251, 58%, 25%)
HSVhsv(251, 73%, 40%)
CMYKcmyk(59.4%, 73.3%, 0%, 60.4%)
CIE-LABlab(16.48, 28.77, -41.31)
CIE-LCHlch(16.48, 50.34, 304.85°)
OKLaboklab(29.24% 0.0308 -0.1188)
OKLCHoklch(29.24% 0.123 284.5)
XYZxyz(3.6546, 2.1947, 12.5404)
Luminance0.0220 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291B65 #57651B
analogous
#1B3265 #291B65 #4E1B65
triadic
#291B65 #65291B #1B6529
tetradic
#291B65 #651B32 #57651B #1B654E
square
#291B65 #651B32 #57651B #1B654E
split-complementary
#291B65 #654E1B #32651B
monochromatic
#0A0618 #150E35 #291B65 #3D2895 #5035C6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##291B65#FFFFFF#000000##FFFFFF
##291B651.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)
#002B67
Deuteranopia (green-blind)
#002664
Tritanopia (blue-blind)
#0C2E3D
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #291b65;
/* rgb */ color: rgb(41, 27, 101);
/* oklch */ color: oklch(29.2% 0.123 284.5);
Tailwind
colors: {
  custom: {
    50: '#6a5892',
    500: '#291b65',
    950: '#000000',
  },
}
SCSS
$custom: #291b65;
$custom-light: #6a5892;
$custom-dark: #000000;
JSON
{
  "hex": "#291b65",
  "rgb": {
    "r": 41,
    "g": 27,
    "b": 101
  },
  "hsl": {
    "h": 251.351,
    "s": 57.813,
    "l": 25.098
  },
  "oklch": {
    "l": 0.29243,
    "c": 0.12276,
    "h": 284.5
  },
  "luminance": 0.02195
}

Semantic roles & 50–950 ramp

primary
#291B65
secondary
#8A9A41
accent
#E147C4
background
#F6F5F9
surface
#ECE9F1
border
#C7C5CB
text
#07030D
muted
#7A787E

Preview Lab

Preview with #291B65

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

Preview Lab → · Contrast checker → · Palette generator →

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