#26022C#26022C

#26022C is a very dark, moderate purple. Relative luminance 0.006; OKLCH L 19.7% C 0.087 H 321.7°. Best body text is #FFFFFF at 18.63:1 contrast (WCAG AA passes).

Color values

HEX#26022C
RGBrgb(38, 2, 44)
HSLhsl(291, 91%, 9%)
HSVhsv(291, 95%, 17%)
CMYKcmyk(13.6%, 95.5%, 0%, 82.7%)
CIE-LABlab(5.76, 25.04, -18.86)
CIE-LCHlch(5.76, 31.35, 323.01°)
OKLaboklab(19.71% 0.0686 -0.0541)
OKLCHoklch(19.71% 0.087 321.7)
XYZxyz(1.2756, 0.6374, 2.4382)
Luminance0.0064 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26022C #082C02
analogous
#11022C #26022C #2C021D
triadic
#26022C #2C2602 #022C26
tetradic
#26022C #2C1102 #082C02 #021D2C
square
#26022C #2C1102 #082C02 #021D2C
split-complementary
#26022C #1D2C02 #022C11
monochromatic
#19011D #19011D #26022C #590567 #8B07A1

Accessibility & contrast

On white

18.63
#26022C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #26022C
18.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26022C#FFFFFF#000000##FFFFFF
##26022C1.0018.631.1318.63
#FFFFFF18.631.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00102D
Deuteranopia (green-blind)
#06142B
Tritanopia (blue-blind)
#260916
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #26022c;
/* rgb */ color: rgb(38, 2, 44);
/* oklch */ color: oklch(19.7% 0.087 321.7);
Tailwind
colors: {
  custom: {
    50: '#624765',
    500: '#26022c',
    950: '#000000',
  },
}
SCSS
$custom: #26022c;
$custom-light: #624765;
$custom-dark: #000000;
JSON
{
  "hex": "#26022c",
  "rgb": {
    "r": 38,
    "g": 2,
    "b": 44
  },
  "hsl": {
    "h": 291.429,
    "s": 91.304,
    "l": 9.02
  },
  "oklch": {
    "l": 0.19711,
    "c": 0.08736,
    "h": 321.7
  },
  "luminance": 0.00637
}

Semantic roles & 50–950 ramp

primary
#26022C
secondary
#257119
accent
#FF2947
background
#F5F4F6
surface
#EAE6EB
border
#C6C2C6
text
#050005
muted
#79777A

Preview Lab

Preview with #26022C

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

Preview Lab → · Contrast checker → · Palette generator →

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