#281148#281148

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

Color values

HEX#281148
RGBrgb(40, 17, 72)
HSLhsl(265, 62%, 17%)
HSVhsv(265, 76%, 28%)
CMYKcmyk(44.4%, 76.4%, 0%, 71.8%)
CIE-LABlab(11.41, 25.29, -29.95)
CIE-LCHlch(11.41, 39.20, 310.18°)
OKLaboklab(24.75% 0.0456 -0.0855)
OKLCHoklch(24.75% 0.097 298.1)
XYZxyz(2.2449, 1.3199, 6.2661)
Luminance0.0132 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281148 #314811
analogous
#111548 #281148 #441148
triadic
#281148 #482811 #114828
tetradic
#281148 #481115 #314811 #114844
square
#281148 #481115 #314811 #114844
split-complementary
#281148 #484411 #154811
monochromatic
#0E0619 #0E0619 #281148 #441D7A #5F28AB

Accessibility & contrast

On white

16.61
#281148 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #281148
16.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281148#FFFFFF#000000##FFFFFF
##2811481.0016.611.2616.61
#FFFFFF16.611.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E4A
Deuteranopia (green-blind)
#001E47
Tritanopia (blue-blind)
#201E2B
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #281148;
/* rgb */ color: rgb(40, 17, 72);
/* oklch */ color: oklch(24.7% 0.097 298.1);
Tailwind
colors: {
  custom: {
    50: '#65517b',
    500: '#281148',
    950: '#000000',
  },
}
SCSS
$custom: #281148;
$custom-light: #65517b;
$custom-dark: #000000;
JSON
{
  "hex": "#281148",
  "rgb": {
    "r": 40,
    "g": 17,
    "b": 72
  },
  "hsl": {
    "h": 265.091,
    "s": 61.798,
    "l": 17.451
  },
  "oklch": {
    "l": 0.24746,
    "c": 0.0969,
    "h": 298.1
  },
  "luminance": 0.0132
}

Semantic roles & 50–950 ramp

primary
#281148
secondary
#618233
accent
#E543A1
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#060209
muted
#7A787B

Preview Lab

Preview with #281148

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

Preview Lab → · Contrast checker → · Palette generator →

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