#28144C#28144C

#28144C is a dark, moderate violet. Relative luminance 0.015; OKLCH L 25.6% C 0.098 H 294.9°. Best body text is #FFFFFF at 16.22:1 contrast (WCAG AA passes).

Color values

HEX#28144C
RGBrgb(40, 20, 76)
HSLhsl(261, 58%, 19%)
HSVhsv(261, 74%, 30%)
CMYKcmyk(47.4%, 73.7%, 0%, 70.2%)
CIE-LABlab(12.44, 24.71, -31.06)
CIE-LCHlch(12.44, 39.69, 308.50°)
OKLaboklab(25.59% 0.0413 -0.0888)
OKLCHoklch(25.59% 0.098 294.9)
XYZxyz(2.4294, 1.4732, 6.9924)
Luminance0.0147 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28144C #384C14
analogous
#141C4C #28144C #44144C
triadic
#28144C #4C2814 #144C28
tetradic
#28144C #4C141C #384C14 #144C44
square
#28144C #4C141C #384C14 #144C44
split-complementary
#28144C #4C4414 #1C4C14
monochromatic
#0D0618 #0F071C #28144C #42217C #5B2EAD

Accessibility & contrast

On white

16.22
#28144C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #28144C
16.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28144C#FFFFFF#000000##FFFFFF
##28144C1.0016.221.2916.22
#FFFFFF16.221.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00214E
Deuteranopia (green-blind)
#00204B
Tritanopia (blue-blind)
#1E212E
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #28144c;
/* rgb */ color: rgb(40, 20, 76);
/* oklch */ color: oklch(25.6% 0.098 294.9);
Tailwind
colors: {
  custom: {
    50: '#66537f',
    500: '#28144c',
    950: '#000000',
  },
}
SCSS
$custom: #28144c;
$custom-light: #66537f;
$custom-dark: #000000;
JSON
{
  "hex": "#28144c",
  "rgb": {
    "r": 40,
    "g": 20,
    "b": 76
  },
  "hsl": {
    "h": 261.429,
    "s": 58.333,
    "l": 18.824
  },
  "oklch": {
    "l": 0.25592,
    "c": 0.09789,
    "h": 294.9
  },
  "luminance": 0.01473
}

Semantic roles & 50–950 ramp

primary
#28144C
secondary
#698438
accent
#E246AA
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#06020A
muted
#7A787C

Preview Lab

Preview with #28144C

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

Preview Lab → · Contrast checker → · Palette generator →

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