#282432#282432

#282432 is a dark, muted violet. Relative luminance 0.019; OKLCH L 27.1% C 0.026 H 297.7°. Best body text is #FFFFFF at 15.12:1 contrast (WCAG AA passes).

Color values

HEX#282432
RGBrgb(40, 36, 50)
HSLhsl(257, 16%, 17%)
HSVhsv(257, 28%, 20%)
CMYKcmyk(20%, 28%, 0%, 80.4%)
CIE-LABlab(15.19, 5.47, -8.48)
CIE-LCHlch(15.19, 10.09, 302.82°)
OKLaboklab(27.09% 0.0122 -0.0232)
OKLCHoklch(27.09% 0.026 297.7)
XYZxyz(2.0815, 1.9431, 3.2824)
Luminance0.0194 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282432 #2E3224
analogous
#242732 #282432 #2F2432
triadic
#282432 #322824 #243228
tetradic
#282432 #322427 #2E3224 #24322F
square
#282432 #322427 #2E3224 #24322F
split-complementary
#282432 #322F24 #273224
monochromatic
#0E0D12 #0E0D12 #282432 #443E56 #615779

Accessibility & contrast

On white

15.12
#282432 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#282432 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282432
15.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282432#FFFFFF#000000##FFFFFF
##2824321.0015.121.3915.12
#FFFFFF15.121.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#212633
Deuteranopia (green-blind)
#222632
Tritanopia (blue-blind)
#262629
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #282432;
/* rgb */ color: rgb(40, 36, 50);
/* oklch */ color: oklch(27.1% 0.026 297.7);
Tailwind
colors: {
  custom: {
    50: '#625e69',
    500: '#282432',
    950: '#000000',
  },
}
SCSS
$custom: #282432;
$custom-light: #625e69;
$custom-dark: #000000;
JSON
{
  "hex": "#282432",
  "rgb": {
    "r": 40,
    "g": 36,
    "b": 50
  },
  "hsl": {
    "h": 257.143,
    "s": 16.279,
    "l": 16.863
  },
  "oklch": {
    "l": 0.27093,
    "c": 0.02618,
    "h": 297.7
  },
  "luminance": 0.01943
}

Semantic roles & 50–950 ramp

primary
#282432
secondary
#5D634F
accent
#B96FA4
background
#F5F5F6
surface
#EAE9EB
border
#C6C5C6
text
#050406
muted
#79797A

Preview Lab

Preview with #282432

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

Preview Lab → · Contrast checker → · Palette generator →

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