#281048#281048

#281048 is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.6% C 0.098 H 298.4°. Best body text is #FFFFFF at 16.69:1 contrast (WCAG AA passes).

Color values

HEX#281048
RGBrgb(40, 16, 72)
HSLhsl(266, 64%, 17%)
HSVhsv(266, 78%, 28%)
CMYKcmyk(44.4%, 77.8%, 0%, 71.8%)
CIE-LABlab(11.20, 25.89, -30.30)
CIE-LCHlch(11.20, 39.85, 310.51°)
OKLaboklab(24.6% 0.0468 -0.0865)
OKLCHoklch(24.6% 0.098 298.4)
XYZxyz(2.2298, 1.2895, 6.2611)
Luminance0.0129 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281048 #304810
analogous
#101448 #281048 #441048
triadic
#281048 #482810 #104828
tetradic
#281048 #481014 #304810 #104844
square
#281048 #481014 #304810 #104844
split-complementary
#281048 #484410 #144810
monochromatic
#0E0619 #0E0619 #281048 #441B7A #6026AC

Accessibility & contrast

On white

16.69
#281048 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #281048
16.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281048#FFFFFF#000000##FFFFFF
##2810481.0016.691.2616.69
#FFFFFF16.691.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.691.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #281048;
/* rgb */ color: rgb(40, 16, 72);
/* oklch */ color: oklch(24.6% 0.098 298.4);
Tailwind
colors: {
  custom: {
    50: '#66507b',
    500: '#281048',
    950: '#000000',
  },
}
SCSS
$custom: #281048;
$custom-light: #66507b;
$custom-dark: #000000;
JSON
{
  "hex": "#281048",
  "rgb": {
    "r": 40,
    "g": 16,
    "b": 72
  },
  "hsl": {
    "h": 265.714,
    "s": 63.636,
    "l": 17.255
  },
  "oklch": {
    "l": 0.24595,
    "c": 0.09836,
    "h": 298.4
  },
  "luminance": 0.0129
}

Semantic roles & 50–950 ramp

primary
#281048
secondary
#608232
accent
#E741A0
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#060209
muted
#7A787B

Preview Lab

Preview with #281048

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

Preview Lab → · Contrast checker → · Palette generator →

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