#281137#281137

#281137 is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.3% C 0.074 H 309.8°. Best body text is #FFFFFF at 17.13:1 contrast (WCAG AA passes).

Color values

HEX#281137
RGBrgb(40, 17, 55)
HSLhsl(276, 53%, 14%)
HSVhsv(276, 69%, 22%)
CMYKcmyk(27.3%, 69.1%, 0%, 78.4%)
CIE-LABlab(10.01, 20.27, -20.15)
CIE-LCHlch(10.01, 28.59, 315.17°)
OKLaboklab(23.29% 0.0472 -0.0567)
OKLCHoklch(23.29% 0.074 309.8)
XYZxyz(1.7650, 1.1279, 3.7384)
Luminance0.0113 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281137 #203711
analogous
#151137 #281137 #371133
triadic
#281137 #372811 #113728
tetradic
#281137 #371511 #203711 #113337
square
#281137 #371511 #203711 #113337
split-complementary
#281137 #333711 #113715
monochromatic
#110717 #110717 #281137 #4A1F66 #6C2E95

Accessibility & contrast

On white

17.13
#281137 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#281137 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281137
17.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281137#FFFFFF#000000##FFFFFF
##2811371.0017.131.2317.13
#FFFFFF17.131.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#041A38
Deuteranopia (green-blind)
#0D1C36
Tritanopia (blue-blind)
#261821
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #281137;
/* rgb */ color: rgb(40, 17, 55);
/* oklch */ color: oklch(23.3% 0.074 309.8);
Tailwind
colors: {
  custom: {
    50: '#63506e',
    500: '#281137',
    950: '#000000',
  },
}
SCSS
$custom: #281137;
$custom-light: #63506e;
$custom-dark: #000000;
JSON
{
  "hex": "#281137",
  "rgb": {
    "r": 40,
    "g": 17,
    "b": 55
  },
  "hsl": {
    "h": 276.316,
    "s": 52.778,
    "l": 14.118
  },
  "oklch": {
    "l": 0.23292,
    "c": 0.07378,
    "h": 309.8
  },
  "luminance": 0.01128
}

Semantic roles & 50–950 ramp

primary
#281137
secondary
#4C7034
accent
#DC4C85
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#050207
muted
#7A787A

Preview Lab

Preview with #281137

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

Preview Lab → · Contrast checker → · Palette generator →

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