#260C28#260C28

#260C28 is a very dark, moderate purple. Relative luminance 0.008; OKLCH L 21.0% C 0.063 H 324.7°. Best body text is #FFFFFF at 18.02:1 contrast (WCAG AA passes).

Color values

HEX#260C28
RGBrgb(38, 12, 40)
HSLhsl(296, 54%, 10%)
HSVhsv(296, 70%, 16%)
CMYKcmyk(5%, 70%, 0%, 84.3%)
CIE-LABlab(7.48, 18.78, -13.13)
CIE-LCHlch(7.48, 22.91, 325.04°)
OKLaboklab(21.03% 0.0514 -0.0363)
OKLCHoklch(21.03% 0.063 324.7)
XYZxyz(1.3138, 0.8283, 2.0977)
Luminance0.0083 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#260C28 #0E280C
analogous
#180C28 #260C28 #280C1C
triadic
#260C28 #28260C #0C2826
tetradic
#260C28 #28180C #0E280C #0C1C28
square
#260C28 #28180C #0E280C #0C1C28
split-complementary
#260C28 #1C280C #0C2818
monochromatic
#160718 #160718 #260C28 #531A57 #7F2886

Accessibility & contrast

On white

18.02
#260C28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#260C28 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #260C28
18.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##260C28#FFFFFF#000000##FFFFFF
##260C281.0018.021.1718.02
#FFFFFF18.021.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF18.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#081429
Deuteranopia (green-blind)
#111827
Tritanopia (blue-blind)
#271018
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #260c28;
/* rgb */ color: rgb(38, 12, 40);
/* oklch */ color: oklch(21.0% 0.063 324.7);
Tailwind
colors: {
  custom: {
    50: '#614c62',
    500: '#260c28',
    950: '#000000',
  },
}
SCSS
$custom: #260c28;
$custom-light: #614c62;
$custom-dark: #000000;
JSON
{
  "hex": "#260c28",
  "rgb": {
    "r": 38,
    "g": 12,
    "b": 40
  },
  "hsl": {
    "h": 295.714,
    "s": 53.846,
    "l": 10.196
  },
  "oklch": {
    "l": 0.21025,
    "c": 0.06291,
    "h": 324.7
  },
  "luminance": 0.00828
}

Semantic roles & 50–950 ramp

primary
#260C28
secondary
#31632D
accent
#DD4B55
background
#F5F4F5
surface
#EAE7EA
border
#C6C3C6
text
#050105
muted
#797779

Preview Lab

Preview with #260C28

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

Preview Lab → · Contrast checker → · Palette generator →

#260C28 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva