#281244#281244

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

Color values

HEX#281244
RGBrgb(40, 18, 68)
HSLhsl(266, 58%, 17%)
HSVhsv(266, 74%, 27%)
CMYKcmyk(41.2%, 73.5%, 0%, 73.3%)
CIE-LABlab(11.28, 23.47, -27.37)
CIE-LCHlch(11.28, 36.05, 310.61°)
OKLaboklab(24.54% 0.045 -0.0779)
OKLCHoklch(24.54% 0.09 300)
XYZxyz(2.1345, 1.3011, 5.6064)
Luminance0.0130 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281244 #2E4412
analogous
#121544 #281244 #411244
triadic
#281244 #442812 #124428
tetradic
#281244 #441215 #2E4412 #124441
square
#281244 #441215 #2E4412 #124441
split-complementary
#281244 #444112 #154412
monochromatic
#0E0618 #0E0618 #281244 #441F74 #612CA5

Accessibility & contrast

On white

16.66
#281244 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #281244
16.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281244#FFFFFF#000000##FFFFFF
##2812441.0016.661.2616.66
#FFFFFF16.661.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E46
Deuteranopia (green-blind)
#001E43
Tritanopia (blue-blind)
#221D29
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #281244;
/* rgb */ color: rgb(40, 18, 68);
/* oklch */ color: oklch(24.5% 0.090 300.0);
Tailwind
colors: {
  custom: {
    50: '#655178',
    500: '#281244',
    950: '#000000',
  },
}
SCSS
$custom: #281244;
$custom-light: #655178;
$custom-dark: #000000;
JSON
{
  "hex": "#281244",
  "rgb": {
    "r": 40,
    "g": 18,
    "b": 68
  },
  "hsl": {
    "h": 266.4,
    "s": 58.14,
    "l": 16.863
  },
  "oklch": {
    "l": 0.24541,
    "c": 0.08993,
    "h": 300
  },
  "luminance": 0.01301
}

Semantic roles & 50–950 ramp

primary
#281244
secondary
#5D7D35
accent
#E1469D
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060209
muted
#7A787B

Preview Lab

Preview with #281244

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

Preview Lab → · Contrast checker → · Palette generator →

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