#26012E#26012E

#26012E is a very dark, moderate purple. Relative luminance 0.006; OKLCH L 19.7% C 0.091 H 320.0°. Best body text is #FFFFFF at 18.65:1 contrast (WCAG AA passes).

Color values

HEX#26012E
RGBrgb(38, 1, 46)
HSLhsl(289, 96%, 9%)
HSVhsv(289, 98%, 18%)
CMYKcmyk(17.4%, 97.8%, 0%, 82%)
CIE-LABlab(5.70, 26.14, -20.45)
CIE-LCHlch(5.70, 33.19, 321.96°)
OKLaboklab(19.72% 0.07 -0.0588)
OKLCHoklch(19.72% 0.091 320)
XYZxyz(1.3033, 0.6311, 2.6374)
Luminance0.0063 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26012E #092E01
analogous
#10012E #26012E #2E0120
triadic
#26012E #2E2601 #012E26
tetradic
#26012E #2E1001 #092E01 #01202E
square
#26012E #2E1001 #092E01 #01202E
split-complementary
#26012E #202E01 #012E10
monochromatic
#19011E #19011E #26012E #57026A #8904A6

Accessibility & contrast

On white

18.65
#26012E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#26012E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26012E
18.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26012E#FFFFFF#000000##FFFFFF
##26012E1.0018.651.1318.65
#FFFFFF18.651.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00102F
Deuteranopia (green-blind)
#04142D
Tritanopia (blue-blind)
#260917
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #26012e;
/* rgb */ color: rgb(38, 1, 46);
/* oklch */ color: oklch(19.7% 0.091 320.0);
Tailwind
colors: {
  custom: {
    50: '#624667',
    500: '#26012e',
    950: '#000000',
  },
}
SCSS
$custom: #26012e;
$custom-light: #624667;
$custom-dark: #000000;
JSON
{
  "hex": "#26012e",
  "rgb": {
    "r": 38,
    "g": 1,
    "b": 46
  },
  "hsl": {
    "h": 289.333,
    "s": 95.745,
    "l": 9.216
  },
  "oklch": {
    "l": 0.19716,
    "c": 0.09148,
    "h": 320
  },
  "luminance": 0.00631
}

Semantic roles & 50–950 ramp

primary
#26012E
secondary
#277417
accent
#FF294F
background
#F6F4F6
surface
#EBE6EB
border
#C6C2C6
text
#050006
muted
#7A777A

Preview Lab

Preview with #26012E

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

Preview Lab → · Contrast checker → · Palette generator →

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