#291175#291175

#291175 is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.6% C 0.154 H 282.6°. Best body text is #FFFFFF at 14.67:1 contrast (WCAG AA passes).

Color values

HEX#291175
RGBrgb(41, 17, 117)
HSLhsl(254, 75%, 26%)
HSVhsv(254, 85%, 46%)
CMYKcmyk(65%, 85.5%, 0%, 54.1%)
CIE-LABlab(16.29, 39.33, -52.06)
CIE-LCHlch(16.29, 65.25, 307.07°)
OKLaboklab(29.62% 0.0337 -0.1501)
OKLCHoklch(29.62% 0.154 282.6)
XYZxyz(4.3248, 2.1564, 17.0145)
Luminance0.0216 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291175 #5D7511
analogous
#112B75 #291175 #5B1175
triadic
#291175 #752911 #117529
tetradic
#291175 #75112B #5D7511 #11755B
square
#291175 #75112B #5D7511 #11755B
split-complementary
#291175 #755B11 #2B7511
monochromatic
#09041B #160940 #291175 #3C19AA #4F22DF

Accessibility & contrast

On white

14.67
#291175 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#291175 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291175
14.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291175#FFFFFF#000000##FFFFFF
##2911751.0014.671.4314.67
#FFFFFF14.671.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B78
Deuteranopia (green-blind)
#002573
Tritanopia (blue-blind)
#003044
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #291175;
/* rgb */ color: rgb(41, 17, 117);
/* oklch */ color: oklch(29.6% 0.154 282.6);
Tailwind
colors: {
  custom: {
    50: '#6f549e',
    500: '#291175',
    950: '#000000',
  },
}
SCSS
$custom: #291175;
$custom-light: #6f549e;
$custom-dark: #000000;
JSON
{
  "hex": "#291175",
  "rgb": {
    "r": 41,
    "g": 17,
    "b": 117
  },
  "hsl": {
    "h": 254.4,
    "s": 74.627,
    "l": 26.275
  },
  "oklch": {
    "l": 0.29624,
    "c": 0.15388,
    "h": 282.6
  },
  "luminance": 0.02157
}

Semantic roles & 50–950 ramp

primary
#291175
secondary
#90AC36
accent
#F137C4
background
#F7F5F9
surface
#EDE8F2
border
#C8C4CC
text
#08030E
muted
#7B787E

Preview Lab

Preview with #291175

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

Preview Lab → · Contrast checker → · Palette generator →

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