#281136#281136

#281136 is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.2% C 0.072 H 310.7°. Best body text is #FFFFFF at 17.16:1 contrast (WCAG AA passes).

Color values

HEX#281136
RGBrgb(40, 17, 54)
HSLhsl(277, 52%, 14%)
HSVhsv(277, 69%, 21%)
CMYKcmyk(25.9%, 68.5%, 0%, 78.8%)
CIE-LABlab(9.94, 19.99, -19.55)
CIE-LCHlch(9.94, 27.96, 315.65°)
OKLaboklab(23.22% 0.0472 -0.0549)
OKLCHoklch(23.22% 0.072 310.7)
XYZxyz(1.7413, 1.1184, 3.6135)
Luminance0.0112 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281136 #1F3611
analogous
#161136 #281136 #361132
triadic
#281136 #362811 #113628
tetradic
#281136 #361611 #1F3611 #113236
square
#281136 #361611 #1F3611 #113236
split-complementary
#281136 #323611 #113616
monochromatic
#110717 #110717 #281136 #4A2065 #6D2E93

Accessibility & contrast

On white

17.16
#281136 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#281136 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281136
17.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281136#FFFFFF#000000##FFFFFF
##2811361.0017.161.2217.16
#FFFFFF17.161.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#051A37
Deuteranopia (green-blind)
#0E1C35
Tritanopia (blue-blind)
#261821
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #281136;
/* rgb */ color: rgb(40, 17, 54);
/* oklch */ color: oklch(23.2% 0.072 310.7);
Tailwind
colors: {
  custom: {
    50: '#63506d',
    500: '#281136',
    950: '#000000',
  },
}
SCSS
$custom: #281136;
$custom-light: #63506d;
$custom-dark: #000000;
JSON
{
  "hex": "#281136",
  "rgb": {
    "r": 40,
    "g": 17,
    "b": 54
  },
  "hsl": {
    "h": 277.297,
    "s": 52.113,
    "l": 13.922
  },
  "oklch": {
    "l": 0.23215,
    "c": 0.07241,
    "h": 310.7
  },
  "luminance": 0.01118
}

Semantic roles & 50–950 ramp

primary
#281136
secondary
#4A6F34
accent
#DC4C82
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#050207
muted
#7A787A

Preview Lab

Preview with #281136

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

Preview Lab → · Contrast checker → · Palette generator →

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