#26052A#26052A

#26052A is a very dark, moderate purple. Relative luminance 0.007; OKLCH L 20.1% C 0.079 H 323.3°. Best body text is #FFFFFF at 18.46:1 contrast (WCAG AA passes).

Color values

HEX#26052A
RGBrgb(38, 5, 42)
HSLhsl(294, 79%, 9%)
HSVhsv(294, 88%, 16%)
CMYKcmyk(9.5%, 88.1%, 0%, 83.5%)
CIE-LABlab(6.21, 22.95, -16.63)
CIE-LCHlch(6.21, 28.34, 324.07°)
OKLaboklab(20.05% 0.0633 -0.0471)
OKLCHoklch(20.05% 0.079 323.3)
XYZxyz(1.2715, 0.6879, 2.2558)
Luminance0.0069 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26052A #092A05
analogous
#14052A #26052A #2A051C
triadic
#26052A #2A2605 #052A26
tetradic
#26052A #2A1405 #092A05 #051C2A
square
#26052A #2A1405 #092A05 #051C2A
split-complementary
#26052A #1C2A05 #052A14
monochromatic
#19031B #19031B #26052A #570C61 #891297

Accessibility & contrast

On white

18.46
#26052A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#26052A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26052A
18.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26052A#FFFFFF#000000##FFFFFF
##26052A1.0018.461.1418.46
#FFFFFF18.461.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00112B
Deuteranopia (green-blind)
#0A1529
Tritanopia (blue-blind)
#270B16
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #26052a;
/* rgb */ color: rgb(38, 5, 42);
/* oklch */ color: oklch(20.1% 0.079 323.3);
Tailwind
colors: {
  custom: {
    50: '#624863',
    500: '#26052a',
    950: '#000000',
  },
}
SCSS
$custom: #26052a;
$custom-light: #624863;
$custom-dark: #000000;
JSON
{
  "hex": "#26052a",
  "rgb": {
    "r": 38,
    "g": 5,
    "b": 42
  },
  "hsl": {
    "h": 293.514,
    "s": 78.723,
    "l": 9.216
  },
  "oklch": {
    "l": 0.20051,
    "c": 0.0789,
    "h": 323.3
  },
  "luminance": 0.00688
}

Semantic roles & 50–950 ramp

primary
#26052A
secondary
#276C1F
accent
#F53348
background
#F5F4F5
surface
#EAE6EA
border
#C6C2C6
text
#050105
muted
#797779

Preview Lab

Preview with #26052A

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

Preview Lab → · Contrast checker → · Palette generator →

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