#26082F#26082F

#26082F is a very dark, moderate purple. Relative luminance 0.008; OKLCH L 20.9% C 0.079 H 317.4°. Best body text is #FFFFFF at 18.13:1 contrast (WCAG AA passes).

Color values

HEX#26082F
RGBrgb(38, 8, 47)
HSLhsl(286, 71%, 11%)
HSVhsv(286, 83%, 18%)
CMYKcmyk(19.1%, 83%, 0%, 81.6%)
CIE-LABlab(7.14, 22.78, -18.90)
CIE-LCHlch(7.14, 29.60, 320.32°)
OKLaboklab(20.93% 0.0579 -0.0532)
OKLCHoklch(20.93% 0.079 317.4)
XYZxyz(1.3992, 0.7910, 2.7678)
Luminance0.0079 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26082F #112F08
analogous
#12082F #26082F #2F0824
triadic
#26082F #2F2608 #082F26
tetradic
#26082F #2F1208 #112F08 #08242F
square
#26082F #2F1208 #112F08 #08242F
split-complementary
#26082F #242F08 #082F12
monochromatic
#15041A #15041A #26082F #501163 #7B1A98

Accessibility & contrast

On white

18.13
#26082F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#26082F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26082F
18.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26082F#FFFFFF#000000##FFFFFF
##26082F1.0018.131.1618.13
#FFFFFF18.131.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001430
Deuteranopia (green-blind)
#09172E
Tritanopia (blue-blind)
#260F1A
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #26082f;
/* rgb */ color: rgb(38, 8, 47);
/* oklch */ color: oklch(20.9% 0.079 317.4);
Tailwind
colors: {
  custom: {
    50: '#624a68',
    500: '#26082f',
    950: '#000000',
  },
}
SCSS
$custom: #26082f;
$custom-light: #624a68;
$custom-dark: #000000;
JSON
{
  "hex": "#26082f",
  "rgb": {
    "r": 38,
    "g": 8,
    "b": 47
  },
  "hsl": {
    "h": 286.154,
    "s": 70.909,
    "l": 10.784
  },
  "oklch": {
    "l": 0.20927,
    "c": 0.07863,
    "h": 317.4
  },
  "luminance": 0.00791
}

Semantic roles & 50–950 ramp

primary
#26082F
secondary
#366E25
accent
#EE3A64
background
#F5F4F6
surface
#EAE7EB
border
#C6C3C6
text
#050106
muted
#79777A

Preview Lab

Preview with #26082F

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

Preview Lab → · Contrast checker → · Palette generator →

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