#26142C#26142C

#26142C is a very dark, muted purple. Relative luminance 0.011; OKLCH L 22.8% C 0.051 H 317.3°. Best body text is #FFFFFF at 17.23:1 contrast (WCAG AA passes).

Color values

HEX#26142C
RGBrgb(38, 20, 44)
HSLhsl(285, 38%, 13%)
HSVhsv(285, 55%, 17%)
CMYKcmyk(13.6%, 54.5%, 0%, 82.7%)
CIE-LABlab(9.75, 14.52, -12.55)
CIE-LCHlch(9.75, 19.19, 319.16°)
OKLaboklab(22.8% 0.0376 -0.0347)
OKLCHoklch(22.8% 0.051 317.3)
XYZxyz(1.5040, 1.0943, 2.5144)
Luminance0.0109 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26142C #1A2C14
analogous
#1A142C #26142C #2C1426
triadic
#26142C #2C2614 #142C26
tetradic
#26142C #2C1A14 #1A2C14 #14262C
square
#26142C #2C1A14 #1A2C14 #14262C
split-complementary
#26142C #262C14 #142C1A
monochromatic
#120A15 #120A15 #26142C #4A2756 #6F3A80

Accessibility & contrast

On white

17.23
#26142C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#26142C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26142C
17.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26142C#FFFFFF#000000##FFFFFF
##26142C1.0017.231.2217.23
#FFFFFF17.231.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#101A2D
Deuteranopia (green-blind)
#151C2B
Tritanopia (blue-blind)
#26171D
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #26142c;
/* rgb */ color: rgb(38, 20, 44);
/* oklch */ color: oklch(22.8% 0.051 317.3);
Tailwind
colors: {
  custom: {
    50: '#615265',
    500: '#26142c',
    950: '#000000',
  },
}
SCSS
$custom: #26142c;
$custom-light: #615265;
$custom-dark: #000000;
JSON
{
  "hex": "#26142c",
  "rgb": {
    "r": 38,
    "g": 20,
    "b": 44
  },
  "hsl": {
    "h": 285,
    "s": 37.5,
    "l": 12.549
  },
  "oklch": {
    "l": 0.22795,
    "c": 0.05114,
    "h": 317.3
  },
  "luminance": 0.01094
}

Semantic roles & 50–950 ramp

primary
#26142C
secondary
#446239
accent
#CD5A77
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#050205
muted
#79787A

Preview Lab

Preview with #26142C

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

Preview Lab → · Contrast checker → · Palette generator →

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