#281143#281143

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

Color values

HEX#281143
RGBrgb(40, 17, 67)
HSLhsl(268, 60%, 16%)
HSVhsv(268, 75%, 26%)
CMYKcmyk(40.3%, 74.6%, 0%, 73.7%)
CIE-LABlab(10.97, 23.78, -27.16)
CIE-LCHlch(10.97, 36.10, 311.20°)
OKLaboklab(24.29% 0.0464 -0.0773)
OKLCHoklch(24.29% 0.09 301)
XYZxyz(2.0884, 1.2572, 5.4417)
Luminance0.0126 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281143 #2C4311
analogous
#111343 #281143 #411143
triadic
#281143 #432811 #114328
tetradic
#281143 #431113 #2C4311 #114341
square
#281143 #431113 #2C4311 #114341
split-complementary
#281143 #434111 #134311
monochromatic
#0F0618 #0F0618 #281143 #451D74 #622AA5

Accessibility & contrast

On white

16.78
#281143 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #281143
16.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281143#FFFFFF#000000##FFFFFF
##2811431.0016.781.2516.78
#FFFFFF16.781.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.781.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #281143;
/* rgb */ color: rgb(40, 17, 67);
/* oklch */ color: oklch(24.3% 0.090 301.0);
Tailwind
colors: {
  custom: {
    50: '#655177',
    500: '#281143',
    950: '#000000',
  },
}
SCSS
$custom: #281143;
$custom-light: #655177;
$custom-dark: #000000;
JSON
{
  "hex": "#281143",
  "rgb": {
    "r": 40,
    "g": 17,
    "b": 67
  },
  "hsl": {
    "h": 267.6,
    "s": 59.524,
    "l": 16.471
  },
  "oklch": {
    "l": 0.24292,
    "c": 0.09016,
    "h": 301
  },
  "luminance": 0.01257
}

Semantic roles & 50–950 ramp

primary
#281143
secondary
#5B7D33
accent
#E3459A
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060209
muted
#7A787B

Preview Lab

Preview with #281143

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

Preview Lab → · Contrast checker → · Palette generator →

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