#281836#281836

#281836 is a very dark, muted violet. Relative luminance 0.014; OKLCH L 24.6% C 0.058 H 307.2°. Best body text is #FFFFFF at 16.48:1 contrast (WCAG AA passes).

Color values

HEX#281836
RGBrgb(40, 24, 54)
HSLhsl(272, 38%, 15%)
HSVhsv(272, 56%, 21%)
CMYKcmyk(25.9%, 55.6%, 0%, 78.8%)
CIE-LABlab(11.76, 15.26, -16.66)
CIE-LCHlch(11.76, 22.59, 312.49°)
OKLaboklab(24.56% 0.0354 -0.0465)
OKLCHoklch(24.56% 0.058 307.2)
XYZxyz(1.8674, 1.3707, 3.6555)
Luminance0.0137 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281836 #263618
analogous
#191836 #281836 #361835
triadic
#281836 #362818 #183628
tetradic
#281836 #361918 #263618 #183536
square
#281836 #361918 #263618 #183536
split-complementary
#281836 #353618 #183619
monochromatic
#100915 #100915 #281836 #472B60 #673E8B

Accessibility & contrast

On white

16.48
#281836 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #281836
16.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281836#FFFFFF#000000##FFFFFF
##2818361.0016.481.2716.48
#FFFFFF16.481.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#101E37
Deuteranopia (green-blind)
#151F35
Tritanopia (blue-blind)
#261D24
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #281836;
/* rgb */ color: rgb(40, 24, 54);
/* oklch */ color: oklch(24.6% 0.058 307.2);
Tailwind
colors: {
  custom: {
    50: '#63556d',
    500: '#281836',
    950: '#000000',
  },
}
SCSS
$custom: #281836;
$custom-light: #63556d;
$custom-dark: #000000;
JSON
{
  "hex": "#281836",
  "rgb": {
    "r": 40,
    "g": 24,
    "b": 54
  },
  "hsl": {
    "h": 272,
    "s": 38.462,
    "l": 15.294
  },
  "oklch": {
    "l": 0.24559,
    "c": 0.05844,
    "h": 307.2
  },
  "luminance": 0.01371
}

Semantic roles & 50–950 ramp

primary
#281836
secondary
#536C3E
accent
#CE5990
background
#F5F4F6
surface
#EAE8EB
border
#C6C4C6
text
#050307
muted
#79787A

Preview Lab

Preview with #281836

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

Preview Lab → · Contrast checker → · Palette generator →

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