#240B2D#240B2D

#240B2D is a very dark, moderate purple. Relative luminance 0.008; OKLCH L 20.9% C 0.070 H 316.1°. Best body text is #FFFFFF at 18.09:1 contrast (WCAG AA passes).

Color values

HEX#240B2D
RGBrgb(36, 11, 45)
HSLhsl(284, 61%, 11%)
HSVhsv(284, 76%, 18%)
CMYKcmyk(20%, 75.6%, 0%, 82.4%)
CIE-LABlab(7.26, 19.94, -17.25)
CIE-LCHlch(7.26, 26.37, 319.15°)
OKLaboklab(20.89% 0.0502 -0.0484)
OKLCHoklch(20.89% 0.07 316.1)
XYZxyz(1.3208, 0.8039, 2.5677)
Luminance0.0080 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#240B2D #142D0B
analogous
#130B2D #240B2D #2D0B25
triadic
#240B2D #2D240B #0B2D24
tetradic
#240B2D #2D130B #142D0B #0B252D
square
#240B2D #2D130B #142D0B #0B252D
split-complementary
#240B2D #252D0B #0B2D13
monochromatic
#140619 #140619 #240B2D #4B175E #73238F

Accessibility & contrast

On white

18.09
#240B2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#240B2D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #240B2D
18.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##240B2D#FFFFFF#000000##FFFFFF
##240B2D1.0018.091.1618.09
#FFFFFF18.091.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#03152E
Deuteranopia (green-blind)
#0B172C
Tritanopia (blue-blind)
#23111A
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #240b2d;
/* rgb */ color: rgb(36, 11, 45);
/* oklch */ color: oklch(20.9% 0.070 316.1);
Tailwind
colors: {
  custom: {
    50: '#604b66',
    500: '#240b2d',
    950: '#000000',
  },
}
SCSS
$custom: #240b2d;
$custom-light: #604b66;
$custom-dark: #000000;
JSON
{
  "hex": "#240b2d",
  "rgb": {
    "r": 36,
    "g": 11,
    "b": 45
  },
  "hsl": {
    "h": 284.118,
    "s": 60.714,
    "l": 10.98
  },
  "oklch": {
    "l": 0.20894,
    "c": 0.06978,
    "h": 316.1
  },
  "luminance": 0.00804
}

Semantic roles & 50–950 ramp

primary
#240B2D
secondary
#3B692A
accent
#E4446E
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#050106
muted
#79777A

Preview Lab

Preview with #240B2D

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

Preview Lab → · Contrast checker → · Palette generator →

#240B2D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva