#281046#281046

#281046 is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.4% C 0.096 H 299.6°. Best body text is #FFFFFF at 16.76:1 contrast (WCAG AA passes).

Color values

HEX#281046
RGBrgb(40, 16, 70)
HSLhsl(267, 63%, 17%)
HSVhsv(267, 77%, 27%)
CMYKcmyk(42.9%, 77.1%, 0%, 72.5%)
CIE-LABlab(11.02, 25.28, -29.19)
CIE-LCHlch(11.02, 38.62, 310.89°)
OKLaboklab(24.41% 0.0472 -0.0832)
OKLCHoklch(24.41% 0.096 299.6)
XYZxyz(2.1656, 1.2639, 5.9230)
Luminance0.0126 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281046 #2E4610
analogous
#101346 #281046 #431046
triadic
#281046 #462810 #104628
tetradic
#281046 #461013 #2E4610 #104643
square
#281046 #461013 #2E4610 #104643
split-complementary
#281046 #464310 #134610
monochromatic
#0E0619 #0E0619 #281046 #441B78 #6127AA

Accessibility & contrast

On white

16.76
#281046 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #281046
16.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281046#FFFFFF#000000##FFFFFF
##2810461.0016.761.2516.76
#FFFFFF16.761.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D48
Deuteranopia (green-blind)
#001D45
Tritanopia (blue-blind)
#211D29
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #281046;
/* rgb */ color: rgb(40, 16, 70);
/* oklch */ color: oklch(24.4% 0.096 299.6);
Tailwind
colors: {
  custom: {
    50: '#65507a',
    500: '#281046',
    950: '#000000',
  },
}
SCSS
$custom: #281046;
$custom-light: #65507a;
$custom-dark: #000000;
JSON
{
  "hex": "#281046",
  "rgb": {
    "r": 40,
    "g": 16,
    "b": 70
  },
  "hsl": {
    "h": 266.667,
    "s": 62.791,
    "l": 16.863
  },
  "oklch": {
    "l": 0.24408,
    "c": 0.09571,
    "h": 299.6
  },
  "luminance": 0.01264
}

Semantic roles & 50–950 ramp

primary
#281046
secondary
#5D8032
accent
#E6429D
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060209
muted
#7A787B

Preview Lab

Preview with #281046

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

Preview Lab → · Contrast checker → · Palette generator →

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