#240433#240433

#240433 is a very dark, moderate purple. Relative luminance 0.007; OKLCH L 20.3% C 0.090 H 312.3°. Best body text is #FFFFFF at 18.42:1 contrast (WCAG AA passes).

Color values

HEX#240433
RGBrgb(36, 4, 51)
HSLhsl(281, 85%, 11%)
HSVhsv(281, 92%, 20%)
CMYKcmyk(29.4%, 92.2%, 0%, 80%)
CIE-LABlab(6.33, 25.38, -23.18)
CIE-LCHlch(6.33, 34.37, 317.59°)
OKLaboklab(20.31% 0.0603 -0.0663)
OKLCHoklch(20.31% 0.09 312.3)
XYZxyz(1.3684, 0.7010, 3.1945)
Luminance0.0070 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#240433 #133304
analogous
#0C0433 #240433 #33042A
triadic
#240433 #332404 #043324
tetradic
#240433 #330C04 #133304 #042A33
square
#240433 #330C04 #133304 #042A33
split-complementary
#240433 #2A3304 #04330C
monochromatic
#14021C #14021C #240433 #4C086C #740DA4

Accessibility & contrast

On white

18.42
#240433 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#240433 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #240433
18.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##240433#FFFFFF#000000##FFFFFF
##2404331.0018.421.1418.42
#FFFFFF18.421.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001234
Deuteranopia (green-blind)
#001532
Tritanopia (blue-blind)
#220F1B
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #240433;
/* rgb */ color: rgb(36, 4, 51);
/* oklch */ color: oklch(20.3% 0.090 312.3);
Tailwind
colors: {
  custom: {
    50: '#61486b',
    500: '#240433',
    950: '#000000',
  },
}
SCSS
$custom: #240433;
$custom-light: #61486b;
$custom-dark: #000000;
JSON
{
  "hex": "#240433",
  "rgb": {
    "r": 36,
    "g": 4,
    "b": 51
  },
  "hsl": {
    "h": 280.851,
    "s": 85.455,
    "l": 10.784
  },
  "oklch": {
    "l": 0.20313,
    "c": 0.08964,
    "h": 312.3
  },
  "luminance": 0.00701
}

Semantic roles & 50–950 ramp

primary
#240433
secondary
#3A751D
accent
#FC2C6E
background
#F5F4F6
surface
#EAE6EB
border
#C6C2C6
text
#050006
muted
#79777A

Preview Lab

Preview with #240433

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

Preview Lab → · Contrast checker → · Palette generator →

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