#262128#262128

#262128 is a dark, near-neutral purple. Relative luminance 0.017; OKLCH L 25.6% C 0.015 H 316.3°. Best body text is #FFFFFF at 15.78:1 contrast (WCAG AA passes).

Color values

HEX#262128
RGBrgb(38, 33, 40)
HSLhsl(283, 10%, 14%)
HSVhsv(283, 18%, 16%)
CMYKcmyk(5%, 17.5%, 0%, 84.3%)
CIE-LABlab(13.55, 4.06, -3.82)
CIE-LCHlch(13.55, 5.57, 316.76°)
OKLaboklab(25.63% 0.0107 -0.0102)
OKLCHoklch(25.63% 0.015 316.3)
XYZxyz(1.7261, 1.6530, 2.2352)
Luminance0.0165 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262128 #232821
analogous
#232128 #262128 #282127
triadic
#262128 #282621 #212826
tetradic
#262128 #282321 #232821 #212728
square
#262128 #282321 #232821 #212728
split-complementary
#262128 #272821 #212823
monochromatic
#100E11 #100E11 #262128 #463D4A #66586B

Accessibility & contrast

On white

15.78
#262128 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#262128 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262128
15.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262128#FFFFFF#000000##FFFFFF
##2621281.0015.781.3315.78
#FFFFFF15.781.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#202228
Deuteranopia (green-blind)
#212328
Tritanopia (blue-blind)
#262223
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #262128;
/* rgb */ color: rgb(38, 33, 40);
/* oklch */ color: oklch(25.6% 0.015 316.3);
Tailwind
colors: {
  custom: {
    50: '#605c61',
    500: '#262128',
    950: '#000000',
  },
}
SCSS
$custom: #262128;
$custom-light: #605c61;
$custom-dark: #000000;
JSON
{
  "hex": "#262128",
  "rgb": {
    "r": 38,
    "g": 33,
    "b": 40
  },
  "hsl": {
    "h": 282.857,
    "s": 9.589,
    "l": 14.314
  },
  "oklch": {
    "l": 0.25628,
    "c": 0.01482,
    "h": 316.3
  },
  "luminance": 0.01653
}

Semantic roles & 50–950 ramp

primary
#262128
secondary
#50584D
accent
#B37587
background
#F5F5F5
surface
#E9E9E9
border
#C5C5C5
text
#040405
muted
#797979

Preview Lab

Preview with #262128

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

Preview Lab → · Contrast checker → · Palette generator →

#262128 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva