#26022E#26022E

#26022E is a very dark, moderate purple. Relative luminance 0.007; OKLCH L 19.9% C 0.089 H 319.8°. Best body text is #FFFFFF at 18.57:1 contrast (WCAG AA passes).

Color values

HEX#26022E
RGBrgb(38, 2, 46)
HSLhsl(289, 92%, 9%)
HSVhsv(289, 96%, 18%)
CMYKcmyk(17.4%, 95.7%, 0%, 82%)
CIE-LABlab(5.90, 25.62, -20.14)
CIE-LCHlch(5.90, 32.59, 321.83°)
OKLaboklab(19.89% 0.0682 -0.0577)
OKLCHoklch(19.89% 0.089 319.8)
XYZxyz(1.3141, 0.6528, 2.6410)
Luminance0.0065 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26022E #0A2E02
analogous
#10022E #26022E #2E0220
triadic
#26022E #2E2602 #022E26
tetradic
#26022E #2E1002 #0A2E02 #02202E
square
#26022E #2E1002 #0A2E02 #02202E
split-complementary
#26022E #202E02 #022E10
monochromatic
#18011D #18011D #26022E #560569 #8707A3

Accessibility & contrast

On white

18.57
#26022E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#26022E on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##26022E#FFFFFF#000000##FFFFFF
##26022E1.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)
#00112F
Deuteranopia (green-blind)
#05142D
Tritanopia (blue-blind)
#260A17
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #26022e;
/* rgb */ color: rgb(38, 2, 46);
/* oklch */ color: oklch(19.9% 0.089 319.8);
Tailwind
colors: {
  custom: {
    50: '#624767',
    500: '#26022e',
    950: '#000000',
  },
}
SCSS
$custom: #26022e;
$custom-light: #624767;
$custom-dark: #000000;
JSON
{
  "hex": "#26022e",
  "rgb": {
    "r": 38,
    "g": 2,
    "b": 46
  },
  "hsl": {
    "h": 289.091,
    "s": 91.667,
    "l": 9.412
  },
  "oklch": {
    "l": 0.19886,
    "c": 0.0893,
    "h": 319.8
  },
  "luminance": 0.00653
}

Semantic roles & 50–950 ramp

primary
#26022E
secondary
#297319
accent
#FF2950
background
#F6F4F6
surface
#EBE6EB
border
#C6C2C6
text
#050006
muted
#7A777A

Preview Lab

Preview with #26022E

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

Preview Lab → · Contrast checker → · Palette generator →

#26022E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva