#281041#281041

#281041 is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 24.0% C 0.089 H 302.6°. Best body text is #FFFFFF at 16.93:1 contrast (WCAG AA passes).

Color values

HEX#281041
RGBrgb(40, 16, 65)
HSLhsl(269, 60%, 16%)
HSVhsv(269, 75%, 25%)
CMYKcmyk(38.5%, 75.4%, 0%, 74.5%)
CIE-LABlab(10.58, 23.79, -26.39)
CIE-LCHlch(10.58, 35.53, 312.04°)
OKLaboklab(23.96% 0.048 -0.075)
OKLCHoklch(23.96% 0.089 302.6)
XYZxyz(2.0143, 1.2033, 5.1262)
Luminance0.0120 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281041 #294110
analogous
#101041 #281041 #401041
triadic
#281041 #412810 #104128
tetradic
#281041 #411010 #294110 #104140
square
#281041 #411010 #294110 #104140
split-complementary
#281041 #414010 #104110
monochromatic
#0F0619 #0F0619 #281041 #461C72 #6428A3

Accessibility & contrast

On white

16.93
#281041 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#281041 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281041
16.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281041#FFFFFF#000000##FFFFFF
##2810411.0016.931.2416.93
#FFFFFF16.931.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C42
Deuteranopia (green-blind)
#011C40
Tritanopia (blue-blind)
#231B26
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #281041;
/* rgb */ color: rgb(40, 16, 65);
/* oklch */ color: oklch(24.0% 0.089 302.6);
Tailwind
colors: {
  custom: {
    50: '#655076',
    500: '#281041',
    950: '#000000',
  },
}
SCSS
$custom: #281041;
$custom-light: #655076;
$custom-dark: #000000;
JSON
{
  "hex": "#281041",
  "rgb": {
    "r": 40,
    "g": 16,
    "b": 65
  },
  "hsl": {
    "h": 269.388,
    "s": 60.494,
    "l": 15.882
  },
  "oklch": {
    "l": 0.23956,
    "c": 0.08905,
    "h": 302.6
  },
  "luminance": 0.01203
}

Semantic roles & 50–950 ramp

primary
#281041
secondary
#577B32
accent
#E44496
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060208
muted
#7A787B

Preview Lab

Preview with #281041

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

Preview Lab → · Contrast checker → · Palette generator →

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