#291A68#291A68

#291A68 is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.4% C 0.128 H 284.1°. Best body text is #FFFFFF at 14.56:1 contrast (WCAG AA passes).

Color values

HEX#291A68
RGBrgb(41, 26, 104)
HSLhsl(252, 60%, 25%)
HSVhsv(252, 75%, 41%)
CMYKcmyk(60.6%, 75%, 0%, 59.2%)
CIE-LABlab(16.55, 30.39, -43.17)
CIE-LCHlch(16.55, 52.79, 305.15°)
OKLaboklab(29.39% 0.0311 -0.1243)
OKLCHoklch(29.39% 0.128 284.1)
XYZxyz(3.7818, 2.2094, 13.3212)
Luminance0.0221 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291A68 #59681A
analogous
#1A3268 #291A68 #501A68
triadic
#291A68 #68291A #1A6829
tetradic
#291A68 #681A32 #59681A #1A6850
square
#291A68 #681A32 #59681A #1A6850
split-complementary
#291A68 #68501A #32681A
monochromatic
#0A0618 #160E37 #291A68 #3C2699 #5032CA

Accessibility & contrast

On white

14.56
#291A68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #291A68
14.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291A68#FFFFFF#000000##FFFFFF
##291A681.0014.561.4414.56
#FFFFFF14.561.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B6A
Deuteranopia (green-blind)
#002667
Tritanopia (blue-blind)
#082F3F
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #291a68;
/* rgb */ color: rgb(41, 26, 104);
/* oklch */ color: oklch(29.4% 0.128 284.1);
Tailwind
colors: {
  custom: {
    50: '#6b5894',
    500: '#291a68',
    950: '#000000',
  },
}
SCSS
$custom: #291a68;
$custom-light: #6b5894;
$custom-dark: #000000;
JSON
{
  "hex": "#291a68",
  "rgb": {
    "r": 41,
    "g": 26,
    "b": 104
  },
  "hsl": {
    "h": 251.538,
    "s": 60,
    "l": 25.49
  },
  "oklch": {
    "l": 0.29385,
    "c": 0.1281,
    "h": 284.1
  },
  "luminance": 0.0221
}

Semantic roles & 50–950 ramp

primary
#291A68
secondary
#8C9D40
accent
#E345C5
background
#F6F5F9
surface
#ECE9F1
border
#C7C5CB
text
#07030D
muted
#7A787E

Preview Lab

Preview with #291A68

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

Preview Lab → · Contrast checker → · Palette generator →

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