#240533#240533

#240533 is a very dark, moderate purple. Relative luminance 0.007; OKLCH L 20.5% C 0.088 H 312.0°. Best body text is #FFFFFF at 18.35:1 contrast (WCAG AA passes).

Color values

HEX#240533
RGBrgb(36, 5, 51)
HSLhsl(280, 82%, 11%)
HSVhsv(280, 90%, 20%)
CMYKcmyk(29.4%, 90.2%, 0%, 80%)
CIE-LABlab(6.53, 24.85, -22.87)
CIE-LCHlch(6.53, 33.77, 317.38°)
OKLaboklab(20.47% 0.0587 -0.0652)
OKLCHoklch(20.47% 0.088 312)
XYZxyz(1.3793, 0.7227, 3.1982)
Luminance0.0072 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#240533 #143305
analogous
#0D0533 #240533 #33052B
triadic
#240533 #332405 #053324
tetradic
#240533 #330D05 #143305 #052B33
square
#240533 #330D05 #143305 #052B33
split-complementary
#240533 #2B3305 #05330D
monochromatic
#14031C #14031C #240533 #4B0A6B #7310A2

Accessibility & contrast

On white

18.35
#240533 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #240533
18.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##240533#FFFFFF#000000##FFFFFF
##2405331.0018.351.1418.35
#FFFFFF18.351.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.351.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #240533;
/* rgb */ color: rgb(36, 5, 51);
/* oklch */ color: oklch(20.5% 0.088 312.0);
Tailwind
colors: {
  custom: {
    50: '#61486b',
    500: '#240533',
    950: '#000000',
  },
}
SCSS
$custom: #240533;
$custom-light: #61486b;
$custom-dark: #000000;
JSON
{
  "hex": "#240533",
  "rgb": {
    "r": 36,
    "g": 5,
    "b": 51
  },
  "hsl": {
    "h": 280.435,
    "s": 82.143,
    "l": 10.98
  },
  "oklch": {
    "l": 0.20472,
    "c": 0.08779,
    "h": 312
  },
  "luminance": 0.00723
}

Semantic roles & 50–950 ramp

primary
#240533
secondary
#3B741F
accent
#F82F71
background
#F5F4F6
surface
#EAE7EB
border
#C6C3C6
text
#050106
muted
#79777A

Preview Lab

Preview with #240533

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

Preview Lab → · Contrast checker → · Palette generator →

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