#291969#291969

#291969 is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.3% C 0.131 H 284.1°. Best body text is #FFFFFF at 14.61:1 contrast (WCAG AA passes).

Color values

HEX#291969
RGBrgb(41, 25, 105)
HSLhsl(252, 62%, 25%)
HSVhsv(252, 76%, 41%)
CMYKcmyk(61%, 76.2%, 0%, 58.8%)
CIE-LABlab(16.44, 31.32, -44.01)
CIE-LCHlch(16.44, 54.02, 305.44°)
OKLaboklab(29.34% 0.0318 -0.1267)
OKLCHoklch(29.34% 0.131 284.1)
XYZxyz(3.8111, 2.1864, 13.5830)
Luminance0.0219 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291969 #596919
analogous
#193169 #291969 #511969
triadic
#291969 #692919 #196929
tetradic
#291969 #691931 #596919 #196951
square
#291969 #691931 #596919 #196951
split-complementary
#291969 #695119 #316919
monochromatic
#0A0619 #160D38 #291969 #3C259A #5031CC

Accessibility & contrast

On white

14.61
#291969 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#291969 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291969
14.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291969#FFFFFF#000000##FFFFFF
##2919691.0014.611.4414.61
#FFFFFF14.611.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.611.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #291969;
/* rgb */ color: rgb(41, 25, 105);
/* oklch */ color: oklch(29.3% 0.131 284.1);
Tailwind
colors: {
  custom: {
    50: '#6b5795',
    500: '#291969',
    950: '#000000',
  },
}
SCSS
$custom: #291969;
$custom-light: #6b5795;
$custom-dark: #000000;
JSON
{
  "hex": "#291969",
  "rgb": {
    "r": 41,
    "g": 25,
    "b": 105
  },
  "hsl": {
    "h": 252,
    "s": 61.538,
    "l": 25.49
  },
  "oklch": {
    "l": 0.29335,
    "c": 0.13065,
    "h": 284.1
  },
  "luminance": 0.02187
}

Semantic roles & 50–950 ramp

primary
#291969
secondary
#8C9F3F
accent
#E543C4
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030D
muted
#7A787E

Preview Lab

Preview with #291969

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

Preview Lab → · Contrast checker → · Palette generator →

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