#281832#281832

#281832 is a very dark, muted violet. Relative luminance 0.013; OKLCH L 24.3% C 0.052 H 311.4°. Best body text is #FFFFFF at 16.57:1 contrast (WCAG AA passes).

Color values

HEX#281832
RGBrgb(40, 24, 50)
HSLhsl(277, 35%, 15%)
HSVhsv(277, 52%, 20%)
CMYKcmyk(20%, 52%, 0%, 80.4%)
CIE-LABlab(11.52, 14.11, -14.16)
CIE-LCHlch(11.52, 19.99, 314.90°)
OKLaboklab(24.3% 0.0346 -0.0393)
OKLCHoklch(24.3% 0.052 311.4)
XYZxyz(1.7773, 1.3347, 3.1810)
Luminance0.0134 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281832 #223218
analogous
#1B1832 #281832 #32182F
triadic
#281832 #322818 #183228
tetradic
#281832 #321B18 #223218 #182F32
square
#281832 #321B18 #223218 #182F32
split-complementary
#281832 #2F3218 #18321B
monochromatic
#110A15 #110A15 #281832 #492C5B #6A4085

Accessibility & contrast

On white

16.57
#281832 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#281832 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281832
16.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281832#FFFFFF#000000##FFFFFF
##2818321.0016.571.2716.57
#FFFFFF16.571.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#131E33
Deuteranopia (green-blind)
#171F31
Tritanopia (blue-blind)
#271C22
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #281832;
/* rgb */ color: rgb(40, 24, 50);
/* oklch */ color: oklch(24.3% 0.052 311.4);
Tailwind
colors: {
  custom: {
    50: '#62556a',
    500: '#281832',
    950: '#000000',
  },
}
SCSS
$custom: #281832;
$custom-light: #62556a;
$custom-dark: #000000;
JSON
{
  "hex": "#281832",
  "rgb": {
    "r": 40,
    "g": 24,
    "b": 50
  },
  "hsl": {
    "h": 276.923,
    "s": 35.135,
    "l": 14.51
  },
  "oklch": {
    "l": 0.24295,
    "c": 0.05235,
    "h": 311.4
  },
  "luminance": 0.01335
}

Semantic roles & 50–950 ramp

primary
#281832
secondary
#4E673F
accent
#CB5D87
background
#F5F4F6
surface
#EAE8EB
border
#C6C4C6
text
#050306
muted
#79787A

Preview Lab

Preview with #281832

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

Preview Lab → · Contrast checker → · Palette generator →

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