#291259#291259

#291259 is a dark, moderate violet. Relative luminance 0.016; OKLCH L 26.7% C 0.118 H 291.0°. Best body text is #FFFFFF at 15.85:1 contrast (WCAG AA passes).

Color values

HEX#291259
RGBrgb(41, 18, 89)
HSLhsl(259, 66%, 21%)
HSVhsv(259, 80%, 35%)
CMYKcmyk(53.9%, 79.8%, 0%, 65.1%)
CIE-LABlab(13.38, 30.19, -38.38)
CIE-LCHlch(13.38, 48.83, 308.18°)
OKLaboklab(26.68% 0.0422 -0.1102)
OKLCHoklch(26.68% 0.118 291)
XYZxyz(2.9334, 1.6252, 9.6084)
Luminance0.0163 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291259 #425912
analogous
#121E59 #291259 #4C1259
triadic
#291259 #592912 #125929
tetradic
#291259 #59121E #425912 #12594C
square
#291259 #59121E #425912 #12594C
split-complementary
#291259 #594C12 #1E5912
monochromatic
#0C0519 #120826 #291259 #401C8C #5827BF

Accessibility & contrast

On white

15.85
#291259 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#291259 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291259
15.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291259#FFFFFF#000000##FFFFFF
##2912591.0015.851.3315.85
#FFFFFF15.851.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00235B
Deuteranopia (green-blind)
#002158
Tritanopia (blue-blind)
#192534
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #291259;
/* rgb */ color: rgb(41, 18, 89);
/* oklch */ color: oklch(26.7% 0.118 291.0);
Tailwind
colors: {
  custom: {
    50: '#695289',
    500: '#291259',
    950: '#000000',
  },
}
SCSS
$custom: #291259;
$custom-light: #695289;
$custom-dark: #000000;
JSON
{
  "hex": "#291259",
  "rgb": {
    "r": 41,
    "g": 18,
    "b": 89
  },
  "hsl": {
    "h": 259.437,
    "s": 66.355,
    "l": 20.98
  },
  "oklch": {
    "l": 0.26679,
    "c": 0.11801,
    "h": 291
  },
  "luminance": 0.01625
}

Semantic roles & 50–950 ramp

primary
#291259
secondary
#749235
accent
#E93FB2
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#07020B
muted
#7A787C

Preview Lab

Preview with #291259

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

Preview Lab → · Contrast checker → · Palette generator →

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