#28262E#28262E

#28262E is a dark, near-neutral violet. Relative luminance 0.020; OKLCH L 27.4% C 0.015 H 296.8°. Best body text is #FFFFFF at 14.93:1 contrast (WCAG AA passes).

Color values

HEX#28262E
RGBrgb(40, 38, 46)
HSLhsl(255, 10%, 16%)
HSVhsv(255, 17%, 18%)
CMYKcmyk(13%, 17.4%, 0%, 82%)
CIE-LABlab(15.67, 2.93, -4.91)
CIE-LCHlch(15.67, 5.72, 300.85°)
OKLaboklab(27.41% 0.0067 -0.0133)
OKLCHoklch(27.41% 0.015 296.8)
XYZxyz(2.0612, 2.0346, 2.8684)
Luminance0.0204 (WCAG relative)
Temperatureneutral
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28262E #2C2E26
analogous
#26282E #28262E #2C262E
triadic
#28262E #2E2826 #262E28
tetradic
#28262E #2E2628 #2C2E26 #262E2C
square
#28262E #2E2628 #2C2E26 #262E2C
split-complementary
#28262E #2E2C26 #282E26
monochromatic
#0F0E11 #0F0E11 #28262E #454250 #625D71

Accessibility & contrast

On white

14.93
#28262E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#28262E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28262E
14.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28262E#FFFFFF#000000##FFFFFF
##28262E1.0014.931.4114.93
#FFFFFF14.931.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24272E
Deuteranopia (green-blind)
#25272E
Tritanopia (blue-blind)
#272729
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #28262e;
/* rgb */ color: rgb(40, 38, 46);
/* oklch */ color: oklch(27.4% 0.015 296.8);
Tailwind
colors: {
  custom: {
    50: '#616066',
    500: '#28262e',
    950: '#000000',
  },
}
SCSS
$custom: #28262e;
$custom-light: #616066;
$custom-dark: #000000;
JSON
{
  "hex": "#28262e",
  "rgb": {
    "r": 40,
    "g": 38,
    "b": 46
  },
  "hsl": {
    "h": 255,
    "s": 9.524,
    "l": 16.471
  },
  "oklch": {
    "l": 0.2741,
    "c": 0.01486,
    "h": 296.8
  },
  "luminance": 0.02035
}

Semantic roles & 50–950 ramp

primary
#28262E
secondary
#5B5E52
accent
#B375A3
background
#F5F5F6
surface
#E9E9EB
border
#C5C5C6
text
#050406
muted
#79797A

Preview Lab

Preview with #28262E

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

Preview Lab → · Contrast checker → · Palette generator →

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