#281147#281147

#281147 is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.7% C 0.096 H 298.6°. Best body text is #FFFFFF at 16.65:1 contrast (WCAG AA passes).

Color values

HEX#281147
RGBrgb(40, 17, 71)
HSLhsl(266, 61%, 17%)
HSVhsv(266, 76%, 28%)
CMYKcmyk(43.7%, 76.1%, 0%, 72.2%)
CIE-LABlab(11.32, 24.99, -29.40)
CIE-LCHlch(11.32, 38.59, 310.37°)
OKLaboklab(24.65% 0.0458 -0.0839)
OKLCHoklch(24.65% 0.096 298.6)
XYZxyz(2.2126, 1.3069, 6.0957)
Luminance0.0131 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281147 #304711
analogous
#111547 #281147 #431147
triadic
#281147 #472811 #114728
tetradic
#281147 #471115 #304711 #114743
square
#281147 #471115 #304711 #114743
split-complementary
#281147 #474311 #154711
monochromatic
#0E0619 #0E0619 #281147 #441D78 #6029AA

Accessibility & contrast

On white

16.65
#281147 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #281147
16.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281147#FFFFFF#000000##FFFFFF
##2811471.0016.651.2616.65
#FFFFFF16.651.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E49
Deuteranopia (green-blind)
#001E46
Tritanopia (blue-blind)
#211E2A
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #281147;
/* rgb */ color: rgb(40, 17, 71);
/* oklch */ color: oklch(24.7% 0.096 298.6);
Tailwind
colors: {
  custom: {
    50: '#65517b',
    500: '#281147',
    950: '#000000',
  },
}
SCSS
$custom: #281147;
$custom-light: #65517b;
$custom-dark: #000000;
JSON
{
  "hex": "#281147",
  "rgb": {
    "r": 40,
    "g": 17,
    "b": 71
  },
  "hsl": {
    "h": 265.556,
    "s": 61.364,
    "l": 17.255
  },
  "oklch": {
    "l": 0.24653,
    "c": 0.09556,
    "h": 298.6
  },
  "luminance": 0.01307
}

Semantic roles & 50–950 ramp

primary
#281147
secondary
#608133
accent
#E443A0
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#060209
muted
#7A787B

Preview Lab

Preview with #281147

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

Preview Lab → · Contrast checker → · Palette generator →

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