#281634#281634

#281634 is a very dark, muted violet. Relative luminance 0.013; OKLCH L 24.0% C 0.060 H 310.3°. Best body text is #FFFFFF at 16.74:1 contrast (WCAG AA passes).

Color values

HEX#281634
RGBrgb(40, 22, 52)
HSLhsl(276, 41%, 15%)
HSVhsv(276, 58%, 20%)
CMYKcmyk(23.1%, 57.7%, 0%, 79.6%)
CIE-LABlab(11.08, 16.08, -16.28)
CIE-LCHlch(11.08, 22.88, 314.64°)
OKLaboklab(24.01% 0.0386 -0.0454)
OKLCHoklch(24.01% 0.06 310.3)
XYZxyz(1.7817, 1.2729, 3.4000)
Luminance0.0127 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281634 #223416
analogous
#191634 #281634 #341631
triadic
#281634 #342816 #163428
tetradic
#281634 #341916 #223416 #163134
square
#281634 #341916 #223416 #163134
split-complementary
#281634 #313416 #163419
monochromatic
#110916 #110916 #281634 #49285F #6A3A8A

Accessibility & contrast

On white

16.74
#281634 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#281634 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281634
16.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281634#FFFFFF#000000##FFFFFF
##2816341.0016.741.2516.74
#FFFFFF16.741.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F1D35
Deuteranopia (green-blind)
#141E33
Tritanopia (blue-blind)
#271B22
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #281634;
/* rgb */ color: rgb(40, 22, 52);
/* oklch */ color: oklch(24.0% 0.060 310.3);
Tailwind
colors: {
  custom: {
    50: '#63536b',
    500: '#281634',
    950: '#000000',
  },
}
SCSS
$custom: #281634;
$custom-light: #63536b;
$custom-dark: #000000;
JSON
{
  "hex": "#281634",
  "rgb": {
    "r": 40,
    "g": 22,
    "b": 52
  },
  "hsl": {
    "h": 276,
    "s": 40.541,
    "l": 14.51
  },
  "oklch": {
    "l": 0.24013,
    "c": 0.0596,
    "h": 310.3
  },
  "luminance": 0.01273
}

Semantic roles & 50–950 ramp

primary
#281634
secondary
#4E6A3B
accent
#D05788
background
#F5F4F6
surface
#EAE7EB
border
#C6C3C6
text
#050206
muted
#79787A

Preview Lab

Preview with #281634

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

Preview Lab → · Contrast checker → · Palette generator →

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