#281076#281076

#281076 is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.5% C 0.156 H 281.9°. Best body text is #FFFFFF at 14.73:1 contrast (WCAG AA passes).

Color values

HEX#281076
RGBrgb(40, 16, 118)
HSLhsl(254, 76%, 26%)
HSVhsv(254, 86%, 46%)
CMYKcmyk(66.1%, 86.4%, 0%, 53.7%)
CIE-LABlab(16.15, 39.98, -52.93)
CIE-LCHlch(16.15, 66.33, 307.07°)
OKLaboklab(29.54% 0.0322 -0.1527)
OKLCHoklch(29.54% 0.156 281.9)
XYZxyz(4.3294, 2.1294, 17.3189)
Luminance0.0213 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281076 #5E7610
analogous
#102B76 #281076 #5B1076
triadic
#281076 #762810 #107628
tetradic
#281076 #76102B #5E7610 #10765B
square
#281076 #76102B #5E7610 #10765B
split-complementary
#281076 #765B10 #2B7610
monochromatic
#09041B #160940 #281076 #3A17AC #4D20E1

Accessibility & contrast

On white

14.73
#281076 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#281076 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281076
14.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281076#FFFFFF#000000##FFFFFF
##2810761.0014.731.4314.73
#FFFFFF14.731.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B79
Deuteranopia (green-blind)
#002474
Tritanopia (blue-blind)
#003045
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #281076;
/* rgb */ color: rgb(40, 16, 118);
/* oklch */ color: oklch(29.5% 0.156 281.9);
Tailwind
colors: {
  custom: {
    50: '#6e539f',
    500: '#281076',
    950: '#000000',
  },
}
SCSS
$custom: #281076;
$custom-light: #6e539f;
$custom-dark: #000000;
JSON
{
  "hex": "#281076",
  "rgb": {
    "r": 40,
    "g": 16,
    "b": 118
  },
  "hsl": {
    "h": 254.118,
    "s": 76.119,
    "l": 26.275
  },
  "oklch": {
    "l": 0.29541,
    "c": 0.15605,
    "h": 281.9
  },
  "luminance": 0.0213
}

Semantic roles & 50–950 ramp

primary
#281076
secondary
#91AD35
accent
#F335C6
background
#F7F4F9
surface
#EDE8F2
border
#C8C4CC
text
#08030F
muted
#7B787E

Preview Lab

Preview with #281076

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

Preview Lab → · Contrast checker → · Palette generator →

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