#291376#291376

#291376 is a dark, vivid violet. Relative luminance 0.022; OKLCH L 30.0% C 0.153 H 282.1°. Best body text is #FFFFFF at 14.49:1 contrast (WCAG AA passes).

Color values

HEX#291376
RGBrgb(41, 19, 118)
HSLhsl(253, 72%, 27%)
HSVhsv(253, 84%, 46%)
CMYKcmyk(65.3%, 83.9%, 0%, 53.7%)
CIE-LABlab(16.72, 38.71, -51.98)
CIE-LCHlch(16.72, 64.81, 306.67°)
OKLaboklab(29.96% 0.0322 -0.15)
OKLCHoklch(29.96% 0.153 282.1)
XYZxyz(4.4163, 2.2448, 17.3366)
Luminance0.0225 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291376 #607613
analogous
#132F76 #291376 #5B1376
triadic
#291376 #762913 #137629
tetradic
#291376 #76132F #607613 #13765B
square
#291376 #76132F #607613 #13765B
split-complementary
#291376 #765B13 #2F7613
monochromatic
#09041A #170B41 #291376 #3B1BAB #4F27DC

Accessibility & contrast

On white

14.49
#291376 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#291376 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291376
14.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291376#FFFFFF#000000##FFFFFF
##2913761.0014.491.4514.49
#FFFFFF14.491.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C79
Deuteranopia (green-blind)
#002674
Tritanopia (blue-blind)
#003145
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #291376;
/* rgb */ color: rgb(41, 19, 118);
/* oklch */ color: oklch(30.0% 0.153 282.1);
Tailwind
colors: {
  custom: {
    50: '#6f559f',
    500: '#291376',
    950: '#000000',
  },
}
SCSS
$custom: #291376;
$custom-light: #6f559f;
$custom-dark: #000000;
JSON
{
  "hex": "#291376",
  "rgb": {
    "r": 41,
    "g": 19,
    "b": 118
  },
  "hsl": {
    "h": 253.333,
    "s": 72.263,
    "l": 26.863
  },
  "oklch": {
    "l": 0.2996,
    "c": 0.15338,
    "h": 282.1
  },
  "luminance": 0.02245
}

Semantic roles & 50–950 ramp

primary
#291376
secondary
#93AC39
accent
#EF39C6
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08030F
muted
#7B787E

Preview Lab

Preview with #291376

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

Preview Lab → · Contrast checker → · Palette generator →

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