#282436#282436

#282436 is a dark, muted violet. Relative luminance 0.020; OKLCH L 27.3% C 0.033 H 294.3°. Best body text is #FFFFFF at 15.05:1 contrast (WCAG AA passes).

Color values

HEX#282436
RGBrgb(40, 36, 54)
HSLhsl(253, 20%, 18%)
HSVhsv(253, 33%, 21%)
CMYKcmyk(25.9%, 33.3%, 0%, 78.8%)
CIE-LABlab(15.38, 6.63, -11.01)
CIE-LCHlch(15.38, 12.85, 301.05°)
OKLaboklab(27.31% 0.0137 -0.0303)
OKLCHoklch(27.31% 0.033 294.3)
XYZxyz(2.1716, 1.9792, 3.7569)
Luminance0.0198 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282436 #323624
analogous
#242936 #282436 #312436
triadic
#282436 #362824 #243628
tetradic
#282436 #362429 #323624 #243631
square
#282436 #362429 #323624 #243631
split-complementary
#282436 #363124 #293624
monochromatic
#0E0C12 #0E0C12 #282436 #433C5B #5E557F

Accessibility & contrast

On white

15.05
#282436 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#282436 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282436
15.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282436#FFFFFF#000000##FFFFFF
##2824361.0015.051.4015.05
#FFFFFF15.051.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#202737
Deuteranopia (green-blind)
#202636
Tritanopia (blue-blind)
#25272A
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #282436;
/* rgb */ color: rgb(40, 36, 54);
/* oklch */ color: oklch(27.3% 0.033 294.3);
Tailwind
colors: {
  custom: {
    50: '#625e6d',
    500: '#282436',
    950: '#000000',
  },
}
SCSS
$custom: #282436;
$custom-light: #625e6d;
$custom-dark: #000000;
JSON
{
  "hex": "#282436",
  "rgb": {
    "r": 40,
    "g": 36,
    "b": 54
  },
  "hsl": {
    "h": 253.333,
    "s": 20,
    "l": 17.647
  },
  "oklch": {
    "l": 0.27305,
    "c": 0.03329,
    "h": 294.3
  },
  "luminance": 0.01979
}

Semantic roles & 50–950 ramp

primary
#282436
secondary
#62684E
accent
#BD6BAB
background
#F5F5F6
surface
#EAE9EB
border
#C6C5C6
text
#050407
muted
#79797A

Preview Lab

Preview with #282436

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

Preview Lab → · Contrast checker → · Palette generator →

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