#281160#281160

#281160 is a dark, vivid violet. Relative luminance 0.017; OKLCH L 27.2% C 0.128 H 287.9°. Best body text is #FFFFFF at 15.68:1 contrast (WCAG AA passes).

Color values

HEX#281160
RGBrgb(40, 17, 96)
HSLhsl(257, 70%, 22%)
HSVhsv(257, 82%, 38%)
CMYKcmyk(58.3%, 82.3%, 0%, 62.4%)
CIE-LABlab(13.81, 32.75, -42.39)
CIE-LCHlch(13.81, 53.56, 307.69°)
OKLaboklab(27.17% 0.0393 -0.122)
OKLCHoklch(27.17% 0.128 287.9)
XYZxyz(3.1862, 1.6964, 11.2236)
Luminance0.0170 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281160 #496011
analogous
#112260 #281160 #501160
triadic
#281160 #602811 #116028
tetradic
#281160 #601122 #496011 #116050
square
#281160 #601122 #496011 #116050
split-complementary
#281160 #605011 #226011
monochromatic
#0B051A #12082C #281160 #3E1A94 #5323C8

Accessibility & contrast

On white

15.68
#281160 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#281160 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281160
15.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281160#FFFFFF#000000##FFFFFF
##2811601.0015.681.3415.68
#FFFFFF15.681.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002562
Deuteranopia (green-blind)
#00215F
Tritanopia (blue-blind)
#102838
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #281160;
/* rgb */ color: rgb(40, 17, 96);
/* oklch */ color: oklch(27.2% 0.128 287.9);
Tailwind
colors: {
  custom: {
    50: '#6a528e',
    500: '#281160',
    950: '#000000',
  },
}
SCSS
$custom: #281160;
$custom-light: #6a528e;
$custom-dark: #000000;
JSON
{
  "hex": "#281160",
  "rgb": {
    "r": 40,
    "g": 17,
    "b": 96
  },
  "hsl": {
    "h": 257.468,
    "s": 69.912,
    "l": 22.157
  },
  "oklch": {
    "l": 0.2717,
    "c": 0.12814,
    "h": 287.9
  },
  "luminance": 0.01697
}

Semantic roles & 50–950 ramp

primary
#281160
secondary
#7B9934
accent
#ED3BB9
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#07020C
muted
#7A787D

Preview Lab

Preview with #281160

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

Preview Lab → · Contrast checker → · Palette generator →

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