#241176#241176

#241176 is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.3% C 0.156 H 279.3°. Best body text is #FFFFFF at 14.82:1 contrast (WCAG AA passes).

Color values

HEX#241176
RGBrgb(36, 17, 118)
HSLhsl(251, 75%, 26%)
HSVhsv(251, 86%, 46%)
CMYKcmyk(69.5%, 85.6%, 0%, 53.7%)
CIE-LABlab(15.92, 39.14, -53.33)
CIE-LCHlch(15.92, 66.15, 306.28°)
OKLaboklab(29.29% 0.0252 -0.154)
OKLCHoklch(29.29% 0.156 279.3)
XYZxyz(4.1970, 2.0836, 17.3170)
Luminance0.0208 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241176 #637611
analogous
#113176 #241176 #571176
triadic
#241176 #762411 #117624
tetradic
#241176 #761131 #637611 #117657
square
#241176 #761131 #637611 #117657
split-complementary
#241176 #765711 #317611
monochromatic
#08041B #140941 #241176 #3419AB #4622DF

Accessibility & contrast

On white

14.82
#241176 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#241176 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #241176
14.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241176#FFFFFF#000000##FFFFFF
##2411761.0014.821.4214.82
#FFFFFF14.821.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B79
Deuteranopia (green-blind)
#002474
Tritanopia (blue-blind)
#003145
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #241176;
/* rgb */ color: rgb(36, 17, 118);
/* oklch */ color: oklch(29.3% 0.156 279.3);
Tailwind
colors: {
  custom: {
    50: '#6c539f',
    500: '#241176',
    950: '#000000',
  },
}
SCSS
$custom: #241176;
$custom-light: #6c539f;
$custom-dark: #000000;
JSON
{
  "hex": "#241176",
  "rgb": {
    "r": 36,
    "g": 17,
    "b": 118
  },
  "hsl": {
    "h": 251.287,
    "s": 74.815,
    "l": 26.471
  },
  "oklch": {
    "l": 0.29286,
    "c": 0.15603,
    "h": 279.3
  },
  "luminance": 0.02084
}

Semantic roles & 50–950 ramp

primary
#241176
secondary
#96AD36
accent
#F136CE
background
#F7F4F9
surface
#EDE8F2
border
#C8C4CC
text
#08030F
muted
#7B787E

Preview Lab

Preview with #241176

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

Preview Lab → · Contrast checker → · Palette generator →

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