#291967#291967

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

Color values

HEX#291967
RGBrgb(41, 25, 103)
HSLhsl(252, 61%, 25%)
HSVhsv(252, 76%, 40%)
CMYKcmyk(60.2%, 75.7%, 0%, 59.6%)
CIE-LABlab(16.23, 30.66, -43.03)
CIE-LCHlch(16.23, 52.83, 305.47°)
OKLaboklab(29.13% 0.0322 -0.1239)
OKLCHoklch(29.13% 0.128 284.6)
XYZxyz(3.7095, 2.1457, 13.0480)
Luminance0.0215 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291967 #576719
analogous
#193067 #291967 #501967
triadic
#291967 #672919 #196729
tetradic
#291967 #671930 #576719 #196750
square
#291967 #671930 #576719 #196750
split-complementary
#291967 #675019 #306719
monochromatic
#0A0619 #150D36 #291967 #3D2598 #5031C9

Accessibility & contrast

On white

14.69
#291967 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#291967 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##291967#FFFFFF#000000##FFFFFF
##2919671.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)
#002A69
Deuteranopia (green-blind)
#002666
Tritanopia (blue-blind)
#092E3E
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #291967;
/* rgb */ color: rgb(41, 25, 103);
/* oklch */ color: oklch(29.1% 0.128 284.6);
Tailwind
colors: {
  custom: {
    50: '#6b5793',
    500: '#291967',
    950: '#000000',
  },
}
SCSS
$custom: #291967;
$custom-light: #6b5793;
$custom-dark: #000000;
JSON
{
  "hex": "#291967",
  "rgb": {
    "r": 41,
    "g": 25,
    "b": 103
  },
  "hsl": {
    "h": 252.308,
    "s": 60.938,
    "l": 25.098
  },
  "oklch": {
    "l": 0.2913,
    "c": 0.12798,
    "h": 284.6
  },
  "luminance": 0.02146
}

Semantic roles & 50–950 ramp

primary
#291967
secondary
#8A9D3F
accent
#E444C3
background
#F6F5F9
surface
#ECE9F1
border
#C7C5CB
text
#07030D
muted
#7A787E

Preview Lab

Preview with #291967

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

Preview Lab → · Contrast checker → · Palette generator →

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