#26012A#26012A

#26012A is a very dark, moderate purple. Relative luminance 0.006; OKLCH L 19.4% C 0.088 H 324.0°. Best body text is #FFFFFF at 18.75:1 contrast (WCAG AA passes).

Color values

HEX#26012A
RGBrgb(38, 1, 42)
HSLhsl(294, 95%, 8%)
HSVhsv(294, 98%, 16%)
CMYKcmyk(9.5%, 97.6%, 0%, 83.5%)
CIE-LABlab(5.43, 24.96, -17.87)
CIE-LCHlch(5.43, 30.70, 324.41°)
OKLaboklab(19.36% 0.0709 -0.0516)
OKLCHoklch(19.36% 0.088 324)
XYZxyz(1.2281, 0.6010, 2.2414)
Luminance0.0060 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26012A #052A01
analogous
#11012A #26012A #2A0119
triadic
#26012A #2A2601 #012A26
tetradic
#26012A #2A1101 #052A01 #01192A
square
#26012A #2A1101 #052A01 #01192A
split-complementary
#26012A #192A01 #012A11
monochromatic
#1B011E #1B011E #26012A #5C0266 #9204A2

Accessibility & contrast

On white

18.75
#26012A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #26012A
18.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26012A#FFFFFF#000000##FFFFFF
##26012A1.0018.751.1218.75
#FFFFFF18.751.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000F2B
Deuteranopia (green-blind)
#071329
Tritanopia (blue-blind)
#270715
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #26012a;
/* rgb */ color: rgb(38, 1, 42);
/* oklch */ color: oklch(19.4% 0.088 324.0);
Tailwind
colors: {
  custom: {
    50: '#624664',
    500: '#26012a',
    950: '#000000',
  },
}
SCSS
$custom: #26012a;
$custom-light: #624664;
$custom-dark: #000000;
JSON
{
  "hex": "#26012a",
  "rgb": {
    "r": 38,
    "g": 1,
    "b": 42
  },
  "hsl": {
    "h": 294.146,
    "s": 95.349,
    "l": 8.431
  },
  "oklch": {
    "l": 0.19365,
    "c": 0.08774,
    "h": 324
  },
  "luminance": 0.00601
}

Semantic roles & 50–950 ramp

primary
#26012A
secondary
#1F7016
accent
#FF293E
background
#F5F4F5
surface
#EAE6EA
border
#C6C2C6
text
#050005
muted
#797779

Preview Lab

Preview with #26012A

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

Preview Lab → · Contrast checker → · Palette generator →

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