#281043#281043

#281043 is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 24.1% C 0.092 H 301.4°. Best body text is #FFFFFF at 16.86:1 contrast (WCAG AA passes).

Color values

HEX#281043
RGBrgb(40, 16, 67)
HSLhsl(268, 61%, 16%)
HSVhsv(268, 76%, 26%)
CMYKcmyk(40.3%, 76.1%, 0%, 73.7%)
CIE-LABlab(10.75, 24.38, -27.52)
CIE-LCHlch(10.75, 36.77, 311.54°)
OKLaboklab(24.14% 0.0477 -0.0783)
OKLCHoklch(24.14% 0.092 301.4)
XYZxyz(2.0732, 1.2269, 5.4367)
Luminance0.0123 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281043 #2B4310
analogous
#101243 #281043 #421043
triadic
#281043 #432810 #104328
tetradic
#281043 #431012 #2B4310 #104342
square
#281043 #431012 #2B4310 #104342
split-complementary
#281043 #434210 #124310
monochromatic
#0F0619 #0F0619 #281043 #451C74 #6328A6

Accessibility & contrast

On white

16.86
#281043 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #281043
16.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281043#FFFFFF#000000##FFFFFF
##2810431.0016.861.2516.86
#FFFFFF16.861.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D45
Deuteranopia (green-blind)
#001D42
Tritanopia (blue-blind)
#221C27
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #281043;
/* rgb */ color: rgb(40, 16, 67);
/* oklch */ color: oklch(24.1% 0.092 301.4);
Tailwind
colors: {
  custom: {
    50: '#655077',
    500: '#281043',
    950: '#000000',
  },
}
SCSS
$custom: #281043;
$custom-light: #655077;
$custom-dark: #000000;
JSON
{
  "hex": "#281043",
  "rgb": {
    "r": 40,
    "g": 16,
    "b": 67
  },
  "hsl": {
    "h": 268.235,
    "s": 61.446,
    "l": 16.275
  },
  "oklch": {
    "l": 0.24135,
    "c": 0.09172,
    "h": 301.4
  },
  "luminance": 0.01227
}

Semantic roles & 50–950 ramp

primary
#281043
secondary
#5A7D32
accent
#E54399
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060209
muted
#7A787B

Preview Lab

Preview with #281043

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

Preview Lab → · Contrast checker → · Palette generator →

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