#281544#281544

#281544 is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.1% C 0.085 H 298.7°. Best body text is #FFFFFF at 16.39:1 contrast (WCAG AA passes).

Color values

HEX#281544
RGBrgb(40, 21, 68)
HSLhsl(264, 53%, 17%)
HSVhsv(264, 69%, 27%)
CMYKcmyk(41.2%, 69.1%, 0%, 73.3%)
CIE-LABlab(11.99, 21.56, -26.22)
CIE-LCHlch(11.99, 33.95, 309.42°)
OKLaboklab(25.05% 0.0408 -0.0745)
OKLCHoklch(25.05% 0.085 298.7)
XYZxyz(2.1864, 1.4048, 5.6237)
Luminance0.0140 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281544 #314415
analogous
#151A44 #281544 #3F1544
triadic
#281544 #442815 #154428
tetradic
#281544 #44151A #314415 #15443F
square
#281544 #44151A #314415 #15443F
split-complementary
#281544 #443F15 #1A4415
monochromatic
#0E0717 #0E0717 #281544 #442373 #5F32A2

Accessibility & contrast

On white

16.39
#281544 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#281544 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281544
16.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281544#FFFFFF#000000##FFFFFF
##2815441.0016.391.2816.39
#FFFFFF16.391.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F45
Deuteranopia (green-blind)
#041F43
Tritanopia (blue-blind)
#221F2A
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #281544;
/* rgb */ color: rgb(40, 21, 68);
/* oklch */ color: oklch(25.1% 0.085 298.7);
Tailwind
colors: {
  custom: {
    50: '#645378',
    500: '#281544',
    950: '#000000',
  },
}
SCSS
$custom: #281544;
$custom-light: #645378;
$custom-dark: #000000;
JSON
{
  "hex": "#281544",
  "rgb": {
    "r": 40,
    "g": 21,
    "b": 68
  },
  "hsl": {
    "h": 264.255,
    "s": 52.809,
    "l": 17.451
  },
  "oklch": {
    "l": 0.25053,
    "c": 0.08499,
    "h": 298.7
  },
  "luminance": 0.01405
}

Semantic roles & 50–950 ramp

primary
#281544
secondary
#617C39
accent
#DC4CA2
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060209
muted
#7A787B

Preview Lab

Preview with #281544

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

Preview Lab → · Contrast checker → · Palette generator →

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