#240E44#240E44

#240E44 is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.4% C 0.095 H 297.0°. Best body text is #FFFFFF at 17.20:1 contrast (WCAG AA passes).

Color values

HEX#240E44
RGBrgb(36, 14, 68)
HSLhsl(264, 66%, 16%)
HSVhsv(264, 79%, 27%)
CMYKcmyk(47.1%, 79.4%, 0%, 73.3%)
CIE-LABlab(9.85, 24.94, -29.72)
CIE-LCHlch(9.85, 38.80, 310.00°)
OKLaboklab(23.39% 0.0433 -0.0849)
OKLCHoklch(23.39% 0.095 297)
XYZxyz(1.9277, 1.1065, 5.5797)
Luminance0.0111 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#240E44 #2E440E
analogous
#0E1344 #240E44 #3F0E44
triadic
#240E44 #44240E #0E4424
tetradic
#240E44 #440E13 #2E440E #0E443F
square
#240E44 #440E13 #2E440E #0E443F
split-complementary
#240E44 #443F0E #13440E
monochromatic
#0D0519 #0D0519 #240E44 #3F1877 #5A23AA

Accessibility & contrast

On white

17.20
#240E44 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#240E44 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #240E44
17.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##240E44#FFFFFF#000000##FFFFFF
##240E441.0017.201.2217.20
#FFFFFF17.201.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B46
Deuteranopia (green-blind)
#001A43
Tritanopia (blue-blind)
#1C1B27
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #240e44;
/* rgb */ color: rgb(36, 14, 68);
/* oklch */ color: oklch(23.4% 0.095 297.0);
Tailwind
colors: {
  custom: {
    50: '#624e78',
    500: '#240e44',
    950: '#000000',
  },
}
SCSS
$custom: #240e44;
$custom-light: #624e78;
$custom-dark: #000000;
JSON
{
  "hex": "#240e44",
  "rgb": {
    "r": 36,
    "g": 14,
    "b": 68
  },
  "hsl": {
    "h": 264.444,
    "s": 65.854,
    "l": 16.078
  },
  "oklch": {
    "l": 0.23389,
    "c": 0.09534,
    "h": 297
  },
  "luminance": 0.01106
}

Semantic roles & 50–950 ramp

primary
#240E44
secondary
#5E7F2F
accent
#E93FA4
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#050209
muted
#7A787B

Preview Lab

Preview with #240E44

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

Preview Lab → · Contrast checker → · Palette generator →

#240E44 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva