#281154#281154

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

Color values

HEX#281154
RGBrgb(40, 17, 84)
HSLhsl(261, 66%, 20%)
HSVhsv(261, 80%, 33%)
CMYKcmyk(52.4%, 79.8%, 0%, 67.1%)
CIE-LABlab(12.56, 29.00, -36.35)
CIE-LCHlch(12.56, 46.50, 308.59°)
OKLaboklab(25.91% 0.0429 -0.1043)
OKLCHoklch(25.91% 0.113 292.4)
XYZxyz(2.6753, 1.4920, 8.5328)
Luminance0.0149 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281154 #3D5411
analogous
#111B54 #281154 #4A1154
triadic
#281154 #542811 #115428
tetradic
#281154 #54111B #3D5411 #11544A
square
#281154 #54111B #3D5411 #11544A
split-complementary
#281154 #544A11 #1B5411
monochromatic
#0C0519 #100721 #281154 #401B87 #5826BA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##281154#FFFFFF#000000##FFFFFF
##2811541.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)
#002256
Deuteranopia (green-blind)
#001F53
Tritanopia (blue-blind)
#1A2331
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #281154;
/* rgb */ color: rgb(40, 17, 84);
/* oklch */ color: oklch(25.9% 0.113 292.4);
Tailwind
colors: {
  custom: {
    50: '#675185',
    500: '#281154',
    950: '#000000',
  },
}
SCSS
$custom: #281154;
$custom-light: #675185;
$custom-dark: #000000;
JSON
{
  "hex": "#281154",
  "rgb": {
    "r": 40,
    "g": 17,
    "b": 84
  },
  "hsl": {
    "h": 260.597,
    "s": 66.337,
    "l": 19.804
  },
  "oklch": {
    "l": 0.25913,
    "c": 0.11275,
    "h": 292.4
  },
  "luminance": 0.01492
}

Semantic roles & 50–950 ramp

primary
#281154
secondary
#6E8D34
accent
#E93FAF
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020B
muted
#7A787C

Preview Lab

Preview with #281154

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

Preview Lab → · Contrast checker → · Palette generator →

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