#291A65#291A65

#291A65 is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.1% C 0.124 H 284.8°. Best body text is #FFFFFF at 14.69:1 contrast (WCAG AA passes).

Color values

HEX#291A65
RGBrgb(41, 26, 101)
HSLhsl(252, 59%, 25%)
HSVhsv(252, 74%, 40%)
CMYKcmyk(59.4%, 74.3%, 0%, 60.4%)
CIE-LABlab(16.25, 29.39, -41.68)
CIE-LCHlch(16.25, 51.00, 305.19°)
OKLaboklab(29.08% 0.0318 -0.1199)
OKLCHoklch(29.08% 0.124 284.8)
XYZxyz(3.6321, 2.1496, 12.5329)
Luminance0.0215 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291A65 #56651A
analogous
#1A3165 #291A65 #4F1A65
triadic
#291A65 #65291A #1A6529
tetradic
#291A65 #651A31 #56651A #1A654F
square
#291A65 #651A31 #56651A #1A654F
split-complementary
#291A65 #654F1A #31651A
monochromatic
#0A0618 #150D34 #291A65 #3D2796 #5133C6

Accessibility & contrast

On white

14.69
#291A65 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#291A65 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291A65
14.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291A65#FFFFFF#000000##FFFFFF
##291A651.0014.691.4314.69
#FFFFFF14.691.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A67
Deuteranopia (green-blind)
#002664
Tritanopia (blue-blind)
#0C2E3D
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #291a65;
/* rgb */ color: rgb(41, 26, 101);
/* oklch */ color: oklch(29.1% 0.124 284.8);
Tailwind
colors: {
  custom: {
    50: '#6a5892',
    500: '#291a65',
    950: '#000000',
  },
}
SCSS
$custom: #291a65;
$custom-light: #6a5892;
$custom-dark: #000000;
JSON
{
  "hex": "#291a65",
  "rgb": {
    "r": 41,
    "g": 26,
    "b": 101
  },
  "hsl": {
    "h": 252,
    "s": 59.055,
    "l": 24.902
  },
  "oklch": {
    "l": 0.29082,
    "c": 0.12404,
    "h": 284.8
  },
  "luminance": 0.0215
}

Semantic roles & 50–950 ramp

primary
#291A65
secondary
#899B40
accent
#E246C3
background
#F6F5F9
surface
#ECE9F1
border
#C7C5CB
text
#07030D
muted
#7A787E

Preview Lab

Preview with #291A65

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

Preview Lab → · Contrast checker → · Palette generator →

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