#241076#241076

#241076 is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.2% C 0.157 H 279.4°. Best body text is #FFFFFF at 14.89:1 contrast (WCAG AA passes).

Color values

HEX#241076
RGBrgb(36, 16, 118)
HSLhsl(252, 76%, 26%)
HSVhsv(252, 86%, 46%)
CMYKcmyk(69.5%, 86.4%, 0%, 53.7%)
CIE-LABlab(15.76, 39.60, -53.58)
CIE-LCHlch(15.76, 66.63, 306.46°)
OKLaboklab(29.18% 0.0256 -0.1547)
OKLCHoklch(29.18% 0.157 279.4)
XYZxyz(4.1818, 2.0533, 17.3120)
Luminance0.0205 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241076 #627610
analogous
#102F76 #241076 #571076
triadic
#241076 #762410 #107624
tetradic
#241076 #76102F #627610 #107657
square
#241076 #76102F #627610 #107657
split-complementary
#241076 #765710 #2F7610
monochromatic
#08041B #140940 #241076 #3417AC #4620E1

Accessibility & contrast

On white

14.89
#241076 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#241076 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #241076
14.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241076#FFFFFF#000000##FFFFFF
##2410761.0014.891.4114.89
#FFFFFF14.891.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.891.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #241076;
/* rgb */ color: rgb(36, 16, 118);
/* oklch */ color: oklch(29.2% 0.157 279.4);
Tailwind
colors: {
  custom: {
    50: '#6d539f',
    500: '#241076',
    950: '#000000',
  },
}
SCSS
$custom: #241076;
$custom-light: #6d539f;
$custom-dark: #000000;
JSON
{
  "hex": "#241076",
  "rgb": {
    "r": 36,
    "g": 16,
    "b": 118
  },
  "hsl": {
    "h": 251.765,
    "s": 76.119,
    "l": 26.275
  },
  "oklch": {
    "l": 0.29179,
    "c": 0.15682,
    "h": 279.4
  },
  "luminance": 0.02054
}

Semantic roles & 50–950 ramp

primary
#241076
secondary
#95AD35
accent
#F335CE
background
#F7F4F9
surface
#EDE7F2
border
#C8C3CC
text
#08030F
muted
#7B787E

Preview Lab

Preview with #241076

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

Preview Lab → · Contrast checker → · Palette generator →

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