#281047#281047

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

Color values

HEX#281047
RGBrgb(40, 16, 71)
HSLhsl(266, 63%, 17%)
HSVhsv(266, 77%, 28%)
CMYKcmyk(43.7%, 77.5%, 0%, 72.2%)
CIE-LABlab(11.11, 25.58, -29.75)
CIE-LCHlch(11.11, 39.23, 310.70°)
OKLaboklab(24.5% 0.047 -0.0849)
OKLCHoklch(24.5% 0.097 299)
XYZxyz(2.1974, 1.2766, 6.0907)
Luminance0.0128 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281047 #2F4710
analogous
#101447 #281047 #441047
triadic
#281047 #472810 #104728
tetradic
#281047 #471014 #2F4710 #104744
square
#281047 #471014 #2F4710 #104744
split-complementary
#281047 #474410 #144710
monochromatic
#0E0619 #0E0619 #281047 #441B79 #6027AB

Accessibility & contrast

On white

16.73
#281047 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #281047
16.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281047#FFFFFF#000000##FFFFFF
##2810471.0016.731.2616.73
#FFFFFF16.731.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E49
Deuteranopia (green-blind)
#001D46
Tritanopia (blue-blind)
#211D2A
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #281047;
/* rgb */ color: rgb(40, 16, 71);
/* oklch */ color: oklch(24.5% 0.097 299.0);
Tailwind
colors: {
  custom: {
    50: '#65507b',
    500: '#281047',
    950: '#000000',
  },
}
SCSS
$custom: #281047;
$custom-light: #65507b;
$custom-dark: #000000;
JSON
{
  "hex": "#281047",
  "rgb": {
    "r": 40,
    "g": 16,
    "b": 71
  },
  "hsl": {
    "h": 266.182,
    "s": 63.218,
    "l": 17.059
  },
  "oklch": {
    "l": 0.24501,
    "c": 0.09703,
    "h": 299
  },
  "luminance": 0.01277
}

Semantic roles & 50–950 ramp

primary
#281047
secondary
#5E8132
accent
#E6429E
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#060209
muted
#7A787B

Preview Lab

Preview with #281047

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

Preview Lab → · Contrast checker → · Palette generator →

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