#26202A#26202A

#26202A is a dark, muted violet. Relative luminance 0.016; OKLCH L 25.5% C 0.020 H 311.8°. Best body text is #FFFFFF at 15.88:1 contrast (WCAG AA passes).

Color values

HEX#26202A
RGBrgb(38, 32, 42)
HSLhsl(276, 14%, 15%)
HSVhsv(276, 24%, 16%)
CMYKcmyk(9.5%, 23.8%, 0%, 83.5%)
CIE-LABlab(13.30, 5.30, -5.63)
CIE-LCHlch(13.30, 7.73, 313.30°)
OKLaboklab(25.47% 0.0136 -0.0152)
OKLCHoklch(25.47% 0.02 311.8)
XYZxyz(1.7337, 1.6123, 2.4099)
Luminance0.0161 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26202A #242A20
analogous
#21202A #26202A #2A2029
triadic
#26202A #2A2620 #202A26
tetradic
#26202A #2A2120 #242A20 #20292A
square
#26202A #2A2120 #242A20 #20292A
split-complementary
#26202A #292A20 #202A21
monochromatic
#100D11 #100D11 #26202A #453A4D #65556F

Accessibility & contrast

On white

15.88
#26202A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#26202A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26202A
15.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26202A#FFFFFF#000000##FFFFFF
##26202A1.0015.881.3215.88
#FFFFFF15.881.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F222A
Deuteranopia (green-blind)
#20222A
Tritanopia (blue-blind)
#262123
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #26202a;
/* rgb */ color: rgb(38, 32, 42);
/* oklch */ color: oklch(25.5% 0.020 311.8);
Tailwind
colors: {
  custom: {
    50: '#605b63',
    500: '#26202a',
    950: '#000000',
  },
}
SCSS
$custom: #26202a;
$custom-light: #605b63;
$custom-dark: #000000;
JSON
{
  "hex": "#26202a",
  "rgb": {
    "r": 38,
    "g": 32,
    "b": 42
  },
  "hsl": {
    "h": 276,
    "s": 13.514,
    "l": 14.51
  },
  "oklch": {
    "l": 0.25466,
    "c": 0.02039,
    "h": 311.8
  },
  "luminance": 0.01612
}

Semantic roles & 50–950 ramp

primary
#26202A
secondary
#515B4B
accent
#B6718D
background
#F5F5F5
surface
#E9E9EA
border
#C5C5C6
text
#040405
muted
#797979

Preview Lab

Preview with #26202A

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

Preview Lab → · Contrast checker → · Palette generator →

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