#26012D#26012D

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

Color values

HEX#26012D
RGBrgb(38, 1, 45)
HSLhsl(290, 96%, 9%)
HSVhsv(290, 98%, 18%)
CMYKcmyk(15.6%, 97.8%, 0%, 82.4%)
CIE-LABlab(5.63, 25.84, -19.81)
CIE-LCHlch(5.63, 32.56, 322.52°)
OKLaboklab(19.63% 0.0703 -0.057)
OKLCHoklch(19.63% 0.091 320.9)
XYZxyz(1.2838, 0.6233, 2.5348)
Luminance0.0062 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26012D #082D01
analogous
#10012D #26012D #2D011E
triadic
#26012D #2D2601 #012D26
tetradic
#26012D #2D1001 #082D01 #011E2D
square
#26012D #2D1001 #082D01 #011E2D
split-complementary
#26012D #1E2D01 #012D10
monochromatic
#19011E #19011E #26012D #590269 #8B04A5

Accessibility & contrast

On white

18.67
#26012D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #26012D
18.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26012D#FFFFFF#000000##FFFFFF
##26012D1.0018.671.1218.67
#FFFFFF18.671.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00102E
Deuteranopia (green-blind)
#05142C
Tritanopia (blue-blind)
#260916
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #26012d;
/* rgb */ color: rgb(38, 1, 45);
/* oklch */ color: oklch(19.6% 0.091 320.9);
Tailwind
colors: {
  custom: {
    50: '#624666',
    500: '#26012d',
    950: '#000000',
  },
}
SCSS
$custom: #26012d;
$custom-light: #624666;
$custom-dark: #000000;
JSON
{
  "hex": "#26012d",
  "rgb": {
    "r": 38,
    "g": 1,
    "b": 45
  },
  "hsl": {
    "h": 290.455,
    "s": 95.652,
    "l": 9.02
  },
  "oklch": {
    "l": 0.19626,
    "c": 0.09053,
    "h": 320.9
  },
  "luminance": 0.00623
}

Semantic roles & 50–950 ramp

primary
#26012D
secondary
#257317
accent
#FF294B
background
#F6F4F6
surface
#EBE6EB
border
#C6C2C6
text
#050006
muted
#7A777A

Preview Lab

Preview with #26012D

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

Preview Lab → · Contrast checker → · Palette generator →

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