#281135#281135

#281135 is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.1% C 0.071 H 311.6°. Best body text is #FFFFFF at 17.19:1 contrast (WCAG AA passes).

Color values

HEX#281135
RGBrgb(40, 17, 53)
HSLhsl(278, 51%, 14%)
HSVhsv(278, 68%, 21%)
CMYKcmyk(24.5%, 67.9%, 0%, 79.2%)
CIE-LABlab(9.87, 19.71, -18.94)
CIE-LCHlch(9.87, 27.34, 316.16°)
OKLaboklab(23.14% 0.0472 -0.0531)
OKLCHoklch(23.14% 0.071 311.6)
XYZxyz(1.7180, 1.1091, 3.4910)
Luminance0.0111 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281135 #1E3511
analogous
#161135 #281135 #351130
triadic
#281135 #352811 #113528
tetradic
#281135 #351611 #1E3511 #113035
square
#281135 #351611 #1E3511 #113035
split-complementary
#281135 #303511 #113516
monochromatic
#110717 #110717 #281135 #4B2063 #6E2F92

Accessibility & contrast

On white

17.19
#281135 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #281135
17.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281135#FFFFFF#000000##FFFFFF
##2811351.0017.191.2217.19
#FFFFFF17.191.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#061A36
Deuteranopia (green-blind)
#0E1C34
Tritanopia (blue-blind)
#271720
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #281135;
/* rgb */ color: rgb(40, 17, 53);
/* oklch */ color: oklch(23.1% 0.071 311.6);
Tailwind
colors: {
  custom: {
    50: '#63506c',
    500: '#281135',
    950: '#000000',
  },
}
SCSS
$custom: #281135;
$custom-light: #63506c;
$custom-dark: #000000;
JSON
{
  "hex": "#281135",
  "rgb": {
    "r": 40,
    "g": 17,
    "b": 53
  },
  "hsl": {
    "h": 278.333,
    "s": 51.429,
    "l": 13.725
  },
  "oklch": {
    "l": 0.23139,
    "c": 0.07105,
    "h": 311.6
  },
  "luminance": 0.01109
}

Semantic roles & 50–950 ramp

primary
#281135
secondary
#496E34
accent
#DB4D80
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#050207
muted
#7A787A

Preview Lab

Preview with #281135

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

Preview Lab → · Contrast checker → · Palette generator →

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