#26012C#26012C

#26012C is a very dark, moderate purple. Relative luminance 0.006; OKLCH L 19.5% C 0.090 H 321.9°. Best body text is #FFFFFF at 18.70:1 contrast (WCAG AA passes).

Color values

HEX#26012C
RGBrgb(38, 1, 44)
HSLhsl(292, 96%, 9%)
HSVhsv(292, 98%, 17%)
CMYKcmyk(13.6%, 97.7%, 0%, 82.7%)
CIE-LABlab(5.56, 25.55, -19.17)
CIE-LCHlch(5.56, 31.94, 323.12°)
OKLaboklab(19.54% 0.0705 -0.0553)
OKLCHoklch(19.54% 0.09 321.9)
XYZxyz(1.2648, 0.6157, 2.4346)
Luminance0.0062 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26012C #072C01
analogous
#11012C #26012C #2C011D
triadic
#26012C #2C2601 #012C26
tetradic
#26012C #2C1101 #072C01 #011D2C
square
#26012C #2C1101 #072C01 #011D2C
split-complementary
#26012C #1D2C01 #012C11
monochromatic
#1A011E #1A011E #26012C #5A0268 #8D04A4

Accessibility & contrast

On white

18.70
#26012C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#26012C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26012C
18.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26012C#FFFFFF#000000##FFFFFF
##26012C1.0018.701.1218.70
#FFFFFF18.701.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000F2D
Deuteranopia (green-blind)
#05142B
Tritanopia (blue-blind)
#260816
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #26012c;
/* rgb */ color: rgb(38, 1, 44);
/* oklch */ color: oklch(19.5% 0.090 321.9);
Tailwind
colors: {
  custom: {
    50: '#624665',
    500: '#26012c',
    950: '#000000',
  },
}
SCSS
$custom: #26012c;
$custom-light: #624665;
$custom-dark: #000000;
JSON
{
  "hex": "#26012c",
  "rgb": {
    "r": 38,
    "g": 1,
    "b": 44
  },
  "hsl": {
    "h": 291.628,
    "s": 95.556,
    "l": 8.824
  },
  "oklch": {
    "l": 0.19538,
    "c": 0.08959,
    "h": 321.9
  },
  "luminance": 0.00616
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #26012C

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

Preview Lab → · Contrast checker → · Palette generator →

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