#261F29#261F29

#261F29 is a dark, muted purple. Relative luminance 0.016; OKLCH L 25.2% C 0.021 H 315.7°. Best body text is #FFFFFF at 16.03:1 contrast (WCAG AA passes).

Color values

HEX#261F29
RGBrgb(38, 31, 41)
HSLhsl(282, 14%, 14%)
HSVhsv(282, 24%, 16%)
CMYKcmyk(7.3%, 24.4%, 0%, 83.9%)
CIE-LABlab(12.94, 5.77, -5.46)
CIE-LCHlch(12.94, 7.94, 316.55°)
OKLaboklab(25.17% 0.0151 -0.0147)
OKLCHoklch(25.17% 0.021 315.7)
XYZxyz(1.6895, 1.5522, 2.3080)
Luminance0.0155 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261F29 #22291F
analogous
#211F29 #261F29 #291F27
triadic
#261F29 #29261F #1F2926
tetradic
#261F29 #29211F #22291F #1F2729
square
#261F29 #29211F #22291F #1F2729
split-complementary
#261F29 #27291F #1F2921
monochromatic
#100D11 #100D11 #261F29 #46394C #67546F

Accessibility & contrast

On white

16.03
#261F29 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#261F29 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261F29
16.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261F29#FFFFFF#000000##FFFFFF
##261F291.0016.031.3116.03
#FFFFFF16.031.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E2129
Deuteranopia (green-blind)
#1F2229
Tritanopia (blue-blind)
#262022
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #261f29;
/* rgb */ color: rgb(38, 31, 41);
/* oklch */ color: oklch(25.2% 0.021 315.7);
Tailwind
colors: {
  custom: {
    50: '#605a62',
    500: '#261f29',
    950: '#000000',
  },
}
SCSS
$custom: #261f29;
$custom-light: #605a62;
$custom-dark: #000000;
JSON
{
  "hex": "#261f29",
  "rgb": {
    "r": 38,
    "g": 31,
    "b": 41
  },
  "hsl": {
    "h": 282,
    "s": 13.889,
    "l": 14.118
  },
  "oklch": {
    "l": 0.25167,
    "c": 0.02111,
    "h": 315.7
  },
  "luminance": 0.01552
}

Semantic roles & 50–950 ramp

primary
#261F29
secondary
#4F5A4A
accent
#B77186
background
#F5F5F5
surface
#E9E9EA
border
#C5C5C6
text
#040305
muted
#797879

Preview Lab

Preview with #261F29

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

Preview Lab → · Contrast checker → · Palette generator →

#261F29 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva