#291354#291354

#291354 is a dark, moderate violet. Relative luminance 0.016; OKLCH L 26.3% C 0.110 H 292.7°. Best body text is #FFFFFF at 15.96:1 contrast (WCAG AA passes).

Color values

HEX#291354
RGBrgb(41, 19, 84)
HSLhsl(260, 63%, 20%)
HSVhsv(260, 77%, 33%)
CMYKcmyk(51.2%, 77.4%, 0%, 67.1%)
CIE-LABlab(13.09, 28.05, -35.47)
CIE-LCHlch(13.09, 45.22, 308.34°)
OKLaboklab(26.32% 0.0425 -0.1017)
OKLCHoklch(26.32% 0.11 292.7)
XYZxyz(2.7471, 1.5772, 8.5455)
Luminance0.0158 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291354 #3E5413
analogous
#131D54 #291354 #4A1354
triadic
#291354 #542913 #135429
tetradic
#291354 #54131D #3E5413 #13544A
square
#291354 #54131D #3E5413 #13544A
split-complementary
#291354 #544A13 #1D5413
monochromatic
#0C0619 #110822 #291354 #411E86 #5A2AB8

Accessibility & contrast

On white

15.96
#291354 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#291354 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291354
15.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291354#FFFFFF#000000##FFFFFF
##2913541.0015.961.3215.96
#FFFFFF15.961.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002356
Deuteranopia (green-blind)
#002053
Tritanopia (blue-blind)
#1C2432
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #291354;
/* rgb */ color: rgb(41, 19, 84);
/* oklch */ color: oklch(26.3% 0.110 292.7);
Tailwind
colors: {
  custom: {
    50: '#685385',
    500: '#291354',
    950: '#000000',
  },
}
SCSS
$custom: #291354;
$custom-light: #685385;
$custom-dark: #000000;
JSON
{
  "hex": "#291354",
  "rgb": {
    "r": 41,
    "g": 19,
    "b": 84
  },
  "hsl": {
    "h": 260.308,
    "s": 63.107,
    "l": 20.196
  },
  "oklch": {
    "l": 0.2632,
    "c": 0.11021,
    "h": 292.7
  },
  "luminance": 0.01577
}

Semantic roles & 50–950 ramp

primary
#291354
secondary
#6F8C36
accent
#E642AE
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020B
muted
#7A787C

Preview Lab

Preview with #291354

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

Preview Lab → · Contrast checker → · Palette generator →

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