#240135#240135

#240135 is a very dark, moderate purple. Relative luminance 0.007; OKLCH L 20.0% C 0.097 H 311.5°. Best body text is #FFFFFF at 18.57:1 contrast (WCAG AA passes).

Color values

HEX#240135
RGBrgb(36, 1, 53)
HSLhsl(280, 96%, 11%)
HSVhsv(280, 98%, 21%)
CMYKcmyk(32.1%, 98.1%, 0%, 79.2%)
CIE-LABlab(5.91, 27.58, -25.34)
CIE-LCHlch(5.91, 37.45, 317.43°)
OKLaboklab(20.02% 0.0646 -0.073)
OKLCHoklch(20.02% 0.097 311.5)
XYZxyz(1.3809, 0.6539, 3.4209)
Luminance0.0065 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#240135 #123501
analogous
#0A0135 #240135 #35012C
triadic
#240135 #352401 #013524
tetradic
#240135 #350A01 #123501 #012C35
square
#240135 #350A01 #123501 #012C35
split-complementary
#240135 #2C3501 #01350A
monochromatic
#14011E #14011E #240135 #4D0271 #7603AD

Accessibility & contrast

On white

18.57
#240135 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#240135 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #240135
18.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##240135#FFFFFF#000000##FFFFFF
##2401351.0018.571.1318.57
#FFFFFF18.571.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001136
Deuteranopia (green-blind)
#001434
Tritanopia (blue-blind)
#220D1B
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #240135;
/* rgb */ color: rgb(36, 1, 53);
/* oklch */ color: oklch(20.0% 0.097 311.5);
Tailwind
colors: {
  custom: {
    50: '#61466d',
    500: '#240135',
    950: '#000000',
  },
}
SCSS
$custom: #240135;
$custom-light: #61466d;
$custom-dark: #000000;
JSON
{
  "hex": "#240135",
  "rgb": {
    "r": 36,
    "g": 1,
    "b": 53
  },
  "hsl": {
    "h": 280.385,
    "s": 96.296,
    "l": 10.588
  },
  "oklch": {
    "l": 0.20021,
    "c": 0.09748,
    "h": 311.5
  },
  "luminance": 0.00654
}

Semantic roles & 50–950 ramp

primary
#240135
secondary
#387A18
accent
#FF296F
background
#F5F4F6
surface
#EAE6EB
border
#C6C2C6
text
#050007
muted
#79777A

Preview Lab

Preview with #240135

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

Preview Lab → · Contrast checker → · Palette generator →

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