#240326#240326

#240326 is a very dark, moderate purple. Relative luminance 0.006; OKLCH L 19.0% C 0.078 H 325.7°. Best body text is #FFFFFF at 18.82:1 contrast (WCAG AA passes).

Color values

HEX#240326
RGBrgb(36, 3, 38)
HSLhsl(297, 85%, 8%)
HSVhsv(297, 92%, 15%)
CMYKcmyk(5.3%, 92.1%, 0%, 85.1%)
CIE-LABlab(5.24, 21.88, -15.13)
CIE-LCHlch(5.24, 26.60, 325.33°)
OKLaboklab(19.01% 0.0646 -0.044)
OKLCHoklch(19.01% 0.078 325.7)
XYZxyz(1.1099, 0.5802, 1.8869)
Luminance0.0058 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#240326 #052603
analogous
#120326 #240326 #260316
triadic
#240326 #262403 #032624
tetradic
#240326 #261203 #052603 #031626
square
#240326 #261203 #052603 #031626
split-complementary
#240326 #162603 #032612
monochromatic
#1B021C #1B021C #240326 #5A075F #8F0C97

Accessibility & contrast

On white

18.82
#240326 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#240326 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #240326
18.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##240326#FFFFFF#000000##FFFFFF
##2403261.0018.821.1218.82
#FFFFFF18.821.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000F27
Deuteranopia (green-blind)
#091325
Tritanopia (blue-blind)
#250813
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #240326;
/* rgb */ color: rgb(36, 3, 38);
/* oklch */ color: oklch(19.0% 0.078 325.7);
Tailwind
colors: {
  custom: {
    50: '#604760',
    500: '#240326',
    950: '#000000',
  },
}
SCSS
$custom: #240326;
$custom-light: #604760;
$custom-dark: #000000;
JSON
{
  "hex": "#240326",
  "rgb": {
    "r": 36,
    "g": 3,
    "b": 38
  },
  "hsl": {
    "h": 296.571,
    "s": 85.366,
    "l": 8.039
  },
  "oklch": {
    "l": 0.19005,
    "c": 0.07814,
    "h": 325.7
  },
  "luminance": 0.0058
}

Semantic roles & 50–950 ramp

primary
#240326
secondary
#1F6A1B
accent
#FC2C38
background
#F5F4F5
surface
#E9E6E9
border
#C5C2C5
text
#050005
muted
#797779

Preview Lab

Preview with #240326

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

Preview Lab → · Contrast checker → · Palette generator →

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