#26022A#26022A

#26022A is a very dark, moderate purple. Relative luminance 0.006; OKLCH L 19.5% C 0.085 H 323.8°. Best body text is #FFFFFF at 18.67:1 contrast (WCAG AA passes).

Color values

HEX#26022A
RGBrgb(38, 2, 42)
HSLhsl(294, 91%, 9%)
HSVhsv(294, 95%, 16%)
CMYKcmyk(9.5%, 95.2%, 0%, 83.5%)
CIE-LABlab(5.62, 24.46, -17.56)
CIE-LCHlch(5.62, 30.11, 324.33°)
OKLaboklab(19.54% 0.0689 -0.0505)
OKLCHoklch(19.54% 0.085 323.8)
XYZxyz(1.2389, 0.6227, 2.2450)
Luminance0.0062 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26022A #062A02
analogous
#12022A #26022A #2A021A
triadic
#26022A #2A2602 #022A26
tetradic
#26022A #2A1202 #062A02 #021A2A
square
#26022A #2A1202 #062A02 #021A2A
split-complementary
#26022A #1A2A02 #022A12
monochromatic
#1A011D #1A011D #26022A #5B0564 #90089F

Accessibility & contrast

On white

18.67
#26022A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#26022A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26022A
18.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26022A#FFFFFF#000000##FFFFFF
##26022A1.0018.671.1218.67
#FFFFFF18.671.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00102B
Deuteranopia (green-blind)
#081429
Tritanopia (blue-blind)
#270815
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #26022a;
/* rgb */ color: rgb(38, 2, 42);
/* oklch */ color: oklch(19.5% 0.085 323.8);
Tailwind
colors: {
  custom: {
    50: '#624763',
    500: '#26022a',
    950: '#000000',
  },
}
SCSS
$custom: #26022a;
$custom-light: #624763;
$custom-dark: #000000;
JSON
{
  "hex": "#26022a",
  "rgb": {
    "r": 38,
    "g": 2,
    "b": 42
  },
  "hsl": {
    "h": 294,
    "s": 90.909,
    "l": 8.627
  },
  "oklch": {
    "l": 0.19541,
    "c": 0.08543,
    "h": 323.8
  },
  "luminance": 0.00623
}

Semantic roles & 50–950 ramp

primary
#26022A
secondary
#216F19
accent
#FF293E
background
#F5F4F5
surface
#EAE6EA
border
#C6C2C6
text
#050005
muted
#797779

Preview Lab

Preview with #26022A

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

Preview Lab → · Contrast checker → · Palette generator →

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