#281C36#281C36

#281C36 is a dark, muted violet. Relative luminance 0.015; OKLCH L 25.4% C 0.050 H 304.3°. Best body text is #FFFFFF at 16.04:1 contrast (WCAG AA passes).

Color values

HEX#281C36
RGBrgb(40, 28, 54)
HSLhsl(268, 32%, 16%)
HSVhsv(268, 48%, 21%)
CMYKcmyk(25.9%, 48.1%, 0%, 78.8%)
CIE-LABlab(12.91, 12.41, -14.85)
CIE-LCHlch(12.91, 19.35, 309.88°)
OKLaboklab(25.42% 0.0282 -0.0413)
OKLCHoklch(25.42% 0.05 304.3)
XYZxyz(1.9560, 1.5480, 3.6851)
Luminance0.0155 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281C36 #2A361C
analogous
#1C1D36 #281C36 #351C36
triadic
#281C36 #36281C #1C3628
tetradic
#281C36 #361C1D #2A361C #1C3635
square
#281C36 #361C1D #2A361C #1C3635
split-complementary
#281C36 #36351C #1D361C
monochromatic
#0F0A14 #0F0A14 #281C36 #46315E #644687

Accessibility & contrast

On white

16.04
#281C36 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#281C36 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281C36
16.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281C36#FFFFFF#000000##FFFFFF
##281C361.0016.041.3116.04
#FFFFFF16.041.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#162137
Deuteranopia (green-blind)
#182135
Tritanopia (blue-blind)
#262026
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #281c36;
/* rgb */ color: rgb(40, 28, 54);
/* oklch */ color: oklch(25.4% 0.050 304.3);
Tailwind
colors: {
  custom: {
    50: '#62586d',
    500: '#281c36',
    950: '#000000',
  },
}
SCSS
$custom: #281c36;
$custom-light: #62586d;
$custom-dark: #000000;
JSON
{
  "hex": "#281c36",
  "rgb": {
    "r": 40,
    "g": 28,
    "b": 54
  },
  "hsl": {
    "h": 267.692,
    "s": 31.707,
    "l": 16.078
  },
  "oklch": {
    "l": 0.25421,
    "c": 0.05003,
    "h": 304.3
  },
  "luminance": 0.01548
}

Semantic roles & 50–950 ramp

primary
#281C36
secondary
#586A44
accent
#C86098
background
#F5F5F6
surface
#EAE9EB
border
#C6C5C6
text
#050307
muted
#79787A

Preview Lab

Preview with #281C36

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

Preview Lab → · Contrast checker → · Palette generator →

#281C36 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva