#291348#291348

#291348 is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.2% C 0.094 H 298.4°. Best body text is #FFFFFF at 16.39:1 contrast (WCAG AA passes).

Color values

HEX#291348
RGBrgb(41, 19, 72)
HSLhsl(265, 58%, 18%)
HSVhsv(265, 74%, 28%)
CMYKcmyk(43.1%, 73.6%, 0%, 71.8%)
CIE-LABlab(11.99, 24.32, -29.01)
CIE-LCHlch(11.99, 37.85, 309.98°)
OKLaboklab(25.19% 0.0448 -0.0827)
OKLCHoklch(25.19% 0.094 298.4)
XYZxyz(2.3167, 1.4050, 6.2788)
Luminance0.0140 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291348 #324813
analogous
#131748 #291348 #431348
triadic
#291348 #482913 #134829
tetradic
#291348 #481317 #324813 #134843
square
#291348 #481317 #324813 #134843
split-complementary
#291348 #484313 #174813
monochromatic
#0E0618 #0E0618 #291348 #452078 #602DA9

Accessibility & contrast

On white

16.39
#291348 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#291348 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291348
16.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291348#FFFFFF#000000##FFFFFF
##2913481.0016.391.2816.39
#FFFFFF16.391.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00204A
Deuteranopia (green-blind)
#001F47
Tritanopia (blue-blind)
#221F2B
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #291348;
/* rgb */ color: rgb(41, 19, 72);
/* oklch */ color: oklch(25.2% 0.094 298.4);
Tailwind
colors: {
  custom: {
    50: '#66527b',
    500: '#291348',
    950: '#000000',
  },
}
SCSS
$custom: #291348;
$custom-light: #66527b;
$custom-dark: #000000;
JSON
{
  "hex": "#291348",
  "rgb": {
    "r": 41,
    "g": 19,
    "b": 72
  },
  "hsl": {
    "h": 264.906,
    "s": 58.242,
    "l": 17.843
  },
  "oklch": {
    "l": 0.25191,
    "c": 0.09402,
    "h": 298.4
  },
  "luminance": 0.01405
}

Semantic roles & 50–950 ramp

primary
#291348
secondary
#628136
accent
#E146A1
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#060209
muted
#7A787B

Preview Lab

Preview with #291348

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

Preview Lab → · Contrast checker → · Palette generator →

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