#281145#281145

#281145 is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.5% C 0.093 H 299.8°. Best body text is #FFFFFF at 16.71:1 contrast (WCAG AA passes).

Color values

HEX#281145
RGBrgb(40, 17, 69)
HSLhsl(267, 60%, 17%)
HSVhsv(267, 75%, 27%)
CMYKcmyk(42%, 75.4%, 0%, 72.9%)
CIE-LABlab(11.15, 24.38, -28.29)
CIE-LCHlch(11.15, 37.34, 310.76°)
OKLaboklab(24.47% 0.0461 -0.0806)
OKLCHoklch(24.47% 0.093 299.8)
XYZxyz(2.1494, 1.2817, 5.7632)
Luminance0.0128 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281145 #2E4511
analogous
#111445 #281145 #421145
triadic
#281145 #452811 #114528
tetradic
#281145 #451114 #2E4511 #114542
square
#281145 #451114 #2E4511 #114542
split-complementary
#281145 #454211 #144511
monochromatic
#0E0619 #0E0619 #281145 #441D76 #6129A7

Accessibility & contrast

On white

16.71
#281145 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#281145 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281145
16.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281145#FFFFFF#000000##FFFFFF
##2811451.0016.711.2616.71
#FFFFFF16.711.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E47
Deuteranopia (green-blind)
#001D44
Tritanopia (blue-blind)
#211D29
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #281145;
/* rgb */ color: rgb(40, 17, 69);
/* oklch */ color: oklch(24.5% 0.093 299.8);
Tailwind
colors: {
  custom: {
    50: '#655179',
    500: '#281145',
    950: '#000000',
  },
}
SCSS
$custom: #281145;
$custom-light: #655179;
$custom-dark: #000000;
JSON
{
  "hex": "#281145",
  "rgb": {
    "r": 40,
    "g": 17,
    "b": 69
  },
  "hsl": {
    "h": 266.538,
    "s": 60.465,
    "l": 16.863
  },
  "oklch": {
    "l": 0.24471,
    "c": 0.09286,
    "h": 299.8
  },
  "luminance": 0.01282
}

Semantic roles & 50–950 ramp

primary
#281145
secondary
#5D7F33
accent
#E4449D
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060209
muted
#7A787B

Preview Lab

Preview with #281145

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

Preview Lab → · Contrast checker → · Palette generator →

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