#28242E#28242E

#28242E is a dark, near-neutral violet. Relative luminance 0.019; OKLCH L 26.9% C 0.019 H 303.3°. Best body text is #FFFFFF at 15.20:1 contrast (WCAG AA passes).

Color values

HEX#28242E
RGBrgb(40, 36, 46)
HSLhsl(264, 12%, 16%)
HSVhsv(264, 22%, 18%)
CMYKcmyk(13%, 21.7%, 0%, 82%)
CIE-LABlab(15.01, 4.36, -5.90)
CIE-LCHlch(15.01, 7.34, 306.44°)
OKLaboklab(26.9% 0.0105 -0.016)
OKLCHoklch(26.9% 0.019 303.3)
XYZxyz(1.9990, 1.9101, 2.8476)
Luminance0.0191 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28242E #2A2E24
analogous
#24252E #28242E #2D242E
triadic
#28242E #2E2824 #242E28
tetradic
#28242E #2E2425 #2A2E24 #242E2D
square
#28242E #2E2425 #2A2E24 #242E2D
split-complementary
#28242E #2E2D24 #252E24
monochromatic
#0F0D11 #0F0D11 #28242E #463F50 #645A73

Accessibility & contrast

On white

15.20
#28242E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#28242E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28242E
15.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28242E#FFFFFF#000000##FFFFFF
##28242E1.0015.201.3815.20
#FFFFFF15.201.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22262E
Deuteranopia (green-blind)
#23262E
Tritanopia (blue-blind)
#272527
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #28242e;
/* rgb */ color: rgb(40, 36, 46);
/* oklch */ color: oklch(26.9% 0.019 303.3);
Tailwind
colors: {
  custom: {
    50: '#615e66',
    500: '#28242e',
    950: '#000000',
  },
}
SCSS
$custom: #28242e;
$custom-light: #615e66;
$custom-dark: #000000;
JSON
{
  "hex": "#28242e",
  "rgb": {
    "r": 40,
    "g": 36,
    "b": 46
  },
  "hsl": {
    "h": 264,
    "s": 12.195,
    "l": 16.078
  },
  "oklch": {
    "l": 0.26897,
    "c": 0.01913,
    "h": 303.3
  },
  "luminance": 0.0191
}

Semantic roles & 50–950 ramp

primary
#28242E
secondary
#585E4F
accent
#B5739B
background
#F5F5F6
surface
#EAE9EB
border
#C6C5C6
text
#050406
muted
#79797A

Preview Lab

Preview with #28242E

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

Preview Lab → · Contrast checker → · Palette generator →

#28242E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva