#281155#281155

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

Color values

HEX#281155
RGBrgb(40, 17, 85)
HSLhsl(260, 67%, 20%)
HSVhsv(260, 80%, 33%)
CMYKcmyk(52.9%, 80%, 0%, 66.7%)
CIE-LABlab(12.66, 29.32, -36.87)
CIE-LCHlch(12.66, 47.10, 308.49°)
OKLaboklab(26.02% 0.0426 -0.1058)
OKLCHoklch(26.02% 0.114 291.9)
XYZxyz(2.7148, 1.5078, 8.7406)
Luminance0.0151 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281155 #3E5511
analogous
#111C55 #281155 #4A1155
triadic
#281155 #552811 #115528
tetradic
#281155 #55111C #3E5511 #11554A
square
#281155 #55111C #3E5511 #11554A
split-complementary
#281155 #554A11 #1C5511
monochromatic
#0C051A #100722 #281155 #401B88 #5825BB

Accessibility & contrast

On white

16.13
#281155 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #281155
16.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281155#FFFFFF#000000##FFFFFF
##2811551.0016.131.3016.13
#FFFFFF16.131.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #281155;
/* rgb */ color: rgb(40, 17, 85);
/* oklch */ color: oklch(26.0% 0.114 291.9);
Tailwind
colors: {
  custom: {
    50: '#685186',
    500: '#281155',
    950: '#000000',
  },
}
SCSS
$custom: #281155;
$custom-light: #685186;
$custom-dark: #000000;
JSON
{
  "hex": "#281155",
  "rgb": {
    "r": 40,
    "g": 17,
    "b": 85
  },
  "hsl": {
    "h": 260.294,
    "s": 66.667,
    "l": 20
  },
  "oklch": {
    "l": 0.26015,
    "c": 0.11405,
    "h": 291.9
  },
  "luminance": 0.01508
}

Semantic roles & 50–950 ramp

primary
#281155
secondary
#708E34
accent
#EA3EB0
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020B
muted
#7A787C

Preview Lab

Preview with #281155

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

Preview Lab → · Contrast checker → · Palette generator →

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