#291459#291459

#291459 is a dark, moderate violet. Relative luminance 0.017; OKLCH L 27.0% C 0.116 H 290.4°. Best body text is #FFFFFF at 15.69:1 contrast (WCAG AA passes).

Color values

HEX#291459
RGBrgb(41, 20, 89)
HSLhsl(258, 63%, 21%)
HSVhsv(258, 78%, 35%)
CMYKcmyk(53.9%, 77.5%, 0%, 65.1%)
CIE-LABlab(13.79, 29.05, -37.72)
CIE-LCHlch(13.79, 47.61, 307.60°)
OKLaboklab(26.96% 0.0403 -0.1083)
OKLCHoklch(26.96% 0.116 290.4)
XYZxyz(2.9673, 1.6929, 9.6197)
Luminance0.0169 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291459 #445914
analogous
#142259 #291459 #4C1459
triadic
#291459 #592914 #145929
tetradic
#291459 #591422 #445914 #14594C
square
#291459 #591422 #445914 #14594C
split-complementary
#291459 #594C14 #225914
monochromatic
#0C0619 #120927 #291459 #401F8B #572ABD

Accessibility & contrast

On white

15.69
#291459 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#291459 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291459
15.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291459#FFFFFF#000000##FFFFFF
##2914591.0015.691.3415.69
#FFFFFF15.691.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00245B
Deuteranopia (green-blind)
#002258
Tritanopia (blue-blind)
#192635
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #291459;
/* rgb */ color: rgb(41, 20, 89);
/* oklch */ color: oklch(27.0% 0.116 290.4);
Tailwind
colors: {
  custom: {
    50: '#695489',
    500: '#291459',
    950: '#000000',
  },
}
SCSS
$custom: #291459;
$custom-light: #695489;
$custom-dark: #000000;
JSON
{
  "hex": "#291459",
  "rgb": {
    "r": 41,
    "g": 20,
    "b": 89
  },
  "hsl": {
    "h": 258.261,
    "s": 63.303,
    "l": 21.373
  },
  "oklch": {
    "l": 0.26963,
    "c": 0.11554,
    "h": 290.4
  },
  "luminance": 0.01693
}

Semantic roles & 50–950 ramp

primary
#291459
secondary
#769138
accent
#E641B4
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#07020B
muted
#7A787C

Preview Lab

Preview with #291459

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

Preview Lab → · Contrast checker → · Palette generator →

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