#281044#281044

#281044 is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 24.2% C 0.093 H 300.8°. Best body text is #FFFFFF at 16.83:1 contrast (WCAG AA passes).

Color values

HEX#281044
RGBrgb(40, 16, 68)
HSLhsl(268, 62%, 16%)
HSVhsv(268, 76%, 27%)
CMYKcmyk(41.2%, 76.5%, 0%, 73.3%)
CIE-LABlab(10.84, 24.68, -28.08)
CIE-LCHlch(10.84, 37.39, 311.31°)
OKLaboklab(24.23% 0.0476 -0.08)
OKLCHoklch(24.23% 0.093 300.8)
XYZxyz(2.1035, 1.2390, 5.5961)
Luminance0.0124 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281044 #2C4410
analogous
#101244 #281044 #421044
triadic
#281044 #442810 #104428
tetradic
#281044 #441012 #2C4410 #104442
square
#281044 #441012 #2C4410 #104442
split-complementary
#281044 #444210 #124410
monochromatic
#0F0619 #0F0619 #281044 #451C76 #6227A7

Accessibility & contrast

On white

16.83
#281044 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#281044 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281044
16.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281044#FFFFFF#000000##FFFFFF
##2810441.0016.831.2516.83
#FFFFFF16.831.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D46
Deuteranopia (green-blind)
#001D43
Tritanopia (blue-blind)
#221C28
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #281044;
/* rgb */ color: rgb(40, 16, 68);
/* oklch */ color: oklch(24.2% 0.093 300.8);
Tailwind
colors: {
  custom: {
    50: '#655078',
    500: '#281044',
    950: '#000000',
  },
}
SCSS
$custom: #281044;
$custom-light: #655078;
$custom-dark: #000000;
JSON
{
  "hex": "#281044",
  "rgb": {
    "r": 40,
    "g": 16,
    "b": 68
  },
  "hsl": {
    "h": 267.692,
    "s": 61.905,
    "l": 16.471
  },
  "oklch": {
    "l": 0.24225,
    "c": 0.09305,
    "h": 300.8
  },
  "luminance": 0.01239
}

Semantic roles & 50–950 ramp

primary
#281044
secondary
#5B7E32
accent
#E5439A
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060209
muted
#7A787B

Preview Lab

Preview with #281044

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

Preview Lab → · Contrast checker → · Palette generator →

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