#291339#291339

#291339 is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 23.9% C 0.073 H 308.6°. Best body text is #FFFFFF at 16.85:1 contrast (WCAG AA passes).

Color values

HEX#291339
RGBrgb(41, 19, 57)
HSLhsl(275, 50%, 15%)
HSVhsv(275, 67%, 22%)
CMYKcmyk(28.1%, 66.7%, 0%, 77.6%)
CIE-LABlab(10.80, 19.86, -20.33)
CIE-LCHlch(10.80, 28.42, 314.32°)
OKLaboklab(23.94% 0.0457 -0.0572)
OKLCHoklch(23.94% 0.073 308.6)
XYZxyz(1.8857, 1.2326, 4.0087)
Luminance0.0123 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291339 #233913
analogous
#161339 #291339 #391336
triadic
#291339 #392913 #133929
tetradic
#291339 #391613 #233913 #133639
square
#291339 #391613 #233913 #133639
split-complementary
#291339 #363913 #133916
monochromatic
#110817 #110817 #291339 #4A2267 #6B3295

Accessibility & contrast

On white

16.85
#291339 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#291339 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291339
16.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291339#FFFFFF#000000##FFFFFF
##2913391.0016.851.2516.85
#FFFFFF16.851.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#061C3A
Deuteranopia (green-blind)
#0E1D38
Tritanopia (blue-blind)
#271A23
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #291339;
/* rgb */ color: rgb(41, 19, 57);
/* oklch */ color: oklch(23.9% 0.073 308.6);
Tailwind
colors: {
  custom: {
    50: '#64526f',
    500: '#291339',
    950: '#000000',
  },
}
SCSS
$custom: #291339;
$custom-light: #64526f;
$custom-dark: #000000;
JSON
{
  "hex": "#291339",
  "rgb": {
    "r": 41,
    "g": 19,
    "b": 57
  },
  "hsl": {
    "h": 274.737,
    "s": 50,
    "l": 14.902
  },
  "oklch": {
    "l": 0.23943,
    "c": 0.0732,
    "h": 308.6
  },
  "luminance": 0.01233
}

Semantic roles & 50–950 ramp

primary
#291339
secondary
#4F7137
accent
#DA4E89
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#050207
muted
#7A787A

Preview Lab

Preview with #291339

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

Preview Lab → · Contrast checker → · Palette generator →

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