#28144A#28144A

#28144A is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.4% C 0.095 H 295.9°. Best body text is #FFFFFF at 16.29:1 contrast (WCAG AA passes).

Color values

HEX#28144A
RGBrgb(40, 20, 74)
HSLhsl(262, 57%, 18%)
HSVhsv(262, 73%, 29%)
CMYKcmyk(45.9%, 73%, 0%, 71%)
CIE-LABlab(12.26, 24.08, -29.97)
CIE-LCHlch(12.26, 38.44, 308.78°)
OKLaboklab(25.41% 0.0416 -0.0855)
OKLCHoklch(25.41% 0.095 295.9)
XYZxyz(2.3609, 1.4458, 6.6319)
Luminance0.0145 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28144A #364A14
analogous
#141B4A #28144A #43144A
triadic
#28144A #4A2814 #144A28
tetradic
#28144A #4A141B #364A14 #144A43
square
#28144A #4A141B #364A14 #144A43
split-complementary
#28144A #4A4314 #1B4A14
monochromatic
#0D0718 #0E071A #28144A #42217A #5C2EAA

Accessibility & contrast

On white

16.29
#28144A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#28144A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28144A
16.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28144A#FFFFFF#000000##FFFFFF
##28144A1.0016.291.2916.29
#FFFFFF16.291.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00204C
Deuteranopia (green-blind)
#001F49
Tritanopia (blue-blind)
#1F212D
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #28144a;
/* rgb */ color: rgb(40, 20, 74);
/* oklch */ color: oklch(25.4% 0.095 295.9);
Tailwind
colors: {
  custom: {
    50: '#65537d',
    500: '#28144a',
    950: '#000000',
  },
}
SCSS
$custom: #28144a;
$custom-light: #65537d;
$custom-dark: #000000;
JSON
{
  "hex": "#28144a",
  "rgb": {
    "r": 40,
    "g": 20,
    "b": 74
  },
  "hsl": {
    "h": 262.222,
    "s": 57.447,
    "l": 18.431
  },
  "oklch": {
    "l": 0.25408,
    "c": 0.0951,
    "h": 295.9
  },
  "luminance": 0.01446
}

Semantic roles & 50–950 ramp

primary
#28144A
secondary
#678238
accent
#E147A8
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#06020A
muted
#7A787C

Preview Lab

Preview with #28144A

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

Preview Lab → · Contrast checker → · Palette generator →

#28144A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva