#26022F#26022F

#26022F is a very dark, moderate purple. Relative luminance 0.007; OKLCH L 20.0% C 0.090 H 318.8°. Best body text is #FFFFFF at 18.55:1 contrast (WCAG AA passes).

Color values

HEX#26022F
RGBrgb(38, 2, 47)
HSLhsl(288, 92%, 10%)
HSVhsv(288, 96%, 18%)
CMYKcmyk(19.1%, 95.7%, 0%, 81.6%)
CIE-LABlab(5.97, 25.92, -20.77)
CIE-LCHlch(5.97, 33.22, 321.29°)
OKLaboklab(19.98% 0.0679 -0.0595)
OKLCHoklch(19.98% 0.09 318.8)
XYZxyz(1.3341, 0.6608, 2.7460)
Luminance0.0066 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26022F #0B2F02
analogous
#10022F #26022F #2F0222
triadic
#26022F #2F2602 #022F26
tetradic
#26022F #2F1002 #0B2F02 #02222F
square
#26022F #2F1002 #0B2F02 #02222F
split-complementary
#26022F #222F02 #022F10
monochromatic
#18011D #18011D #26022F #55046A #8507A4

Accessibility & contrast

On white

18.55
#26022F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #26022F
18.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26022F#FFFFFF#000000##FFFFFF
##26022F1.0018.551.1318.55
#FFFFFF18.551.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001130
Deuteranopia (green-blind)
#04142E
Tritanopia (blue-blind)
#260B18
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #26022f;
/* rgb */ color: rgb(38, 2, 47);
/* oklch */ color: oklch(20.0% 0.090 318.8);
Tailwind
colors: {
  custom: {
    50: '#624768',
    500: '#26022f',
    950: '#000000',
  },
}
SCSS
$custom: #26022f;
$custom-light: #624768;
$custom-dark: #000000;
JSON
{
  "hex": "#26022f",
  "rgb": {
    "r": 38,
    "g": 2,
    "b": 47
  },
  "hsl": {
    "h": 288,
    "s": 91.837,
    "l": 9.608
  },
  "oklch": {
    "l": 0.19975,
    "c": 0.09028,
    "h": 318.8
  },
  "luminance": 0.00661
}

Semantic roles & 50–950 ramp

primary
#26022F
secondary
#2B7419
accent
#FF2954
background
#F6F4F6
surface
#EBE6EB
border
#C6C2C6
text
#050006
muted
#7A777A

Preview Lab

Preview with #26022F

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

Preview Lab → · Contrast checker → · Palette generator →

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