#291669#291669

#291669 is a dark, vivid violet. Relative luminance 0.021; OKLCH L 28.9% C 0.134 H 284.8°. Best body text is #FFFFFF at 14.86:1 contrast (WCAG AA passes).

Color values

HEX#291669
RGBrgb(41, 22, 105)
HSLhsl(254, 65%, 25%)
HSVhsv(254, 79%, 41%)
CMYKcmyk(61%, 79%, 0%, 58.8%)
CIE-LABlab(15.82, 33.05, -45.01)
CIE-LCHlch(15.82, 55.84, 306.29°)
OKLaboklab(28.9% 0.0343 -0.1297)
OKLCHoklch(28.9% 0.134 284.8)
XYZxyz(3.7504, 2.0649, 13.5628)
Luminance0.0207 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291669 #566916
analogous
#162D69 #291669 #531669
triadic
#291669 #692916 #166929
tetradic
#291669 #69162D #566916 #166953
square
#291669 #69162D #566916 #166953
split-complementary
#291669 #695316 #2D6916
monochromatic
#0A0519 #150B36 #291669 #3D219C #512BCE

Accessibility & contrast

On white

14.86
#291669 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#291669 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291669
14.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291669#FFFFFF#000000##FFFFFF
##2916691.0014.861.4114.86
#FFFFFF14.861.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A6B
Deuteranopia (green-blind)
#002567
Tritanopia (blue-blind)
#062D3E
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #291669;
/* rgb */ color: rgb(41, 22, 105);
/* oklch */ color: oklch(28.9% 0.134 284.8);
Tailwind
colors: {
  custom: {
    50: '#6c5695',
    500: '#291669',
    950: '#000000',
  },
}
SCSS
$custom: #291669;
$custom-light: #6c5695;
$custom-dark: #000000;
JSON
{
  "hex": "#291669",
  "rgb": {
    "r": 41,
    "g": 22,
    "b": 105
  },
  "hsl": {
    "h": 253.735,
    "s": 65.354,
    "l": 24.902
  },
  "oklch": {
    "l": 0.28902,
    "c": 0.13411,
    "h": 284.8
  },
  "luminance": 0.02065
}

Semantic roles & 50–950 ramp

primary
#291669
secondary
#899F3B
accent
#E83FC2
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030D
muted
#7A787E

Preview Lab

Preview with #291669

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

Preview Lab → · Contrast checker → · Palette generator →

#291669 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva