#240826#240826

#240826 is a very dark, moderate purple. Relative luminance 0.007; OKLCH L 19.9% C 0.067 H 325.0°. Best body text is #FFFFFF at 18.46:1 contrast (WCAG AA passes).

Color values

HEX#240826
RGBrgb(36, 8, 38)
HSLhsl(296, 65%, 9%)
HSVhsv(296, 79%, 15%)
CMYKcmyk(5.3%, 78.9%, 0%, 85.1%)
CIE-LABlab(6.22, 19.48, -13.61)
CIE-LCHlch(6.22, 23.76, 325.06°)
OKLaboklab(19.89% 0.0549 -0.0384)
OKLCHoklch(19.89% 0.067 325)
XYZxyz(1.1642, 0.6887, 1.9050)
Luminance0.0069 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#240826 #0A2608
analogous
#150826 #240826 #260819
triadic
#240826 #262408 #082624
tetradic
#240826 #261508 #0A2608 #081926
square
#240826 #261508 #0A2608 #081926
split-complementary
#240826 #192608 #082615
monochromatic
#180519 #180519 #240826 #541359 #841D8B

Accessibility & contrast

On white

18.46
#240826 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #240826
18.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##240826#FFFFFF#000000##FFFFFF
##2408261.0018.461.1418.46
#FFFFFF18.461.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#041227
Deuteranopia (green-blind)
#0D1525
Tritanopia (blue-blind)
#250C15
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #240826;
/* rgb */ color: rgb(36, 8, 38);
/* oklch */ color: oklch(19.9% 0.067 325.0);
Tailwind
colors: {
  custom: {
    50: '#604a60',
    500: '#240826',
    950: '#000000',
  },
}
SCSS
$custom: #240826;
$custom-light: #604a60;
$custom-dark: #000000;
JSON
{
  "hex": "#240826",
  "rgb": {
    "r": 36,
    "g": 8,
    "b": 38
  },
  "hsl": {
    "h": 296,
    "s": 65.217,
    "l": 9.02
  },
  "oklch": {
    "l": 0.19885,
    "c": 0.06704,
    "h": 325
  },
  "luminance": 0.00689
}

Semantic roles & 50–950 ramp

primary
#240826
secondary
#2A6425
accent
#E8404B
background
#F5F4F5
surface
#E9E7E9
border
#C5C3C5
text
#050105
muted
#797779

Preview Lab

Preview with #240826

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

Preview Lab → · Contrast checker → · Palette generator →

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