#26012F#26012F

#26012F is a very dark, moderate purple. Relative luminance 0.006; OKLCH L 19.8% C 0.092 H 319.0°. Best body text is #FFFFFF at 18.62:1 contrast (WCAG AA passes).

Color values

HEX#26012F
RGBrgb(38, 1, 47)
HSLhsl(288, 96%, 9%)
HSVhsv(288, 98%, 18%)
CMYKcmyk(19.1%, 97.9%, 0%, 81.6%)
CIE-LABlab(5.77, 26.43, -21.09)
CIE-LCHlch(5.77, 33.81, 321.42°)
OKLaboklab(19.81% 0.0698 -0.0606)
OKLCHoklch(19.81% 0.092 319)
XYZxyz(1.3232, 0.6391, 2.7424)
Luminance0.0064 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26012F #0A2F01
analogous
#0F012F #26012F #2F0121
triadic
#26012F #2F2601 #012F26
tetradic
#26012F #2F0F01 #0A2F01 #01212F
square
#26012F #2F0F01 #0A2F01 #01212F
split-complementary
#26012F #212F01 #012F0F
monochromatic
#18011E #18011E #26012F #56026B #8704A7

Accessibility & contrast

On white

18.62
#26012F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #26012F
18.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26012F#FFFFFF#000000##FFFFFF
##26012F1.0018.621.1318.62
#FFFFFF18.621.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001030
Deuteranopia (green-blind)
#03142E
Tritanopia (blue-blind)
#260A18
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #26012f;
/* rgb */ color: rgb(38, 1, 47);
/* oklch */ color: oklch(19.8% 0.092 319.0);
Tailwind
colors: {
  custom: {
    50: '#624668',
    500: '#26012f',
    950: '#000000',
  },
}
SCSS
$custom: #26012f;
$custom-light: #624668;
$custom-dark: #000000;
JSON
{
  "hex": "#26012f",
  "rgb": {
    "r": 38,
    "g": 1,
    "b": 47
  },
  "hsl": {
    "h": 288.261,
    "s": 95.833,
    "l": 9.412
  },
  "oklch": {
    "l": 0.19807,
    "c": 0.09241,
    "h": 319
  },
  "luminance": 0.00639
}

Semantic roles & 50–950 ramp

primary
#26012F
secondary
#297517
accent
#FF2953
background
#F6F4F6
surface
#EBE6EB
border
#C6C2C6
text
#050006
muted
#7A777A

Preview Lab

Preview with #26012F

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

Preview Lab → · Contrast checker → · Palette generator →

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