#26072A#26072A

#26072A is a very dark, moderate purple. Relative luminance 0.007; OKLCH L 20.4% C 0.075 H 323.0°. Best body text is #FFFFFF at 18.32:1 contrast (WCAG AA passes).

Color values

HEX#26072A
RGBrgb(38, 7, 42)
HSLhsl(293, 71%, 10%)
HSVhsv(293, 83%, 16%)
CMYKcmyk(9.5%, 83.3%, 0%, 83.5%)
CIE-LABlab(6.61, 21.93, -16.01)
CIE-LCHlch(6.61, 27.15, 323.86°)
OKLaboklab(20.38% 0.0598 -0.045)
OKLCHoklch(20.38% 0.075 323)
XYZxyz(1.2932, 0.7313, 2.2631)
Luminance0.0073 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26072A #0B2A07
analogous
#15072A #26072A #2A071D
triadic
#26072A #2A2607 #072A26
tetradic
#26072A #2A1507 #0B2A07 #071D2A
square
#26072A #2A1507 #0B2A07 #071D2A
split-complementary
#26072A #1D2A07 #072A15
monochromatic
#18041A #18041A #26072A #55105E #851893

Accessibility & contrast

On white

18.32
#26072A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#26072A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26072A
18.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26072A#FFFFFF#000000##FFFFFF
##26072A1.0018.321.1518.32
#FFFFFF18.321.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01122B
Deuteranopia (green-blind)
#0C1629
Tritanopia (blue-blind)
#270D17
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #26072a;
/* rgb */ color: rgb(38, 7, 42);
/* oklch */ color: oklch(20.4% 0.075 323.0);
Tailwind
colors: {
  custom: {
    50: '#624963',
    500: '#26072a',
    950: '#000000',
  },
}
SCSS
$custom: #26072a;
$custom-light: #624963;
$custom-dark: #000000;
JSON
{
  "hex": "#26072a",
  "rgb": {
    "r": 38,
    "g": 7,
    "b": 42
  },
  "hsl": {
    "h": 293.143,
    "s": 71.429,
    "l": 9.608
  },
  "oklch": {
    "l": 0.20376,
    "c": 0.07483,
    "h": 323
  },
  "luminance": 0.00731
}

Semantic roles & 50–950 ramp

primary
#26072A
secondary
#2B6A23
accent
#EE3A4E
background
#F5F4F5
surface
#EAE7EA
border
#C6C3C6
text
#050105
muted
#797779

Preview Lab

Preview with #26072A

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

Preview Lab → · Contrast checker → · Palette generator →

#26072A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva