#26022B#26022B

#26022B is a very dark, moderate purple. Relative luminance 0.006; OKLCH L 19.6% C 0.086 H 322.8°. Best body text is #FFFFFF at 18.65:1 contrast (WCAG AA passes).

Color values

HEX#26022B
RGBrgb(38, 2, 43)
HSLhsl(293, 91%, 9%)
HSVhsv(293, 95%, 17%)
CMYKcmyk(11.6%, 95.3%, 0%, 83.1%)
CIE-LABlab(5.69, 24.75, -18.21)
CIE-LCHlch(5.69, 30.72, 323.65°)
OKLaboklab(19.63% 0.0688 -0.0523)
OKLCHoklch(19.63% 0.086 322.8)
XYZxyz(1.2570, 0.6300, 2.3404)
Luminance0.0063 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26022B #072B02
analogous
#12022B #26022B #2B021C
triadic
#26022B #2B2602 #022B26
tetradic
#26022B #2B1202 #072B02 #021C2B
square
#26022B #2B1202 #072B02 #021C2B
split-complementary
#26022B #1C2B02 #022B12
monochromatic
#1A011D #1A011D #26022B #5A0565 #8D07A0

Accessibility & contrast

On white

18.65
#26022B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #26022B
18.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26022B#FFFFFF#000000##FFFFFF
##26022B1.0018.651.1318.65
#FFFFFF18.651.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00102C
Deuteranopia (green-blind)
#07142A
Tritanopia (blue-blind)
#270916
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #26022b;
/* rgb */ color: rgb(38, 2, 43);
/* oklch */ color: oklch(19.6% 0.086 322.8);
Tailwind
colors: {
  custom: {
    50: '#624764',
    500: '#26022b',
    950: '#000000',
  },
}
SCSS
$custom: #26022b;
$custom-light: #624764;
$custom-dark: #000000;
JSON
{
  "hex": "#26022b",
  "rgb": {
    "r": 38,
    "g": 2,
    "b": 43
  },
  "hsl": {
    "h": 292.683,
    "s": 91.111,
    "l": 8.824
  },
  "oklch": {
    "l": 0.19625,
    "c": 0.08639,
    "h": 322.8
  },
  "luminance": 0.0063
}

Semantic roles & 50–950 ramp

primary
#26022B
secondary
#237019
accent
#FF2943
background
#F5F4F6
surface
#EAE6EB
border
#C6C2C6
text
#050005
muted
#79777A

Preview Lab

Preview with #26022B

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

Preview Lab → · Contrast checker → · Palette generator →

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