#240633#240633

#240633 is a very dark, moderate purple. Relative luminance 0.007; OKLCH L 20.6% C 0.086 H 311.7°. Best body text is #FFFFFF at 18.28:1 contrast (WCAG AA passes).

Color values

HEX#240633
RGBrgb(36, 6, 51)
HSLhsl(280, 79%, 11%)
HSVhsv(280, 88%, 20%)
CMYKcmyk(29.4%, 88.2%, 0%, 80%)
CIE-LABlab(6.72, 24.33, -22.55)
CIE-LCHlch(6.72, 33.17, 317.17°)
OKLaboklab(20.63% 0.0572 -0.0642)
OKLCHoklch(20.63% 0.086 311.7)
XYZxyz(1.3901, 0.7444, 3.2018)
Luminance0.0074 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#240633 #153306
analogous
#0D0633 #240633 #33062B
triadic
#240633 #332406 #063324
tetradic
#240633 #330D06 #153306 #062B33
square
#240633 #330D06 #153306 #062B33
split-complementary
#240633 #2B3306 #06330D
monochromatic
#13031B #13031B #240633 #4B0C6A #7113A1

Accessibility & contrast

On white

18.28
#240633 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#240633 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #240633
18.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##240633#FFFFFF#000000##FFFFFF
##2406331.0018.281.1518.28
#FFFFFF18.281.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001334
Deuteranopia (green-blind)
#021532
Tritanopia (blue-blind)
#22101C
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #240633;
/* rgb */ color: rgb(36, 6, 51);
/* oklch */ color: oklch(20.6% 0.086 311.7);
Tailwind
colors: {
  custom: {
    50: '#61496b',
    500: '#240633',
    950: '#000000',
  },
}
SCSS
$custom: #240633;
$custom-light: #61496b;
$custom-dark: #000000;
JSON
{
  "hex": "#240633",
  "rgb": {
    "r": 36,
    "g": 6,
    "b": 51
  },
  "hsl": {
    "h": 280,
    "s": 78.947,
    "l": 11.176
  },
  "oklch": {
    "l": 0.20629,
    "c": 0.08598,
    "h": 311.7
  },
  "luminance": 0.00744
}

Semantic roles & 50–950 ramp

primary
#240633
secondary
#3D7421
accent
#F53273
background
#F5F4F6
surface
#EAE7EB
border
#C6C3C6
text
#050106
muted
#79777A

Preview Lab

Preview with #240633

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

Preview Lab → · Contrast checker → · Palette generator →

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