#282129#282129

#282129 is a dark, near-neutral purple. Relative luminance 0.017; OKLCH L 25.9% C 0.018 H 322.1°. Best body text is #FFFFFF at 15.67:1 contrast (WCAG AA passes).

Color values

HEX#282129
RGBrgb(40, 33, 41)
HSLhsl(293, 11%, 15%)
HSVhsv(293, 20%, 16%)
CMYKcmyk(2.4%, 19.5%, 0%, 83.9%)
CIE-LABlab(13.82, 5.21, -4.11)
CIE-LCHlch(13.82, 6.63, 321.73°)
OKLaboklab(25.91% 0.0141 -0.011)
OKLCHoklch(25.91% 0.018 322.1)
XYZxyz(1.8191, 1.6990, 2.3295)
Luminance0.0170 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282129 #222921
analogous
#242129 #282129 #292126
triadic
#282129 #292821 #212928
tetradic
#282129 #292421 #222921 #212629
square
#282129 #292421 #222921 #212629
split-complementary
#282129 #262921 #212924
monochromatic
#110E11 #110E11 #282129 #493C4B #6A586D

Accessibility & contrast

On white

15.67
#282129 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#282129 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282129
15.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282129#FFFFFF#000000##FFFFFF
##2821291.0015.671.3415.67
#FFFFFF15.671.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#202329
Deuteranopia (green-blind)
#222429
Tritanopia (blue-blind)
#282224
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #282129;
/* rgb */ color: rgb(40, 33, 41);
/* oklch */ color: oklch(25.9% 0.018 322.1);
Tailwind
colors: {
  custom: {
    50: '#615c62',
    500: '#282129',
    950: '#000000',
  },
}
SCSS
$custom: #282129;
$custom-light: #615c62;
$custom-dark: #000000;
JSON
{
  "hex": "#282129",
  "rgb": {
    "r": 40,
    "g": 33,
    "b": 41
  },
  "hsl": {
    "h": 292.5,
    "s": 10.811,
    "l": 14.51
  },
  "oklch": {
    "l": 0.25907,
    "c": 0.01789,
    "h": 322.1
  },
  "luminance": 0.01699
}

Semantic roles & 50–950 ramp

primary
#282129
secondary
#4E594D
accent
#B4747C
background
#F5F5F5
surface
#EAE9EA
border
#C6C5C6
text
#050405
muted
#797979

Preview Lab

Preview with #282129

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

Preview Lab → · Contrast checker → · Palette generator →

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