#291375#291375

#291375 is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.8% C 0.152 H 282.4°. Best body text is #FFFFFF at 14.54:1 contrast (WCAG AA passes).

Color values

HEX#291375
RGBrgb(41, 19, 117)
HSLhsl(253, 72%, 27%)
HSVhsv(253, 84%, 46%)
CMYKcmyk(65%, 83.8%, 0%, 54.1%)
CIE-LABlab(16.61, 38.40, -51.53)
CIE-LCHlch(16.61, 64.26, 306.69°)
OKLaboklab(29.85% 0.0326 -0.1486)
OKLCHoklch(29.85% 0.152 282.4)
XYZxyz(4.3572, 2.2212, 17.0253)
Luminance0.0222 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291375 #5F7513
analogous
#132E75 #291375 #5A1375
triadic
#291375 #752913 #137529
tetradic
#291375 #75132E #5F7513 #13755A
square
#291375 #75132E #5F7513 #13755A
split-complementary
#291375 #755A13 #2E7513
monochromatic
#09041A #170A40 #291375 #3B1CAA #4F27DC

Accessibility & contrast

On white

14.54
#291375 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#291375 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291375
14.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291375#FFFFFF#000000##FFFFFF
##2913751.0014.541.4414.54
#FFFFFF14.541.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.541.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #291375;
/* rgb */ color: rgb(41, 19, 117);
/* oklch */ color: oklch(29.8% 0.152 282.4);
Tailwind
colors: {
  custom: {
    50: '#6e559e',
    500: '#291375',
    950: '#000000',
  },
}
SCSS
$custom: #291375;
$custom-light: #6e559e;
$custom-dark: #000000;
JSON
{
  "hex": "#291375",
  "rgb": {
    "r": 41,
    "g": 19,
    "b": 117
  },
  "hsl": {
    "h": 253.469,
    "s": 72.059,
    "l": 26.667
  },
  "oklch": {
    "l": 0.29846,
    "c": 0.15215,
    "h": 282.4
  },
  "luminance": 0.02222
}

Semantic roles & 50–950 ramp

primary
#291375
secondary
#92AB38
accent
#EF39C6
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08030E
muted
#7B787E

Preview Lab

Preview with #291375

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

Preview Lab → · Contrast checker → · Palette generator →

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