#291239#291239

#291239 is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 23.8% C 0.075 H 309.0°. Best body text is #FFFFFF at 16.94:1 contrast (WCAG AA passes).

Color values

HEX#291239
RGBrgb(41, 18, 57)
HSLhsl(275, 52%, 15%)
HSVhsv(275, 68%, 22%)
CMYKcmyk(28.1%, 68.4%, 0%, 77.6%)
CIE-LABlab(10.55, 20.50, -20.72)
CIE-LCHlch(10.55, 29.15, 314.70°)
OKLaboklab(23.77% 0.0472 -0.0583)
OKLCHoklch(23.77% 0.075 309)
XYZxyz(1.8691, 1.1995, 4.0032)
Luminance0.0120 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291239 #223912
analogous
#161239 #291239 #391236
triadic
#291239 #392912 #123929
tetradic
#291239 #391612 #223912 #123639
square
#291239 #391612 #223912 #123639
split-complementary
#291239 #363912 #123916
monochromatic
#110717 #110717 #291239 #4A2168 #6C2F96

Accessibility & contrast

On white

16.94
#291239 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#291239 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291239
16.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291239#FFFFFF#000000##FFFFFF
##2912391.0016.941.2416.94
#FFFFFF16.941.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#041C3A
Deuteranopia (green-blind)
#0D1D38
Tritanopia (blue-blind)
#271923
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #291239;
/* rgb */ color: rgb(41, 18, 57);
/* oklch */ color: oklch(23.8% 0.075 309.0);
Tailwind
colors: {
  custom: {
    50: '#64516f',
    500: '#291239',
    950: '#000000',
  },
}
SCSS
$custom: #291239;
$custom-light: #64516f;
$custom-dark: #000000;
JSON
{
  "hex": "#291239",
  "rgb": {
    "r": 41,
    "g": 18,
    "b": 57
  },
  "hsl": {
    "h": 275.385,
    "s": 52,
    "l": 14.706
  },
  "oklch": {
    "l": 0.23766,
    "c": 0.07507,
    "h": 309
  },
  "luminance": 0.01199
}

Semantic roles & 50–950 ramp

primary
#291239
secondary
#4E7235
accent
#DB4C87
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#050207
muted
#7A787A

Preview Lab

Preview with #291239

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

Preview Lab → · Contrast checker → · Palette generator →

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