#281056#281056

#281056 is a dark, moderate violet. Relative luminance 0.015; OKLCH L 26.0% C 0.117 H 291.8°. Best body text is #FFFFFF at 16.17:1 contrast (WCAG AA passes).

Color values

HEX#281056
RGBrgb(40, 16, 86)
HSLhsl(261, 69%, 20%)
HSVhsv(261, 81%, 34%)
CMYKcmyk(53.5%, 81.4%, 0%, 66.3%)
CIE-LABlab(12.57, 30.17, -37.69)
CIE-LCHlch(12.57, 48.28, 308.67°)
OKLaboklab(25.98% 0.0433 -0.1082)
OKLCHoklch(25.98% 0.117 291.8)
XYZxyz(2.7396, 1.4935, 8.9462)
Luminance0.0149 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281056 #3E5610
analogous
#101B56 #281056 #4B1056
triadic
#281056 #562810 #105628
tetradic
#281056 #56101B #3E5610 #10564B
square
#281056 #56101B #3E5610 #10564B
split-complementary
#281056 #564B10 #1B5610
monochromatic
#0C051A #100622 #281056 #401A8A #5823BD

Accessibility & contrast

On white

16.17
#281056 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#281056 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281056
16.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281056#FFFFFF#000000##FFFFFF
##2810561.0016.171.3016.17
#FFFFFF16.171.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002258
Deuteranopia (green-blind)
#001F55
Tritanopia (blue-blind)
#192332
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #281056;
/* rgb */ color: rgb(40, 16, 86);
/* oklch */ color: oklch(26.0% 0.117 291.8);
Tailwind
colors: {
  custom: {
    50: '#685186',
    500: '#281056',
    950: '#000000',
  },
}
SCSS
$custom: #281056;
$custom-light: #685186;
$custom-dark: #000000;
JSON
{
  "hex": "#281056",
  "rgb": {
    "r": 40,
    "g": 16,
    "b": 86
  },
  "hsl": {
    "h": 260.571,
    "s": 68.627,
    "l": 20
  },
  "oklch": {
    "l": 0.25982,
    "c": 0.11654,
    "h": 291.8
  },
  "luminance": 0.01494
}

Semantic roles & 50–950 ramp

primary
#281056
secondary
#708F32
accent
#EB3CAF
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020B
muted
#7A787C

Preview Lab

Preview with #281056

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

Preview Lab → · Contrast checker → · Palette generator →

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