#281141#281141

#281141 is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 24.1% C 0.087 H 302.3°. Best body text is #FFFFFF at 16.84:1 contrast (WCAG AA passes).

Color values

HEX#281141
RGBrgb(40, 17, 65)
HSLhsl(269, 59%, 16%)
HSVhsv(269, 74%, 25%)
CMYKcmyk(38.5%, 73.8%, 0%, 74.5%)
CIE-LABlab(10.80, 23.18, -26.03)
CIE-LCHlch(10.80, 34.85, 311.69°)
OKLaboklab(24.12% 0.0467 -0.0739)
OKLCHoklch(24.12% 0.087 302.3)
XYZxyz(2.0294, 1.2337, 5.1312)
Luminance0.0123 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281141 #2A4111
analogous
#111241 #281141 #401141
triadic
#281141 #412811 #114128
tetradic
#281141 #411112 #2A4111 #114140
square
#281141 #411112 #2A4111 #114140
split-complementary
#281141 #414011 #124111
monochromatic
#0F0618 #0F0618 #281141 #461E72 #642AA2

Accessibility & contrast

On white

16.84
#281141 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #281141
16.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281141#FFFFFF#000000##FFFFFF
##2811411.0016.841.2516.84
#FFFFFF16.841.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D42
Deuteranopia (green-blind)
#021D40
Tritanopia (blue-blind)
#231C27
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #281141;
/* rgb */ color: rgb(40, 17, 65);
/* oklch */ color: oklch(24.1% 0.087 302.3);
Tailwind
colors: {
  custom: {
    50: '#645076',
    500: '#281141',
    950: '#000000',
  },
}
SCSS
$custom: #281141;
$custom-light: #645076;
$custom-dark: #000000;
JSON
{
  "hex": "#281141",
  "rgb": {
    "r": 40,
    "g": 17,
    "b": 65
  },
  "hsl": {
    "h": 268.75,
    "s": 58.537,
    "l": 16.078
  },
  "oklch": {
    "l": 0.24116,
    "c": 0.08745,
    "h": 302.3
  },
  "luminance": 0.01234
}

Semantic roles & 50–950 ramp

primary
#281141
secondary
#587B33
accent
#E24697
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060208
muted
#7A787B

Preview Lab

Preview with #281141

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

Preview Lab → · Contrast checker → · Palette generator →

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