#291243#291243

#291243 is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.6% C 0.089 H 301.8°. Best body text is #FFFFFF at 16.64:1 contrast (WCAG AA passes).

Color values

HEX#291243
RGBrgb(41, 18, 67)
HSLhsl(268, 58%, 17%)
HSVhsv(268, 73%, 26%)
CMYKcmyk(38.8%, 73.1%, 0%, 73.7%)
CIE-LABlab(11.34, 23.42, -26.56)
CIE-LCHlch(11.34, 35.41, 311.40°)
OKLaboklab(24.59% 0.0467 -0.0755)
OKLCHoklch(24.59% 0.089 301.8)
XYZxyz(2.1436, 1.3093, 5.4489)
Luminance0.0131 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291243 #2C4312
analogous
#121443 #291243 #421243
triadic
#291243 #432912 #124329
tetradic
#291243 #431214 #2C4312 #124342
square
#291243 #431214 #2C4312 #124342
split-complementary
#291243 #434212 #144312
monochromatic
#0F0618 #0F0618 #291243 #471F73 #642CA3

Accessibility & contrast

On white

16.64
#291243 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#291243 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291243
16.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291243#FFFFFF#000000##FFFFFF
##2912431.0016.641.2616.64
#FFFFFF16.641.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E45
Deuteranopia (green-blind)
#021E42
Tritanopia (blue-blind)
#241D28
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #291243;
/* rgb */ color: rgb(41, 18, 67);
/* oklch */ color: oklch(24.6% 0.089 301.8);
Tailwind
colors: {
  custom: {
    50: '#655177',
    500: '#291243',
    950: '#000000',
  },
}
SCSS
$custom: #291243;
$custom-light: #655177;
$custom-dark: #000000;
JSON
{
  "hex": "#291243",
  "rgb": {
    "r": 41,
    "g": 18,
    "b": 67
  },
  "hsl": {
    "h": 268.163,
    "s": 57.647,
    "l": 16.667
  },
  "oklch": {
    "l": 0.24588,
    "c": 0.08878,
    "h": 301.8
  },
  "luminance": 0.01309
}

Semantic roles & 50–950 ramp

primary
#291243
secondary
#5B7C35
accent
#E14799
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060209
muted
#7A787B

Preview Lab

Preview with #291243

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

Preview Lab → · Contrast checker → · Palette generator →

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