#240441#240441

#240441 is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.7% C 0.105 H 301.8°. Best body text is #FFFFFF at 17.97:1 contrast (WCAG AA passes).

Color values

HEX#240441
RGBrgb(36, 4, 65)
HSLhsl(271, 88%, 14%)
HSVhsv(271, 94%, 25%)
CMYKcmyk(44.6%, 93.8%, 0%, 74.5%)
CIE-LABlab(7.62, 29.59, -31.24)
CIE-LCHlch(7.62, 43.03, 313.45°)
OKLaboklab(21.73% 0.0554 -0.0893)
OKLCHoklch(21.73% 0.105 301.8)
XYZxyz(1.7249, 0.8435, 5.0719)
Luminance0.0084 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#240441 #214104
analogous
#050441 #240441 #41043F
triadic
#240441 #412404 #044124
tetradic
#240441 #410504 #214104 #043F41
square
#240441 #410504 #214104 #043F41
split-complementary
#240441 #3F4104 #044105
monochromatic
#10021D #10021D #240441 #44087B #640BB4

Accessibility & contrast

On white

17.97
#240441 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#240441 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #240441
17.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##240441#FFFFFF#000000##FFFFFF
##2404411.0017.971.1717.97
#FFFFFF17.971.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001643
Deuteranopia (green-blind)
#001640
Tritanopia (blue-blind)
#1D1523
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #240441;
/* rgb */ color: rgb(36, 4, 65);
/* oklch */ color: oklch(21.7% 0.105 301.8);
Tailwind
colors: {
  custom: {
    50: '#634976',
    500: '#240441',
    950: '#000000',
  },
}
SCSS
$custom: #240441;
$custom-light: #634976;
$custom-dark: #000000;
JSON
{
  "hex": "#240441",
  "rgb": {
    "r": 36,
    "g": 4,
    "b": 65
  },
  "hsl": {
    "h": 271.475,
    "s": 88.406,
    "l": 13.529
  },
  "oklch": {
    "l": 0.21731,
    "c": 0.1051,
    "h": 301.8
  },
  "luminance": 0.00844
}

Semantic roles & 50–950 ramp

primary
#240441
secondary
#4E821F
accent
#FF298F
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060108
muted
#7A777B

Preview Lab

Preview with #240441

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

Preview Lab → · Contrast checker → · Palette generator →

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