#281146#281146

#281146 is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.6% C 0.094 H 299.2°. Best body text is #FFFFFF at 16.68:1 contrast (WCAG AA passes).

Color values

HEX#281146
RGBrgb(40, 17, 70)
HSLhsl(266, 61%, 17%)
HSVhsv(266, 76%, 27%)
CMYKcmyk(42.9%, 75.7%, 0%, 72.5%)
CIE-LABlab(11.23, 24.68, -28.85)
CIE-LCHlch(11.23, 37.97, 310.56°)
OKLaboklab(24.56% 0.046 -0.0822)
OKLCHoklch(24.56% 0.094 299.2)
XYZxyz(2.1807, 1.2942, 5.9281)
Luminance0.0129 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281146 #2F4611
analogous
#111446 #281146 #431146
triadic
#281146 #462811 #114628
tetradic
#281146 #461114 #2F4611 #114643
square
#281146 #461114 #2F4611 #114643
split-complementary
#281146 #464311 #144611
monochromatic
#0E0619 #0E0619 #281146 #441D77 #6029A8

Accessibility & contrast

On white

16.68
#281146 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #281146
16.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281146#FFFFFF#000000##FFFFFF
##2811461.0016.681.2616.68
#FFFFFF16.681.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.681.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #281146;
/* rgb */ color: rgb(40, 17, 70);
/* oklch */ color: oklch(24.6% 0.094 299.2);
Tailwind
colors: {
  custom: {
    50: '#65517a',
    500: '#281146',
    950: '#000000',
  },
}
SCSS
$custom: #281146;
$custom-light: #65517a;
$custom-dark: #000000;
JSON
{
  "hex": "#281146",
  "rgb": {
    "r": 40,
    "g": 17,
    "b": 70
  },
  "hsl": {
    "h": 266.038,
    "s": 60.92,
    "l": 17.059
  },
  "oklch": {
    "l": 0.24562,
    "c": 0.09421,
    "h": 299.2
  },
  "luminance": 0.01294
}

Semantic roles & 50–950 ramp

primary
#281146
secondary
#5E8033
accent
#E4449E
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060209
muted
#7A787B

Preview Lab

Preview with #281146

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

Preview Lab → · Contrast checker → · Palette generator →

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