#240447#240447

#240447 is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 22.4% C 0.112 H 298.1°. Best body text is #FFFFFF at 17.75:1 contrast (WCAG AA passes).

Color values

HEX#240447
RGBrgb(36, 4, 71)
HSLhsl(269, 89%, 15%)
HSVhsv(269, 94%, 28%)
CMYKcmyk(49.3%, 94.4%, 0%, 72.2%)
CIE-LABlab(8.28, 31.24, -34.40)
CIE-LCHlch(8.28, 46.47, 312.24°)
OKLaboklab(22.39% 0.0527 -0.0986)
OKLCHoklch(22.39% 0.112 298.1)
XYZxyz(1.9080, 0.9168, 6.0364)
Luminance0.0092 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#240447 #274704
analogous
#040547 #240447 #460447
triadic
#240447 #472404 #044724
tetradic
#240447 #470405 #274704 #044746
square
#240447 #470405 #274704 #044746
split-complementary
#240447 #474604 #054704
monochromatic
#0F021D #0F021D #240447 #410781 #5F0BBB

Accessibility & contrast

On white

17.75
#240447 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#240447 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #240447
17.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##240447#FFFFFF#000000##FFFFFF
##2404471.0017.751.1817.75
#FFFFFF17.751.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001849
Deuteranopia (green-blind)
#001746
Tritanopia (blue-blind)
#1B1827
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #240447;
/* rgb */ color: rgb(36, 4, 71);
/* oklch */ color: oklch(22.4% 0.112 298.1);
Tailwind
colors: {
  custom: {
    50: '#64497b',
    500: '#240447',
    950: '#000000',
  },
}
SCSS
$custom: #240447;
$custom-light: #64497b;
$custom-dark: #000000;
JSON
{
  "hex": "#240447",
  "rgb": {
    "r": 36,
    "g": 4,
    "b": 71
  },
  "hsl": {
    "h": 268.657,
    "s": 89.333,
    "l": 14.706
  },
  "oklch": {
    "l": 0.22388,
    "c": 0.11179,
    "h": 298.1
  },
  "luminance": 0.00917
}

Semantic roles & 50–950 ramp

primary
#240447
secondary
#56881F
accent
#FF2999
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#060109
muted
#7A777B

Preview Lab

Preview with #240447

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

Preview Lab → · Contrast checker → · Palette generator →

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