#291853#291853

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

Color values

HEX#291853
RGBrgb(41, 24, 83)
HSLhsl(257, 55%, 21%)
HSVhsv(257, 71%, 33%)
CMYKcmyk(50.6%, 71.1%, 0%, 67.5%)
CIE-LABlab(14.11, 24.67, -33.13)
CIE-LCHlch(14.11, 41.31, 306.67°)
OKLaboklab(27.02% 0.037 -0.0948)
OKLCHoklch(27.02% 0.102 291.3)
XYZxyz(2.8020, 1.7491, 8.3719)
Luminance0.0175 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291853 #425318
analogous
#182453 #291853 #461853
triadic
#291853 #532918 #185329
tetradic
#291853 #531824 #425318 #185346
square
#291853 #531824 #425318 #185346
split-complementary
#291853 #534618 #245318
monochromatic
#0C0718 #120A24 #291853 #402682 #5833B2

Accessibility & contrast

On white

15.56
#291853 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#291853 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291853
15.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291853#FFFFFF#000000##FFFFFF
##2918531.0015.561.3515.56
#FFFFFF15.561.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002555
Deuteranopia (green-blind)
#002352
Tritanopia (blue-blind)
#1C2633
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #291853;
/* rgb */ color: rgb(41, 24, 83);
/* oklch */ color: oklch(27.0% 0.102 291.3);
Tailwind
colors: {
  custom: {
    50: '#675684',
    500: '#291853',
    950: '#000000',
  },
}
SCSS
$custom: #291853;
$custom-light: #675684;
$custom-dark: #000000;
JSON
{
  "hex": "#291853",
  "rgb": {
    "r": 41,
    "g": 24,
    "b": 83
  },
  "hsl": {
    "h": 257.288,
    "s": 55.14,
    "l": 20.98
  },
  "oklch": {
    "l": 0.27022,
    "c": 0.10177,
    "h": 291.3
  },
  "luminance": 0.01749
}

Semantic roles & 50–950 ramp

primary
#291853
secondary
#748A3D
accent
#DE49B3
background
#F6F5F8
surface
#EBE9EF
border
#C6C5CA
text
#06030B
muted
#7A787C

Preview Lab

Preview with #291853

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

Preview Lab → · Contrast checker → · Palette generator →

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